Grow Open Source Bounties Hackathons Grants Codefund Quests Kudos
Back to Grants

Staking Library





0 contributors

Your contribution goes a long way!

1 DAI contribution

+ 0 DAI match

10 DAI contribution

+ 0 DAI match

100 DAI contribution

+ 0 DAI match

1,000 DAI contribution

+ 0 DAI match

Next update : 1 month, 3 weeks ago | Last updated : 1 month, 3 weeks ago




{"ops":[{"insert":"\n"},{"attributes":{"bold":true},"insert":"Why This Grant"},{"attributes":{"header":2},"insert":"\n"},{"insert":"\nStaking is becoming an important part of the DeFi ecosystem, as a solidity security auditor I came across many projects suffering to implement reliable staking algorithms that suite their needs for an optimized platform, they mainly face a trade-off between complexity and gas consumption.\n\nIn this purpose, the creation of a widely used library that can benefit the Ethereum ecosystem is a necessity. Numerous existing and under development projects will be able to rely on to build their platform.\n\n"},{"attributes":{"bold":true},"insert":"The Problem"},{"attributes":{"header":2},"insert":"\n"},{"insert":"\nIn most developed staking contract, user actions have to be saved to compute a staking score or reward, such contract requires high gas usage while making the developers restrict their own Dapps to avoid reaching gas block limits or more commonly an out of gas.\n\n"},{"attributes":{"bold":true},"insert":"The Goal"},{"attributes":{"header":2},"insert":"\n"},{"insert":"\nThis grant aims to solve this problem through the implementation a Dynamic Staking Algorithm, this proposal minimizes gas consumption without imposing any restriction to user actions. Please refer to the following document link for a full algorithm description:\n "},{"attributes":{"underline":true,"bold":true,"link":"https://github.com/RideSolo/staking-library/blob/master/doc/dsa.pdf"},"insert":"Dynamic Staking Algorithm"},{"attributes":{"header":3},"insert":"\n"},{"insert":"\nHowever, more research in coordination with different projects is needed to develop a broader library and possibly propose a new ethereum improvement proposal (EIP) like "},{"attributes":{"link":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-900.md"},"insert":"EIP-900"},{"insert":" . \n\nSome DSA use cases can be found below: \n\n"},{"attributes":{"bold":true},"insert":"Future PoS pool design, where stakers will be able to make multiple deposits without any restriction."},{"attributes":{"list":"bullet"},"insert":"\n"},{"attributes":{"bold":true},"insert":"A lending platform that distributes dividends to its liquidity providers."},{"attributes":{"list":"bullet"},"insert":"\n"},{"attributes":{"bold":true},"insert":"Inflationary tokens using DSA will be able to distribute minted tokens to their stakers following a defined monetary policy."},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"\n"},{"attributes":{"bold":true},"insert":"Beta Results"},{"attributes":{"header":2},"insert":"\n"},{"insert":"\nA beta implementation (contracts and tests included) that simulate a single use case can be found in the following github repository:\n\n"},{"attributes":{"link":"https://github.com/RideSolo/staking-library"},"insert":"Project Repository"},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"\nAll performed tests were successful as per "},{"attributes":{"link":"https://github.com/RideSolo/staking-library/blob/master/doc/dsa.pdf"},"insert":"table 2.1 of the proposal"},{"insert":", note that this is just the beginning a lot more is yet to come :).\n\n"},{"attributes":{"bold":true},"insert":"Why do we need funding ?"},{"attributes":{"header":2},"insert":"\n"},{"insert":"\nRunning bounties, for some help with smart contracts development ..."},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"Security audits."},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"Documentation & API creation."},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"Website to promote the library, and why not a third party staking platform where projects will just plug and play."},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"Buy a cup of coffee ;)"},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"\nAll kinds of contributions are welcome (financial, ideas or PRs) especially the most expensive ones (which are ideas of course :p) to maintain and create a powerful library. Feel free to comment, propose or create issues or PRs at will.\n\n"},{"attributes":{"bold":true},"insert":"Get In Touch"},{"attributes":{"header":2},"insert":"\n"},{"insert":"\nIf you want to know me or ask questions about the grant, I'm available in telegram and discord under ridesolo or e-mail me at "},{"attributes":{"link":"mailto:ridesolo@protonmail.com"},"insert":"ridesolo@protonmail.com"},{"insert":"\n"}]}

Activity Feed