DEV Community

Cover image for Challenge #1: 🥩 Decentralized Staking App
Kevin
Kevin

Posted on

Challenge #1: 🥩 Decentralized Staking App

Tasks to be done

🦸 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.

My Review

This challenge was fun, I got to work with interacting with external contracts, creating and emitting events, setting contructor, creating and using modifiers, setting up a time relative system, payable functions and the special function receive. This challenge felt more like a CP (competitive programming) problem statement where a story / situation is explained and we need to write the code for the situation. This challenge is great for beginners since it teaches you about things like event, modifiers and much more which is at the core of solidity 🎯

Important links

Top comments (0)