An XvP Settlement exchanges pre-agreed asset amounts across local flows (on this chain) and optional external flows (on another chain, backed by a funded contract there). Approving a local flow locks the sender's net obligation in escrow. Execution moves every local leg atomically before a secret is revealed, and after a cross-chain reveal commits the settlement, any refused delivery parks for its recipient while other deliveries complete.
Use Transfers for one-way transfers and Trading for order-book price discovery. See XvP Settlement for the net-position model.
The “Settlements” list with a “Create XvP settlement” button and one row per settlement.
Steps
Open the settlements list
- Open Wealth → Settlements.
- Review the list. Permission manager and Asset manager holders see all settlements, while other users see only settlements involving their wallets.
- Toggle the creation date column in view options if needed. Rows waiting on you display “Needs your approval” with an inline Approve button, and local participants see a Cancel settlement row shortcut.
Create a settlement
- Select Create XvP settlement.
- On Asset flows, define between 1 and 100 flows (at least one local flow) using Add local flow, Add external flow (adding chain and decimals), or Import flows (JSON). Checksummed addresses with mismatched capitalisation are rejected on the field, and empty fields show “This field is required”.
The first step, “Asset flows”, opens with one local flow, “Flow 1”, and its “From address”, “To address”, “Asset” and “Amount” fields.
- On Settlement configuration, enter a name, complete Expiry date (defaults to seven days out, requiring full date and time), and optionally enable Auto-execute on final approval.
- For settlements with external flows, configure Secret management by choosing Enter hashlock (if you hold the secret externally) or Enter secret (type or generate one so DALP derives the hashlock and stores the secret encrypted off chain). Complete Country if prompted for identity registration.
- Inspect the derived type, flows and settings on Review settlement and confirm.
Approve, then execute or wait
- Open a settlement row, or select Approve on the list row (Approve settlement in the detail header).
- Confirm the Approving account (custody provider and wallet name). If a different wallet of yours is the sender, switch to that wallet first. Self-custody wallets prompt for the approval and any ERC-20 allowance directly.
- Monitor approval progress in the approvals panel. Local-only settlements become “Ready” once all local senders approve, while cross-chain settlements wait for secret reveal.
- Select Execute settlement when ready (unless Auto-execute on final approval runs automatically). Execution cannot be undone.
Manage an existing settlement
Open Actions on a settlement's detail page to run lifecycle controls:
The Escrow tile on the detail page shows Locked, Parked and Refunded totals per participant and asset. Filter the settlements list with Escrow → Holds escrow to find settlements with parked or unrefunded balances.
What approving locks
Approving pulls each local sender's net obligation through an ERC-20 allowance (shown on the approval sheet) into the settlement contract until execution, cancellation or revocation. Passing the cutoff stops execution without auto-refunding, so a party must still run Withdraw assets.
Because the settlement contract sits on the compliance bypass list, escrow deposit skips recipient compliance checks and execution enforces them. Token Custodian roles can still freeze or move escrowed balances. See What if a sender falls out of compliance after approving?.
Settlement statuses
Approving locks a sender's assets, execution transfers them, cancellation refunds them, a revoked approval refunds only that sender, and expiry needs a separate withdrawal, unless a revealed secret keeps the settlement executable.
Troubleshooting
Approve settlement shows an insufficient balance
Symptom: The approval sheet blocks submission and lists required asset shortfalls.
Fix: Fund the sending wallet with the full net amount owed per asset across all its flows (partial locks are not supported), and verify the asset and chain match the flow.
The configuration step does not accept a cross-chain settlement
Symptom: Settlement configuration blocks with “External flows require a valid hashlock or secret. Enter an existing hashlock, or enter or generate a secret before continuing.”
Fix: Select Enter hashlock if you hold the secret externally, or Enter secret to enter or generate a secret.
Creation fails on a flow that pays its own sender
Symptom: Creating the settlement fails validation.
Fix: Ensure no single flow has identical From address and To address. The same address can appear across separate flows for circular obligations.
A settlement shows a cross-chain warning after creation
Symptom: A cross-chain settlement warns that external contracts cannot be verified on this chain.
Fix: Verify outside the Console that every external HTLC is funded and matches the flows before selecting Reveal secret.
A fully approved settlement is still waiting
Symptom: Status stays “Waiting for secret” (displaying “All approvals in, still waiting for secret reveal.” after 12 hours).
Fix: Confirm with the creator who holds the secret before cutoff. After cutoff, Reveal secret disappears and any party must run Withdraw assets.
Execute settlement fails or the status does not change
Symptom: Execute settlement reports an error and no local legs move (unrevealed settlements are strictly atomic).
Fix: Resolve the reported cause and run Execute settlement again. On revealed cross-chain settlements, refused legs park instead of reverting the whole transaction.
Execute, Approve or Reveal secret is refused because of a wallet restriction
Symptom: Action is blocked and the Platform API returns 409 DALP-211172 with data.restrictionId and data.positionId.
Fix: Ask the restricting organisation to lift the restriction or approve a delivery release (by default via a Compliance manager). Cancelling, revoking and post-expiry withdrawal still work. See Review and release held positions.
Cancel shows a vote count instead of closing the settlement
Symptom: Cancel settlement changes to Propose cancel with a remaining vote count.
Fix: Fully approved cross-chain settlements require unanimous votes from all local senders and recipients to cancel. If a party does not vote, wait past cutoff and run Withdraw assets.
A settlement's expiry is approaching
Symptom: The settlement's detail page flags “Settlement expires soon” within 24 hours of cutoff.
Fix: Execute before cutoff if ready, or wait until expiry and select Withdraw assets to refund locked assets.
Frequently asked questions
How large can one settlement be?
Up to 100 flows. When an address appears in multiple flows for the same asset, the contract nets its position and moves only the difference.
Can I change a settlement after creating it?
No. Flows, amounts, expiry and auto-execute are immutable. Revoke, cancel or let it expire, then create a new settlement for counterparties to approve.
What do "Local" and "HTLC" mean in the list's type column?
“Local” means every flow executes on this chain. “HTLC” means at least one external flow exists, requiring a hashlock at creation and a revealed secret before execution. The type derives automatically from the flows.
What if a sender falls out of compliance after approving?
Execution re-checks compliance on every funded local flow and reverts the whole settlement if any leg fails, except on a revealed cross-chain settlement, which executes and parks any refused delivery for Claim parked amount.
API routes
See the Platform API reference and CLI command guide for programmatic settlement creation, approval and execution.