Onboarding
Connect a wallet, switch to Base Sepolia, mint test USDC. ~5 minutes.
Request an API key, set 3 env vars, run a health check. ~15 minutes.
Quote a premium
Open a shield card; the UI calls quotePremium and renders the number.
GET /products/:id/quote?cover=N — public, no key required.
Buy a policy
Approve USDC, sign purchasePolicy. Two wallet prompts, your gas.
POST /api/v1/policies — single HTTP call. Relayer pays gas.
Track positions
Open /app/human/portfolio — reads PolicyCreated + BondsMinted events.
GET /api/v1/policies + /api/v1/bonds/:wallet, or poll on a cadence.
Redeem at maturity
Click "Redeem" in portfolio; sign redeemBond. One wallet prompt.
On-chain call, then POST /api/v1/redeem with the txHash for indexing.
List on marketplace
Click "List" on a bond; pick price + amount; sign two transactions.
On-chain Marketplace.list call, then POST /api/v1/marketplace/list.