An open API service indexing awesome lists of open source software.

https://github.com/boddepallyvenkatesh06/liquid-staking-decentralized

Liquid-Staking-Decentralized is a decentralized application (DApp) that enables users to stake their assets on a proof-of-stake (PoS) blockchain.
https://github.com/boddepallyvenkatesh06/liquid-staking-decentralized

ethersjs javascript-library nextjs14 openzeppelin reactjs remix-ide solidity thegraph thirdweb truffle-suite walletconnectv2 web3js

Last synced: 4 months ago
JSON representation

Liquid-Staking-Decentralized is a decentralized application (DApp) that enables users to stake their assets on a proof-of-stake (PoS) blockchain.

Awesome Lists containing this project

README

        

# LSD 💊

LSD is a liquid staking and leverage staking based yield generating vault. You can deposit your matic and receive LSD tokens which will appreciate in value w.r.t. matic over time 📈 LSD internally uses [Stader](https://www.staderlabs.com/), [Aave](https://aave.com/) & [Balancer](https://balancer.fi/) as well as the whole project.

## Contracts

[LSD.sol](packages/hardhat/contracts/LSD.sol): This is the core ERC4626 based contract

[LSDWrapper.sol](packages/hardhat/contracts/LSDWrapper.sol): This contract contains additional function for slippage and gateway (i.e. if user wishes to invest matic instead of wmatic or receive matic instead of wmatic they can use these gateway functions)

## Live Demo

- Test the Application at: [Live Demo](https://liquidstakingdecentralized.netlify.app/)

## Running this project

1. Clone the repository

2. Run the following command from the root of the project

```bash
yarn install
```

```bash
yarn start
```

> If you don't wish to interact with the polygon mainnet follow the steps below:

1. Clone the repository
2. In the [scaffold.config.ts](packages/nextjs/scaffold.config.ts) file change the `targetNetwork` property to `chains.hardhat`
3. Run the following command from the root of the project

```bash
yarn install
```

```bash
yarn fork
```

```bash
yarn deploy
```

```bash
yarn start
```

## ScreenShot

![screenshots1](screenshots/ss1.png)
![screenshots1](screenshots/ss2.png)
![screenshots1](screenshots/ss3.png)
![screenshots1](screenshots/ss4.png)
![screenshots1](screenshots/ss5.png)
![screenshots1](screenshots/ss6.png)
![screenshots1](screenshots/ss7.png)

## Contact

- **Author**: Harsh Agrawal & Venky Kumar

- **`GitHub`**: [harshagrawal2503](https://github.com/harshagrawal2503)
- **`GitHub`**: [BoddepallyVenkatesh06](https://github.com/BoddepallyVenkatesh06)