Skip to main content
To add Intents to an application, start with Lightning or Exchange Assets. The reference pages linked below are for client and solver implementers.

Protocol at a Glance

Every swap executes a directional route between two endpoints. Each endpoint is a CAIP-19 asset id that names the asset and the rail it settles on, such as arkade:bitcoin/slip44:0 or bolt11:bitcoin/slip44:0. Every route follows the same flow. Only the contract that enforces it depends on the route: When both endpoints use arkade, one Arkade transaction settles both legs, and any compatible solver fills the funded contract. Asset Swaps covers funding, the contract, its states, and cancellation. Any other route has one endpoint outside Arkade and uses paired HTLCs, one on each network. Corridor Swaps covers who funds first, how timeouts are ordered, and which evidence completes or recovers the swap, for each BTC direction. Markets and Quotes explains the split.

Before Value Moves

  • Derive locally. Build the settlement contract from user-approved terms and wallet-owned data. Anything a solver returns is comparison data, and a mismatch stops the flow.
  • Persist first. Store the identifiers, terms, and recovery data before funding.
  • Reconcile from evidence. Recheck time-sensitive terms at commitment. Report a terminal result only from contract and destination-network evidence. A timeout means unknown.

Discovery and Registries

Discovery tells an application which markets and solvers may be reachable. Cards, indexes, fees, and feeds are advisory. Registries review solver cards and publish an index per network. They influence which solvers an application sees, but never implement a route or control settlement. Discovery and Registries has the card fields, index format, and curation options.

RFQ and the Relay

Applications and solvers exchange RFQ messages through a relay. The RFQ Protocol has the messages, payloads, event kinds, and transport requirements.

Lifecycle States

Each route’s states live on that route’s page:

Roles and Trust Boundaries

One organization may hold several roles, but their trust boundaries stay separate. Trust and Limitations covers what each role guarantees.

Draft Boundaries and Sources

Production RFQ runs over Nostr (RFQ Protocol). The RFQ event kinds are provisional, signed bids are not bonded, and corridor contracts carry BTC on both legs. Where a draft specification and the reference implementation disagree, the implemented behavior is authoritative. Implementation Status lists what works today, per capability. Each reference page links its own sources.