โ””โ”€โ”€ README.md /README.md: -------------------------------------------------------------------------------- 1 | # ๐Ÿ—๐Ÿ‘ท๐Ÿพ Scaffold-ETH Challenges 2 | 3 | > learn how to use ๐Ÿ— scaffold-eth to create decentralized applications on Ethereum. ๐Ÿš€ 4 | 5 | --- 6 | 7 | ## ๐Ÿšฉ Challenge 0: ๐ŸŽŸ Simple NFT Example ๐Ÿค“ 8 | 9 | ๐ŸŽซ Create a simple NFT to learn basics of ๐Ÿ— scaffold-eth. You'll use ๐Ÿ‘ทโ€โ™€๏ธ HardHat to compile and deploy smart contracts. Then, you'll use a template React app full of important Ethereum components and hooks. Finally, you'll deploy an NFT to a public network to share with friends! ๐Ÿš€ 10 | 11 | https://github.com/scaffold-eth/scaffold-eth-typescript-challenges/tree/challenge-0-simple-nft 12 | 13 | --- 14 | 15 | ## ๐Ÿšฉ Challenge 1: ๐Ÿฅฉ Decentralized Staking App 16 | 17 | ๐Ÿฆธ A superpower of Ethereum is allowing you, the builder, to create a simple set of rules that an adversarial group of players can use to work together. In this challenge, you create a decentralized application where users can coordinate a group funding effort. If the users cooperate, the money is collected in a second smart contract. If they defect, the worst that can happen is everyone gets their money back. The users only have to trust the code. 18 | 19 | https://github.com/scaffold-eth/scaffold-eth-typescript-challenges/tree/challenge-1-decentralized-staking 20 | 21 | --- 22 | 23 | ## ๐Ÿšฉ Challenge 2: ๐Ÿต Token Vendor ๐Ÿค– 24 | 25 | ๐Ÿค– Smart contracts are kind of like "always on" vending machines that anyone can access. Let's make a decentralized, digital currency. Then, let's build an unstoppable vending machine that will buy and sell the currency. We'll learn about the "approve" pattern for ERC20s and how contract to contract interactions work. 26 | 27 | https://github.com/scaffold-eth/scaffold-eth-typescript-challenges/tree/challenge-2-token-vendor 28 | 29 | --- 30 | 31 | ## ๐Ÿšฉ Challenge 3: ๐ŸŽฒ Dice Game 32 | 33 | ๐ŸŽฐ Randomness is tricky on a public deterministic blockchain. In this challenge you will explore creating random numbers using block hash and how that may be exploitable. Attack the dice game with your own contract by predicting the randomness ahead of time to always roll a winner! 34 | 35 | https://github.com/scaffold-eth/scaffold-eth-typescript-challenges/tree/challenge-3-dice-game 36 | 37 | --- 38 | 39 | ## ๐ŸŽ‰ Checkpoint: Eligible to join ๐Ÿฐ๏ธ BuidlGuidl 40 | 41 | The BuidlGuidl is a curated group of Ethereum builders creating products, prototypes, and tutorials to enrich the web3 ecosystem. A place to show off your builds and meet other builders. Start crafting your Web3 portfolio by submitting your DEX, Multisig or SVG NFT build. 42 | 43 | https://buidlguidl.com/ 44 | 45 | --- 46 | 47 | ## โš–๏ธ Build a DEX Challenge 48 | 49 | ๐Ÿ’ต Build an exchange that swaps ETH to tokens and tokens to ETH. ๐Ÿ’ฐ This is possible because the smart contract holds reserves of both assets and has a price function based on the ratio of the reserves. Liquidity providers are issued a token that represents their share of the reserves and fees... 50 | 51 | DEX Telegram Channel: https://t.me/+_NeUIJ664Tc1MzIx 52 | 53 | https://github.com/scaffold-eth/scaffold-eth-typescript-challenges/tree/challenge-4-dex 54 | 55 | --- 56 | 57 | ## ๐Ÿ‘› Multisig Wallet Challenge 58 | 59 | ๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ง Using a smart contract as a wallet we can secure assets by requiring multiple accounts to "vote" on transactions. The contract will keep track of transactions in an array of structs and owners will confirm or reject each one. Any transaction with enough confirmations can "execute". 60 | 61 | Multisig Telegram Channel: https://t.me/+mkNNF_yHsK8yMTcx 62 | 63 | https://github.com/scaffold-eth/scaffold-eth-typescript-challenges/tree/challenge-5-multisig 64 | 65 | --- 66 | 67 | ### ๐Ÿ’ฌ Support Chat 68 | 69 | Join the telegram [support chat ๐Ÿ’ฌ](https://t.me/joinchat/KByvmRe5wkR-8F_zz6AjpA) to ask questions and find others building with ๐Ÿ— scaffold-eth! 70 | 71 | --- 72 | 73 | ๐Ÿ™ Please check out our [Gitcoin grant](https://gitcoin.co/grants/2851/scaffold-eth) too! 74 | --------------------------------------------------------------------------------