Skip to content

lidofinance/core

Repository files navigation

Disclaimer: WIP!

This repository is currently a work-in-progress.

This repository is the modernized iteration of the outdated lido-dao repository. Significant efforts were undertaken to update the tooling and infrastructure to align with current standards and best practices. As part of this modernization process:

  • the codebase has been transitioned from JavaScript to TypeScript to leverage TypeScript's robust type-checking, IDE autocompletion, and scalability features;
  • the test suite was revamped and restructured to ensure consistent approach and comprehensive testing coverage;
  • deprecated dependencies (e.g. Waffle testing framework) were removed or replaced by modern alternatives;
  • outdated dependencies such as Hardhat, ethers and others were upgraded to their latest versions to improve performance, compatibility and developer experience;
  • Lido Aragon Apps will be migrated to the Lido Aragon Apps repository.

Lido GitHub license Solidity Aragon OS Node.js TypeScript Hardhat Ethers
GitHub tests GitHub linters GitHub code analysis
Lido on Ethereum Logo

Lido on Ethereum is a liquid-staking protocol allowing anyone to earn staking rewards without locking ether or maintaining infrastructure.

Users can deposit ether to the Lido smart contract and receive stETH tokens in return. The smart contract then stakes tokens with the DAO-picked node operators. Users' deposited funds are pooled by the DAO, and node operators never have direct access to the users' assets. Unlike staked ether, the stETH token is free from the limitations associated with a lack of liquidity, and can be transferred at any time. The stETH token balance corresponds to the amount of ether that the holder could request to withdraw.

NB: It's advised to read Documentation before getting started with this repo.


Key features

  • No minimum deposit amount,
  • Instant rewards within 24 hours of deposit,
  • stETH, an LST with the deepest liquidity in DeFi,
  • In-protocol automated withdrawals,
  • Governed by Lido DAO.

Learn more

Bug Bounty

At the moment, the Lido bug bounty program covers only the contracts in the Lido DAO repository. Once the work on this repository is finished, the bug bounty program will be updated.

Contributing

Please refer to the Lido Contribution Guide.

Code of Conduct

Please refer to the Lido Contributor Code of Conduct.

License

2024 Lido info@lido.fi

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.