Skip to content

An ethereum dApp for staking ETH built using dapptools and scaffold.eth

License

Notifications You must be signed in to change notification settings

willwooten/staking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏗 scaffold-eth | 🏰 BuidlGuidl

🚩 Challenge 1: Decentralized Staking App

🏦 Build a Staker.sol contract that collects ETH from numerous addresses using a payable stake() function and keeps track of balances. After some deadline if it has at least some threshold of ETH, it sends it to an ExampleExternalContract and triggers the complete() action sending the full balance. If not enough ETH is collected, allow users to withdraw().

🎛 Building the frontend to display the information and UI is just as important as writing the contract. The goal is to deploy the contract and the app to allow anyone to stake using your app. Use a Stake(address,uint256) event to all stakes.

🏆 The final deliverable is deploying a decentralized application to a public blockchain and then yarn build and yarn surge your app to a public webserver. Share the url in the Challenge 1 telegram channel to earn a collectible and cred! Part of the challenge is making the UI/UX enjoyable and clean! 🤩


💬 Problems, questions, comments on the stack? Post them to the 🏗 scaffold-eth developers chat

About

An ethereum dApp for staking ETH built using dapptools and scaffold.eth

Resources

License

Stars

Watchers

Forks