This repo showcases how to create and run LSD staking pool leveraging ssv.network.
If you are looking for other resources to help you start building, check out awesome-ssv repo, a curated list of SSV tools & projects & guides.
This lsd-pool is separated from the awesome-ssv of which it was a part of in the past.
Launch a minimalistic fully working LSD staking pool.
It is for learning purposes ONLY and NOT to be used in production!
It consists of Frontend based on scaffold-eth, backend creating + managing validators and smart contracts to manage ETH, mint an LSD token (ssvETH).
It leverages ssv.network to run validators in a distributed and decentralized manner.
With Frontend RUN_SMART_CONTRACTS_AND_FRONTEND.md
Without Frontend RUN_SMART_CONTRACTS_ONLY.md
NOTE:
- Readmes always take precedence - Some parts of this video may be outdated.
- Video goes into more detail and gives more background. If you have some experience with this stuff you can safely skip it and follow READMEs only.
Huge thanks to
-
@RohitAudit who develops & maintains all the backend magic on whose repo-Garuda this minimalistic LSD staking pool is based on.
-
@nibthebear who has developed the frontend, js deployment, and revamped the smart contracts.
- Staking has never been so easy, thanks to SSV, you can stake your ETH and earn ssvETH without running your own validator! 🤑
-
Users stake their ETH to a staking contract for which he is minted a liquid staked derivative token, ssvETH.
-
Creates an Ethereum validator key and gives it to the staking pool to deposit for activation
-
Generates keyshares from the validator keystore and stakes them with the SSV nodes
-
Saves the keystore and keyshares for verification at a later stage
If you want to deploy smart contract together with frontend using scaffold-eth framework (hardhat + react) built in JS
continue to RUN_SMART_CONTRACTS_AND_FRONTEND.md.
It will navigate you through the remaining process.
If you want to deploy smart contracts only using brownie framework built in PY
continue to RUN_SMART_CONTRACTS_ONLY.md.
It will navigate you through the remaining process.
This repo is meant to give you a head start in building a cool prototype of the next big staking app. Build something interesting on top such as transferable NFT validators, Restaking app, or whatever else, and open PR.
Other relevant tools and resources can be found in awesome-ssv repo or linked below.
- Tools
- Notification services
- Staking pools
- Staking services
- Operator services
- Tutorials
- How to contribute
- How to add your project
You can hop into SSV discord channel #devs-support and get feedback on your ideas. You may also check active grants directly. If you are considering applying for one, write in SSV discord and tag @Matty and @MarkoInEther. They will be happy to help you draft a rock star grant application.
The best way is via discord channel #devs-support, ask there, tag the team directly, and also @MarkoInEther and @Matty. They will help you to get to the right person.
You can read the full documentation at docs.ssv.network.
Start getting familiar with DVT staking, go to SSV Discord and check out #dev-support
channel. If you cannot see it claim a role.
If you see any typos in the tutorials, have a suggestion for better phrasing or see a bug in the code open a PR!.
Do you think some things could be done better in the repo? Do you have ideas how to expand it?
Open an issue and share it in the #dev-support channel
.
If your featere is usefull for the ecosystem SSV DAO may fund you developing it!
MIT License