Reference
Technical summary
Consolidated links and entry points into the codebase for Umbra settlement, the gated resource API, and related documentation.
Links
- Live app (create an intent, pay, poll the resource URL)
- Source on GitHub (README, OpenAPI, tests,
scripts/agent-pay.mjs) - Superteam Earn listing
- docs/SUBMISSION.md (repository)
What we ship (product)
- Human pay link
/pay/<opaque-id>: Wallet Standard + Umbra SDK checkout. - Agent resource
GET /api/resources/<id>: HTTP 402 with x402-shaped JSON until settled, then 200 with a structuredcontentpayload (see Agents & APIs). - No mock settlement: value move is the Umbra receiver-claimable UTXO path from public USDC, same in browser and headless script.
Where to verify Umbra (code)
- src/components/pay-with-umbra.tsx
- Browser:
getUmbraClient, optional registration,getPublicBalanceToReceiverClaimableUtxoCreatorFunction+ web ZK prover. - scripts/agent-pay.mjs
- Headless parity: same pipeline,
createSignerFromPrivateKeyBytes. - src/app/api/resources/[id]/route.ts
- 402 body sets
extra.settlement: umbra-receiver-claimable-utxoso clients do not treatpayToas a raw public SPL instruction.