Architecture
Onboarding Checklist
Receive Credentials
Musubi provisions your:
- Canton Party ID — your identity on the settlement network
- JWT signing credentials — for API authentication
- Network connectivity details — settlement network endpoint and TLS certificates
Deploy Your Backend
Deploy the Musubi custodian backend in your infrastructure:
- Configure with your Party ID and role (
custodian-senderorcustodian-receiver) - Connect to your PostgreSQL instance
- Establish TLS connectivity to the settlement network
Whitelist Settlement Address
Whitelist the Musubi settlement address in your custody platform. This is the only destination that receives assets during DvP settlement. One-time setup.
Onboard Institutional Clients
For each institution that will use you as custodian:
- Set up their custody account in your platform (your existing process)
- Confirm their Canton Party ID
- Ensure they have sufficient stablecoin balance
- Institutions will reference your Party ID when creating orders
Connectivity Test
Verify your setup:
GET /health— confirms backend is running and connectedGET /whoami— confirms your Party ID andcustodianrole- Ask your integration contact to create a test order referencing your Party ID
- Verify the order appears in
GET /api/v1/orders
Institution Relationships
Institutions reference your Party ID (sender_custodian_party_id or receiver_custodian_party_id) when creating orders. This means:
- You must onboard institutions first — they can’t reference you until you’ve set up their account
- Multiple institutions can reference you as their custodian simultaneously
- You see all orders where you are the custodian, across all your institutional clients
Communication with Institutions
The settlement protocol handles the authorization flow — you don’t need to coordinate per-transaction with institutions. However, establish:- Operational contacts — for escalation if settlement issues arise
- Balance notifications — alert institutions when balances are low
- Reporting cadence — agree on reconciliation format and frequency
Monitoring
Dashboard Stats
GET /api/v1/dashboard/stats provides:
| Metric | Description |
|---|---|
| Orders by status | PENDING, QUOTED, EXECUTING, SETTLED, FAILED, EXPIRED counts |
| Settled volume | Total JPYSC0 and USDCx settled through your custody |
| Recent settlement | Last settlement timestamp and average settlement time |
What to Watch
- PENDING orders accumulating — may indicate quoting issues; check with institutions
- FAILED orders — investigate
failure_reasonand alert the affected institution - Settlement volume spikes — ensure sufficient stablecoin balances for your clients
Testing on Testnet
Test scenarios to validate:- Sender custodian happy path: See order proposal -> accept -> review quotes -> co-sign best quote -> verify SETTLED
- Receiver custodian happy path: Verify settlement confirmation arrives with correct amounts
- Reject order proposal: Reject a proposal and verify the order is cancelled
- Quote expiry: Wait for quotes to expire and verify order transitions to EXPIRED
- Reconciliation: Match
transaction_hash, amounts, and timestamps across your systems