For learning purpose, I have created a new simple project that user can registry a new account and then receive prize if 2 conditions are satisfied:
- The number of new users in this turn is enough: 3 users per turn.
- The Smart contract will execute random function to generate the index of winner.
Preview the example live on Heroku
- Develop Smart contract on Remix IDE then deploy into Ropsten test net
- Web3 js and MetaMask wallet
- Infura
- Next js with custom server
- Mongodb cloud connected by mongoose
- UI by AntDesign
- Deployed on Heroku