Skip to main content
This page maps the parts of Arkade Intents (discovery, quotes, settlement, and recovery) to the reference page for each. Read it if you implement a client or a solver. To add Intents to an application, start with Lightning or Exchange Assets.

Protocol at a Glance

Every swap executes a directional route between two endpoints. Each endpoint names an asset and the corridor where it settles, such as arkade:BTC, lightning:BTC, or onchain:BTC. Every route follows the same flow. Only the contract that enforces it depends on the route: When both endpoints use arkade, one transaction settles both sides through Arkade (Asset Swaps). Any other route uses paired HTLCs, one on each network (Corridor Swaps). 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.

Asset Swaps

When both sides settle through 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.

RFQ and the Relay

A quote is a set of short-lived terms that a solver signs. A request for terms is addressed to one solver, encrypted to its key, or published to every solver watching the pair, which answer with sealed bids. The relay delivers messages. It does not select solvers, aggregate quotes, or touch funds. The RFQ Protocol has the messages, payloads, event kinds, and transport requirements.

Lifecycle States

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

Corridor Swaps

A corridor route has one endpoint outside Arkade. Its contracts fix who funds first, how timeouts are ordered, and which evidence completes or recovers the swap. Corridor Swaps covers all four BTC directions.

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.