This SDK is currently considered Alpha software and is under active development. It may contain bugs or undergo significant changes. If you have questions or encounter issues, feel free to join our #dev-chat channel on Discord. Pull requests are welcome!
OpenLeverage TypeScript SDK provides a set of utilities and tools for interacting with the OpenLeverage protocol. This SDK is designed to help developers build and integrate applications with OpenLeverage more efficiently.
- JSON API to read lending pool information.
- Lending:
- Deposit: Users can deposit their tokens to any pool.
- Withdrawal: Users can withdraw their tokens.
- Borrowing: Users will be able to borrow assets.
- Margin Trade: Enabling leveraged trading of assets with DEX and aggregator integration.
yarn build
tsx src/examples/<example_script_name>.ts
We welcome contributions! Please see our Grants Program for more details.