Skip to main content

Liquidium SDK documentation

Use @liquidium/client to build Liquidium integrations from TypeScript apps. Start with accountless Simple Loans unless your app needs a full profile dashboard.

Choose an integration path

Choose the path that matches your app:

PathUse whenMain SDK calls
Accountless Simple LoansYou want a short borrow flow where users do not create a Liquidium profile firstclient.simpleLoans.create(...), client.simpleLoans.get(...), client.simpleLoans.find(...), client.activities.list(...)
Account-based profile flowsYou want users to manage positions, supply funds, borrow, withdraw, or use ETH contract-interaction depositsclient.accounts.createProfile(...), client.lending.supply(...), client.lending.borrow(...), client.lending.withdraw(...), client.positions.listPositions(...)

Documentation map

Use the following pages to find the information that you need:

SectionPurpose
Getting startedInstall the SDK and create your first Simple Loan flow
GuidesComplete specific integration tasks
ConceptsUnderstand protocol and SDK behavior before you design a flow
Status systemRead shared operation and state fields across loans, activities, and history
ExamplesRun and inspect working apps
API referenceLook up exported SDK modules, types, and methods

Environment requirements

The published package has the following runtime requirements:

RequirementNotes
Runtime APIsGlobal fetch and BigInt support
Module formatECMAScript module (ESM) or CommonJS support
Wallet providerProvide a wallet integration. The examples use Dynamic.

The @liquidium/client package does not declare a Node.js engine range. The repository development tools have separate requirements:

RequirementVersion
Node.js20.19 or later in the 20.x line, or 22.12 or later
pnpm11 or later