Skip to main content

Liquidium SDK Docs

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

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(...)

Docs Map

SectionPurpose
Getting StartedInstall the SDK and create your first Simple Loan flow
GuidesComplete specific integration tasks
ConceptsUnderstand protocol and SDK behavior before designing 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

Runtime Requirements

RequirementNotes
Node.js20+ for local SDK development
Package managerpnpm 11+ for this repository
Browser APIsfetch, BigInt, and standard ESM support
Wallet UIBring your own wallet provider. The examples use Dynamic.