Trust center
The trust model, live.
What the program enforces on chain, what still rests on the refund towers and watchtowers, and the live state of each.
The mechanism
How the atomic swap works
- 1 · LockYou → HALFKEY programSOL waits in the program, never with the maker
- 2 · SendMaker → MoneroXMR to an address that needs both halves
- 3 · ClaimMaker → HALFKEY programto take the SOL, the maker publishes its half
- 4 · CompleteHALFKEY program → youyour browser joins the halves: the XMR is yours
Same curve, two chains
Solana and Monero both sign on ed25519, so the program checks the maker's half of the Monero key directly. One curve operation, about 2,800 compute units, no oracle.
Your half never leaves you
It comes from one wallet signature (no transaction). The same wallet rebuilds it on any device; nothing is stored, there is no recovery file.
If the maker never sends
The swap is cancelled before the deadline and your SOL refunds with one signature. Cancelling reveals nothing. The worst case is your coins back.
Honest split
Proven on chain, and what still rests on people
Enforced by the program
Rests on people today
In one sentence: SOL leaves on a claim only after a signed go-ahead, yours in SOL → XMR and the maker's in XMR → SOL. A refund tower can't move funds on its own, and never holds a whole key half.
Refund towers
Paid, and the maker vanished? Your XMR comes back.
In XMR → SOL, right after the maker locks SOL it splits its half of the Monero key into 3 pieces, any 2 of which rebuild it, and gives one to each of three refund towers, with public commitments. At launch the three towers run on one server we operate; they move to separate operators next. Each tower checks its piece against them and signs a receipt. Your browser reads the receipts from the towers themselves, and shows a deposit address only once they are in.
If the maker goes dark after you paid and never says ready, the swap can no longer be claimed once the claim deadline passes, about 7 hours after the lock. Then the towers release their pieces, rebuild the maker's half and submit the refund: the maker's SOL goes back to it, and you sweep your XMR back on the same page, with or without the maker. A claimed swap's pieces are destroyed.
A tower holds one piece, never a whole half, and can't move funds. It reads Solana at finalized from two independent providers, and releases nothing unless they agree.
Liveness, not custody
Watchtowers: what they can and cannot do
| Job | Who can do it | Can it move funds to itself? |
|---|---|---|
| Cancel a swap the maker didn't fund before its deadline | a listed watchtower, or your open tab | No. Cancelling only enables the refund to your wallet. |
| Send a fee-covered claim for XMR → SOL at a fresh address | a watchtower (so your fresh address stays unlinked) | No. The claim pays only the address bound in the escrow. |
| Broadcast your pre-signed ZEC claim or refund | a watchtower, or your open tab | No. It is signed to pay only you. |
| Refund after the claim window closes | anyone | No. It pays only the wallet that locked. |
Formal verification
Machine-checked, with the gaps written down
The escrow's decision and accounting logic is model-checked with Kani for every input and every reachable escrow state: funds leave only to the claimer (with the secret) or to the locker, never both, only inside their time windows, with nothing created or lost; locks need the maker's signed consent; a pause never blocks an exit; scalar aliases are rejected. The counts below are from the v1.5 source; the suite is re-run on the launch build before launch.
Not covered by the proofs
- Curve-point checks are tested, not proven. That testing found one low-severity bug (non-canonical identity encodings); the fix is in this build.
- Account handling (owners, writable checks, token transfers, the maker registry) is covered by the end-to-end suite, not by Kani.
- Four slow harnesses (staking credits among them) run only on request; their properties are covered by property tests.
- Off-chain parts: the SDK, maker, watchtowers, refund towers and this site.
- The Solana runtime, its syscalls and the toolchain are assumed correct.
The admin key
No switch can stop a claim or a refund
During the beta a config admin exists. It can pause new swaps, change caps and windows, and change fees up to a hard 1% ceiling. It cannot touch an open swap: claims, refunds and cancels never check the pause. It stays through the beta because Monero's next network upgrade will need a program update; this panel reads the live state.
Status, plainly
Source, build and audit
904c57ec3e6660bba2b00758c5458d9687c6186a01e15be0fe2330d71c2a47c8Check it yourself: the hash it prints must match.
solana-verify get-program-hash -u https://api.mainnet-beta.solana.com FeRHfMtGSzUKZc7LX5TvRWjkq91aBJrD1LYf6fi3Jg47
Public addresses, read from this site's config
Contracts and wallets
| Name | Address | Role | Links |
|---|---|---|---|
| Reading the network config | |||
Residual risk
What could still go wrong
Caps keep every one of these small during the beta. Found something? Tell us.
- Signing the key message elsewhere. A site that tricks you into signing the HALFKEY key message could sweep XMR you haven't collected. Only sign it here, and collect soon after a swap.
- A deep Monero reorg could in theory undo a lock that counted after 10 confirmations.
- A program bug. The code is model-checked and tested; no third-party audit yet. The caps bound the damage.
- Your IP and wallet are visible to the maker your browser talks to. Use a VPN or Tor if that matters.