Projekte
Auf GitHub ansehen
RareSkills/Solidity-Exercises
Über uns
Übungen zum Erlernen von Solidity. Sie ergänzen die Lernressource RareSkills Learn Solidity.
Lernen und BildungGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalSolidity Exercises
This is a set of exercises accompanies the RareSkills learn solidity tutorial so you can learn Solidity by doing bite-sized exercises. It's intended for experienced programmers who want to get the the point quickly and immediately practice what they learn.
Installation
Install foundry
curl -L https://foundry.paradigm.xyz | bash
Clone this repository
git clone https://github.com/rareSkills/solidity-exercises.git
Complete the exercises in order and test with
cd <Problem Name>
forge test -vvv
for example, in the Add/ directory, open src/Add.sol and change the code so it compiles. The solution is
function add(uint256 a, uint256 b) public pure returns (uint256) {
return a + b;
}
Save your changes, then, in the same directory, test it with
forge test -vvv
Test all
bash test.sh
Ähnliche Projekte entdecken
Wird geladen…