프로젝트
GitHub에서 보기
RareSkills/Solidity-Exercises
소개
Solidity 학습을 위한 연습 문제입니다. RareSkills Learn Solidity 자료와 함께 제공됩니다.
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
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
관련 프로젝트 살펴보기
불러오는 중…