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 packages -
yarn lint
— Run eslint across packages -
yarn test
— Run tests across packages -
yarn test:watch
— Run tests in watch mode -
yarn typechain
— Generate types