HALFKEY
Mainnet · capped beta

Docs

HALFKEY docs

How the first atomic swap between Solana and Monero works, how to use it, run a maker or build on it.

Start here

How a swap works

You hold half the key. The maker holds the other half. You only get the whole key when the swap completes, so either both sides get paid or nobody loses anything.

Your half of the key and the maker's half come together only when the maker gets paid in the HALFKEY program, and that payment completes your key. Your half from one wallet signature never leaves your device Maker's half published on Solana to take your coins HALFKEY program pays the maker only when it reveals its half Whole key opens your XMR. Only you. Your half of the key and the maker's half come together only when the maker gets paid in the HALFKEY program, and that payment completes your key. Your half from one wallet signature never leaves your device Maker's half published on Solana to take your coins HALFKEY program pays the maker only when it reveals its half Whole key opens your XMR. Only you.
  1. instant
    LockPick any Solana coin and an amount. One signature locks it in the HALFKEY program, not with the maker.
  2. ~2 min
    MatchA maker sends real XMR to an address that needs both halves of the key to open. Your browser checks it with your view key.
  3. ~20 min
    SwapTo take your coins, the maker has to publish its half on Solana. That completes your key, and after Monero's 10 confirmations the XMR is yours, in your own wallet. If the maker never delivers, you take your coins back.

Solana and Monero sign on the same curve, ed25519, so the program checks the maker's half directly: one curve operation, about 2,800 compute units, no oracle.

Step by step The trust model

Where things stand

HALFKEY runs on Solana mainnet as a capped beta. The caps are set on chain at launch. Each feature goes live with its own post. What is built and when it ships: Roadmap. What changed and when: Changelog.

Prior art and credits

Atomic swaps with Monero stand on years of public work, used here as specification only; no code was copied. What HALFKEY adds, and why we call it the first atomic swap between Solana and Monero:

  • Any Solana coin in. Pick any coin with a Jupiter route; it is swapped to SOL on the way in.
  • The wallets you already have. Your own Phantom (or Solflare, Backpack, Ledger) on one side, any Monero wallet on the other. Nothing new to install.
  • Open makers. Anyone can post a bond on chain and quote. Every fill, failure and decline is counted on chain.
  • Your refund doesn't depend on the maker. In XMR → SOL, if the maker goes dark after you paid, two of three refund towers release its half and your XMR comes back.
  • Nothing in the middle. No custodian, no pool, no wrapped token.

Built on public work:

  • COMIT designed the BTC ↔ XMR atomic swap protocol that eigenwallet's makers run today, and the original adaptor-signature design.
  • AthanorLabs built ETH ↔ XMR swaps around an on-chain swap contract. HALFKEY's lock, release, claim and refund flow follows their two-window design, rebuilt as a Solana program.
  • Suture wrote a SOL ↔ XMR escrow with the same on-chain key check in June 2026. It never went live. HALFKEY is a clean-room implementation with a different protocol: consented locks, cancel-only watchtowers, a two-step refund, a maker registry and wallet-derived keys.
  • XCAT (ZIP 300, 2017) specified hash-locked swaps between BTC and ZEC. HALFKEY's ZEC pair uses the same kind of script, with SOL on the other side.
  • monero-ts (MIT) runs the Monero wallet in your browser.
SOL $— XMR $— 1 SOL = — XMR Monero block — · — Watchtowers — Solana mainnet · Monero mainnet