Skip to content

Launch a minimalistic fully working LSD staking pool. 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.

License

ssv-network/lsd-pool

 
 

Repository files navigation

LSD staking pool powered by SSV

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.

Description

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.

Video walkthrough

Video walkthrough & launchig 🌈LSD pool

Video walkthrough & launchig 🌈LSD pool

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.

Credits

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.

How it works

  • Staking has never been so easy, thanks to SSV, you can stake your ETH and earn ssvETH without running your own validator! 🤑

image

User Actions

  • 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

How to deploy?

1. Front End plus Smart contracts - Scaffold-eth framework

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.

OR

2. Smart Contracts Only - Brownie framework

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.

What to build?

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.

SSV projects & resources

Other relevant tools and resources can be found in awesome-ssv repo or linked below.

Get funding

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.

Connect with teams

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.

Documentation

You can read the full documentation at docs.ssv.network.

How to contribute

Join the Buidlers

Start getting familiar with DVT staking, go to SSV Discord and check out #dev-support channel. If you cannot see it claim a role.

Fix errors

If you see any typos in the tutorials, have a suggestion for better phrasing or see a bug in the code open a PR!.

Suggest improvements

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!

LICENSE

MIT License

About

Launch a minimalistic fully working LSD staking pool. 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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 73.6%
  • JavaScript 11.1%
  • Python 8.5%
  • Solidity 6.4%
  • Shell 0.1%
  • HTML 0.1%
  • Other 0.2%