Skip to main content

Simple Loans Flow Example

Use examples/simple-loans-flow as the starting point for accountless borrow UX.

It covers:

AreaWhat to inspect
App setupBrowser flow using bundled SDK defaults
Pool selectionMarket data and frozen-pool handling
LTV previewClient-side quote validation before creation
Loan creationclient.simpleLoans.create(...) request shape
Loan status reloadclient.simpleLoans.get({ ref }) and loan.status
Activity statusclient.activities.list(...), client.activities.getStatus(...), and top-up state
Recoveryclient.simpleLoans.find(...)

Run it from the SDK root:

pnpm install
pnpm --filter @liquidium/example-simple-loans-flow dev