SDK

Our technical documentation (SDK) and middleware library enables you to build your own Liquity frontend or integrate Liquity with your existing service.

It consists of three libraries, written in TypeScript:

lib-base

Common interfaces and classes shared by the other lib- packages.

API Reference

lib-ethers

Ethers-based middleware that can read Liquity state and send transactions.

API Reference

decimal

Decimal math using ethers.js's BigNumber.

API Reference