Overview
Local settlements execute all asset transfers atomically on a single blockchain. Learn when to use local settlements and how the approval workflow operates.
Local settlements handle multi-party asset exchanges where all assets exist on the same blockchain. All flows execute together in a single transaction, eliminating counterparty risk.
When to use local settlements
Use local settlements when:
- All assets being exchanged are on the same blockchain
- No cross-chain coordination is required
For exchanges involving assets on different chains, see HTLC settlements.

How local settlements work
- Creator defines flows - Specify each transfer: the asset, amount, sender, and recipient
- Senders approve - Each party sending assets locks them into the settlement contract
- Settlement executes - Executes automatically after all approvals (if auto-execute is enabled) or via manual trigger
- Assets distributed - Recipients receive their assets in the same transaction
Only senders approve
Only parties who are sending assets need to approve. Recipients do not need to take any action.
State diagram
Local settlements follow this lifecycle:
| State | Description |
|---|---|
| Pending | Settlement created, waiting for sender approvals |
| Ready | All senders have approved, ready for execution |
| Executed | All flows completed successfully |
| Cancelled | Settlement cancelled by a participant |
| Expired | Cutoff date passed before execution |
Auto-execute behavior
When auto-execute is enabled (the default), the settlement executes automatically as soon as all senders approve. No manual execution step is required.
If auto-execute is disabled, anyone can manually trigger execution after all approvals are received. This allows for a final review before committing.
Cancellation rules
Any local participant (sender or recipient) can cancel the settlement at any point before execution. When cancelled, all locked assets are returned to their original senders. See how to cancel a settlement.
Example scenario
Corporate bond trade with broker fee:
- Investment Bank holds 1,000 corporate bonds (CORP-BOND)
- Asset Manager wants to purchase them for 100,000 USDC
- Broker facilitated the trade and receives a 500 USDC fee
The settlement includes three flows:
- Investment Bank → Asset Manager: 1,000 CORP-BOND
- Asset Manager → Investment Bank: 100,000 USDC
- Asset Manager → Broker: 500 USDC
The Broker creates the settlement defining all three flows. The Investment Bank approves flow 1, locking their bonds into the contract. The Asset Manager approves flows 2 and 3, locking 100,500 USDC total. Once all approvals are received, the settlement executes—the Asset Manager receives bonds, the Investment Bank receives payment, and the Broker receives their fee, all in the same transaction.
For a complete walkthrough with balance tracking, see the local settlement walkthrough.
Further reading
Overview
XvP Settlement enables atomic multi-party asset exchanges where all transfers execute together or none execute at all. Learn about DvP, PvP, and cross-chain settlement scenarios.
Walkthrough
Follow a complete example of a local settlement where a Builder sells property tokens to a Buyer, with a Notary receiving a fee.