Challenge 0: Simple NFT Example
Etherscan API key - To verify the contract
Infura - To access the Goerli network
cd challenge-0-simple-nft
git checkout challenge-0-simple-nft
yarn install
yarn chain
cd challenge-0-simple-nft
yarn deploy
cd challenge-0-simple-nft
yarn start
Deploy in Goerli network by updating the hardhat.config.js file.
Change the targetNetwork to NETWORKS.goerli in Reactjs project.
Generate a deployer address with yarn generate
yarn verify --network your_network
Run the tests : yarn test
Build frontend : yarn build
Upload the app to surge : yarn surge
openssl-legacy-provider error
Solution : Check for node version and get the latest stable node version.
nvm install 18
nvm use 18
Surge deployed link not working
Was unable to access the surge link after the initial deployment. Had to retry multiple times and switch between networks. It worked after 5 mins.
Deployed "YourCollectible" (tx: 0xb18c3f91c84e8f306dcf62ca01fd05393fdf292f0a9893b659084e55e036a1a2) : deployed at 0x314B161bDDEA7eBab756B73115fF984731347c0e
Explorer link :
https://goerli.etherscan.io/tx/0xb18c3f91c84e8f306dcf62ca01fd05393fdf292f0a9893b659084e55e036a1a2
Success! - Published to https://full-play.surge.sh
Challenge 1 : Decentralized Staking App
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
yarn chain
yarn deploy
yarn start
Update the contract Staker based on the Hints given in the challenge.
Test cases were failing. Had to redeploy the contract with modifier to pass the test cases.
Goerli network was down and had to extend the deployment and testing in Goerli network later.
"ExampleExternalContract" at 0x51da68fA050a46E6B05EdCC8c67F759FA3F2908d
deploying "Staker" (tx: 0x9678c4d90d1518b0aaa5394143b763ad4ae6bc10fbfcea7c3738f1950bbf3186) deployed at 0x78E72aa7EdC4d11bDf233A571674e7A328Ee57Db
https://goerli.etherscan.io/address/0x78E72aa7EdC4d11bDf233A571674e7A328Ee57Db
Success! - Published to tawdry-snake.surge.sh
Share Dialog
Subscribe to lizgeorge
<100 subscribers