SettleMint
User guidesSystem addonsXvP Settlement

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.

XvP Settlement provides atomic swap capabilities for tokenized assets. The "X" in XvP stands for the variable leg of the exchange, which can be either Delivery (DvP) or Payment (PvP).

What is XvP Settlement?

XvP Settlement eliminates counterparty risk by guaranteeing that either all parties receive their assets or no assets change hands. Single-chain settlements execute atomically in one transaction; cross-chain settlements use cryptographic locks to coordinate execution across chains. This "all-or-nothing" guarantee prevents partial settlement failures.

Settlement types:

  • DvP (Delivery vs Payment) - Exchange assets for cash (e.g., bonds for USDC)
  • PvP (Payment vs Payment) - Exchange one cash asset for another (e.g., EUR stablecoin for USD stablecoin)

XVP settlement addon configuration

Common use cases

  • Bond trades - Investor purchases corporate bonds with stablecoin
  • Secondary market sales - Holder sells tokenized equity to another investor
  • Currency exchanges - Treasury converts between stablecoin denominations
  • Multi-party transactions - Complex deals involving three or more parties
  • Cross-chain swaps - Exchange assets held on different blockchains

Settlement types

XvP supports two settlement modes based on where your assets are located:

TypeWhen to useCoordination method
LocalAll assets on the same chainDirect atomic execution
HTLCAssets on different chainsHash time-locked contracts

Local settlements

Use local settlements when all assets involved are on the same blockchain. The settlement executes atomically when all parties approve their flows.

Learn about local settlements

HTLC (cross-chain) settlements

Use HTLC settlements when assets are spread across different blockchains. A cryptographic hash links the settlements on each chain, ensuring coordinated execution.

Learn about HTLC settlements

Key concepts

Understanding these terms will help you work with XvP settlements:

TermDefinition
FlowA single asset transfer from one address to another, including the token, amount, sender, and recipient
Local flowA flow that executes on the current chain
External flowA reference to a flow on another chain (informational only, does not execute locally)
ApprovalWhen a sender locks their assets into the settlement contract
HashlockA cryptographic hash that links settlements across chains
SecretA value that, when revealed, proves ownership and triggers execution
Cutoff dateThe deadline after which the settlement expires and locked assets can be withdrawn

Settlement lifecycle

Every settlement progresses through these states:

Rendering diagram...
  • Pending - Settlement created, awaiting approvals from senders
  • Approved - All senders have approved (for HTLC, enters "Armed" state awaiting secret)
  • Executed - All flows completed successfully
  • Cancelled - Settlement cancelled before execution
  • Expired - Cutoff date passed without execution

State differences

Local and HTLC settlements have slightly different state transitions. See the respective overview pages for detailed state diagrams.

XVP REST API for programmatic settlement access

Further reading

On this page