Skip to main content

Liquidium SDK Docs

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

Choose An Integration Path

PathUse whenMain SDK calls
Accountless instant loansYou want a short borrow flow where users do not create a Liquidium profile firstclient.instantLoans.create(...), client.instantLoans.get(...), 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.list(...)

Docs Map

SectionPurpose
Getting StartedInstall the SDK and create your first instant loan flow
GuidesComplete specific integration tasks
ConceptsUnderstand protocol and SDK behavior before designing a flow
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 9+ for this repository
Browser APIsfetch, BigInt, and standard ESM support
Wallet UIBring your own wallet provider. The examples use Dynamic.