Frontend Exercise:
YOU ARE ALL EXPECTED TO FORK
https://github.com/AjayiMike/web3-frontend
SO AS TO HAVE IT IN YOUR GITHUB ACCOUNT, CLONE THE FORKED REPO AND COMPLETE THE FOLLOWING TASKS:
- [x] Like we Implemented staking, Do the same for withdrawal using the withdrawal form that is already created
- [x] The "My Stake" card in the UI is not showing the connected user's stake yet, On a successful connection,
- [x] alongside getting the user's token and Matic balance, get the user's stake and
- [x] update the state necessary for updating the "Total Staked" card, and
- [x] using the logic for calculating the reward in contract, apply the same to calculate and display user reward on the "Total Reward" card
- [x] Add another form to the app, (you can put it anywhere) This form should be similar to the staking form, it should allow a user to input an address,
- [x] and when the form button is clicked it should get the stake of the input address. and display it.
- [x] NOTE: user should be able to use this form to get the stake details of any address
- [x] regardless of whether or not they are connected
- [ ] they are on the right network
- [x] HOST THE APP AND SEND BOTH YOUR REPOSITORY LINK AND LIVE LINK HERE BEFORE 12 PM ON SUNDAY 27TH MARCH
Smart Contract
- [ ] Merkle Airdrop that uses the Merkle-root algorithm for token distribution
- [ ] contract address on the readme file
- [ ] Swap token contract that uses Chainlink data feeds
- [ ] Bored Ape staking contract