Coder Social home page Coder Social logo

sosoxuc / lsd-pool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ssv-network/lsd-pool

0.0 0.0 0.0 106.99 MB

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: MIT License

Shell 0.15% JavaScript 11.16% Python 7.72% TypeScript 0.06% CSS 74.28% HTML 0.11% Batchfile 0.04% Less 0.06% Solidity 6.41%

lsd-pool's Introduction

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

With Frontend

Video walkthrough & launchig ๐ŸŒˆLSD pool

Without Frontend

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

lsd-pool's People

Contributors

markoinether avatar tim88-dot avatar rohannero avatar rohitaudit avatar arsoba avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.