Inspiration

complete decentralization is the aim in web3, and while we have completely decentralized smart contracts acting as a backend, the front end systems of most dapps are closed/centralizeed, BOS offers an open and trustworthy front end system that lives on chain!

What it does

This project allows you to interact with gains Network and earn dividends, you can stake some GNS to their staking pool, this will qualify you to start earning DAI rewards from user activities in the market, You can stake, see your stakes, balance, rewards and total rewards distributed by Gains network, you can also withdraw your rewards and unstake your tokens, all on this widget

How we built it

we built this project using the fantastic and Bos decentralized front end system, they have a fantastic documentation that helped to get me started, and also tutorials that were quite helpful!

Challenges we ran into

making use of ethers js library extensively, for example was unable to fetch blockchain data except user is connected, because I'm unable to inject external providers.

Accomplishments that we're proud of

I was able to implement all the major features on the gains staking pool.... Way to go!!! Also made interactions smooth so users see changes as they're made, i.e token balance change as soon as they stake. and also give user feedbacks on transaction status and explorer links.

What we learned

learnt a lot, added more CSS skills, lol, also got to play around a lot with ethers js.

What's next for Gains Network Widget

we'll see where we go from here, hopefully my implementation shows a glimpse of what is possible with decentralized front end.

Built With

Share this project:

Updates