🔮Overview

As Build Logics describes the general way to build logics by Protocolink JS SDK from scratch, Lending SDK aims to provide a user friendly tool to build around lending functions.

Introduction to Lending SDK

Lending SDK is open source tool which empowers developers to rapidly build applications and enhance the user experience with the lending protocols.

Building an application on top of the lending protocols can be a challenging and time-consuming process. This is due to the inherent risks associated with working with smart contracts, as well as the complex calculations and encoding required for various use cases, such as leverage, deleverage, collateral swap, and zaps.

Lending SDK reduces the need for developers to spend time and resources on building and maintaining their own smart contracts. The Lending SDK leverages Protocolink, which provides the ability to add more use cases in a highly modular way without deploying new smart contracts, and significantly reducing user risk.

Architecture Diagram

Developers

Developers can adapt the Lending SDK into their frontend or backend services. With the use cases supported by the Lending SDK, they can easily generate transaction data, or utilize it for complex transaction scenarios. This significantly lowers the barrier for developers, allowing them to focus on providing a better user experience or infrastructure.

TypeScript SDK

The Lending SDK generates and return transaction data based on the specified use cases. It provides estimated execution results, calculates the optimal path for each use case, and forwards protocol logics to Protocolink.

Examples

The Lending SDK stands as an efficient and user-friendly tool, specifically designed to assist developers in creating their own position management tools. This SDK streamlines the development process, making it more accessible for developers to build sophisticated and effective applications in the lending space.

An example of the SDK's application is Furucombo lending dashboard. This dashboard effectively utilizes the Lending SDK to offer a seamless and intuitive interface. It enables users to effortlessly manage their positions across various lending platforms. This integration not only showcases the SDK's versatility but also its capability to enhance user experience through simplified position management in a complex financial ecosystem.

Here are some transactions generated through Lending SDK:

Aave V3 Deleverage on Polygon

Radiant V2 Debt swap on Arbitrum

Radiant V2 Leverage on Arbitrum

Radiant V2 Deleverage on Arbitrum

Compound V3 Deleverage on Arbitrum

Aave V3 Collateral Swap on Arbitrum

Morpho Blue Leverage on Ethereum

Morpho Blue Deleverage on Ethereum

Last updated