SpeedRunEthereum (4) 썸네일형 리스트형 [SpeedRunEthereum] Challenge 3 [Dex] 챌린지 3부터는 프로필에 Builder라는 태그가 부착되고 개발자들 풀에 참여해 팀원을 찾거나 서로 정보를 공유하는 커뮤니티에 접근할 수 있게 됩니다. Checkpoint 0: install 템플릿 프로젝트 파일을 설치해 주겠습니다. git clone https://github.com/squirtleDevs/scaffold-eth.git challenge-3-single-pool-dex cd scaffold-eth git checkout challenge-3-single-pool-dex yarn install Checkpoint 1: Environment 리액트, 하드햇 로컬 체인, 배포를 진행해줍니다. yarn start yarn chain yarn deploy Checkpoint 2: Reserves.. [SpeedRunEthereum] Challenge 2 [Token Vendor] Checkpoint 1: Environment 터미널 3개를 실행 후 하나씩 실행합니다. yarn chain //로컬 네트워크 yarn start //리액트 yarn deploy //스마트 컨트랙트 배포 Checkpoint 2: Your Token YourToken.sol의 생성자로 초기 물량을 발행합니다. contract YourToken is ERC20 { constructor() ERC20("EBTT", "EBT") { _mint(msg.sender , 1000 * 10 ** 18); } } Checkpoint 3: Vendor Vendor.sol 에서 다음 코드를 추가합니다. uint256 public constant tokensPerEth = 100; // 이더당 토큰 개수 event BuytT.. [SpeedRunEthereum] Challenge 1[Decentralized Staking App] challenge 1은 스테이킹 앱을 만들어보는 것입니다. Checkpoint 1: Environment challenge 0처럼 템플릿 프로젝트를 받고 로컬 네트워크, 리액트, 디플로이를 해줍니다. git clone https://github.com/scaffold-eth/scaffold-eth-challenges.git challenge-1-decentralized-staking cd challenge-1-decentralized-staking git checkout challenge-1-decentralized-staking yarn install //terminal 1 yarn chain //terminal 2 yarn start //terminal 3 yarn deploy Checkpoint 2.. [SpeedRunEthereum] Challenge 0[Simple NFT Example] Scaffold-eth를 활용한 예제 챌린지를 해보겠습니다. Checkpoint_0: 설치 필수 설치 Git Node (v16 이하 버전) Yarn git clone https://github.com/scaffold-eth/scaffold-eth-challenges.git challenge-0-simple-nft cd challenge-0-simple-nft git checkout challenge-0-simple-nft yarn install 총 3개의 터미널을 열어 각 명령어를 실행합니다. Hardhat LocalNetwork 실행 yarn chain React 실행 yarn start Contract deploy yarn deploy // 재 배포시 yarn deploy --reset http://.. 이전 1 다음