This project is being slowly deprecated and may not receive further updates. Check out modern Lido SDK to access latest functionality. It is actively maintained and is built for interacting with Lido Protocol.
JS SDK for Lido Finance projects.
- @lido-sdk/constants. Chain ids, Lido tokens
- @lido-sdk/contracts. Typed contracts for Lido tokens, ERC20 contract factory
- @lido-sdk/fetch. Ethereum data fetcher with fallbacks
- @lido-sdk/helpers
- @lido-sdk/providers. RPC provider getters with cache
- @lido-sdk/react. React hooks and providers. SSR ready
yarn && yarn postinstall
yarn build
yarn build
— Build all packagesyarn lint
— Run eslint across packagesyarn test
— Run tests across packagesyarn test:watch
— Run tests in watch modeyarn typechain
— Generate types