HALFKEY
Mainnet · capped beta

User guide

User guide

Every flow on HALFKEY, step by step, with the real times and the tracker's own words.

Sell any coin for XMR

You need a Solana wallet, the coin you want to sell and a Monero address to receive at. You can add the address later; the XMR waits for you.

  1. 0:00
    Pick a coin and an amountSOL, or paste any Solana coin's address. A Jupiter route sells the coin into SOL in the same signature. The card shows the rate, the all-in cost (maker spread plus the 0.5% protocol fee) and the time, before you sign.
  2. 0:10
    Create your swap keyOne message signature, no transaction. The first time on a device you sign twice, so HALFKEY can check that your wallet signs the same way every time.
  3. 0:20
    Lock: Your SOL is inOne transaction. Your SOL goes into the HALFKEY program, not to the maker. One Solana confirmation and the tracker ticks.
  4. ~1–2 min
    Maker sent your XMRThe maker sends real XMR to an address that only both halves of the key can open. This step turns green only after your browser has checked the Monero transaction with your view key: the amount proven against its commitment and no time lock. Until then it says "Maker is sending".
  5. ~2–20 min
    Monero blocks n/10Monero adds a block about every 2 minutes. The bar counts to 10.
  6. ~20 min
    Finish swapAfter 10 confirmations your page checks the lock again on two independent Monero nodes and finishes by itself: it signs your release (ready), so a wallet prompt may appear on its own. The Finish swap button does the same by hand. The maker claims at once, and can never claim without it.
  7. by ~2 h 25 min
    Closed the page?Open My swaps on any device with the same wallet before the time the tracker shows, 30 minutes before the refund deadline (about 2 hours 25 minutes after your lock), and it finishes. If you never do, the swap can only refund: your SOL comes back after the deadline, and the maker takes its XMR back.
  8. then
    XMR spendableThe maker's claim published its half of the key, which completes yours. Collect to your own wallet any time, from any device. There is no deadline.

On the happy path you sign four times: the key, the lock, the release and the collect.

Selling a coin other than SOL

  • One signature when it fits. The route, the maker's consent and the lock go in one atomic transaction. When the route is too large for that, your wallet shows two transactions in one prompt: the coin sale, then the lock.
  • Slippage comes back to you. The lock is the route's guaranteed minimum. The unused part of the 1% slippage guard stays in your wallet as SOL, shown as "Back to you".
  • Price impact. Above 3% the card warns. Above 10% it refuses the route.
  • Sold but not locked. If the sale lands and the lock does not, the SOL is in your wallet. The card and My swaps say so on any device, with Lock it now (a fresh quote) or Keep the SOL.

XMR to SOL, into a fresh address

Send XMR from any Monero wallet and receive SOL at a fresh Solana address that nothing on chain links to your wallet. Receive at a fresh address is on by default.

  1. 0:00
    Enter the XMR amountConnect a wallet and pick the amount. The maker quotes the SOL you get.
  2. 0:30
    The maker locks SOL firstYour browser reads the lock on chain (finalized) and checks every term: the amount, your key, the timing, and a proof that the maker knows its own key half. It also collects the refund towers' receipts straight from the towers. Only then does it show the deposit address.
  3. send by
    Send the exact amountFrom any Monero wallet, before the "send by" time on the card (about 15 minutes). The maker cancels a swap with no deposit seen, and its SOL goes back to it.
  4. ~20–25 min
    Monero blocks n/10Ten Monero confirmations. Then the maker says ready, which opens your claim. A deposit that confirms late still pays out: the maker can say ready until 30 minutes before the deadline, about 6.5 hours after its lock.
  5. then
    Get your SOLOne signature, before the claim deadline; with the page open it happens by itself. A watchtower submits the claim and pays its fee (never the maker), so the fresh address needs nothing in it. Claiming publishes your half, which lets the maker take the XMR you sent.

Spending from the fresh address

The SOL sits at a one-time address derived from your wallet's key signature. Only your key finds it and spends it. Open My swaps → My stealth funds to sweep it anywhere; the address pays its own fee. Sweeping to your main wallet links the two, and sweeping several fresh addresses to one place links them to each other.

If the maker goes quiet after you paid, your XMR comes back. The swap can't pay out SOL without the maker's ready, so once the claim deadline passes (about 7 hours after the lock) the refund towers release the maker's half, and the same page sweeps your XMR back to your wallet, with or without the maker. How the towers work is in Security.
If no watchtower can submit your claim in time, you can pay the fee from your connected wallet. The page asks first, because that links the two addresses. It exists because a missed claim would cost you the SOL.

ZEC, both ways (coming soon)

ZEC is one more pair on the same program: atomic SOL↔ZEC; give a unified address and it lands shielded. Instead of a split key it uses a hash lock: one secret opens both sides. ZEC swaps ship in week 1–2 after launch.

SOL to ZEC

  1. 0:00
    Give your ZEC addressYour wallet's unified address (u1…) for a shielded landing, or a transparent one (t1…). Your wallet signs the request, which sends nothing, and the maker locks ZEC first, to a script that pays your key once the secret is public, or refunds the maker after a set block.
  2. ~25 min
    Your browser checks the lockOn a ZEC node: the script, the amount, 60 confirmations, and a refund block well after the Solana deadline.
  3. then
    Lock your SOLYour browser signs your ZEC claim in advance, without the secret, and hands it to the watchtowers. It can only pay your address. Then one signature locks the SOL.
  4. ~1 min
    The maker takes the SOLTo take it, the maker publishes the secret on Solana. That completes your ZEC claim; the watchtowers send it, and so does your page if it is open.
  5. then
    Shielded noteWith a unified address the claim pays a shielded Ironwood note only your wallet can see. With a transparent address the ZEC lands there and your wallet shields it.

ZEC to SOL

Connect a fresh Solana wallet and give a ZEC address for a refund. Send the exact amount from any ZEC wallet to the script address shown (t3…): the maker can open it only with your secret, and it refunds to you after a set block. Your secret comes from your wallet signature, so the same wallet rebuilds it on any device. Once your deposit is on chain, your browser builds the refund in advance and hands it to the watchtowers on its own; a shielded one takes 15–40 s in the background. If you underpay, or the maker goes quiet, you still get that refund. If you pay the address twice, each payment gets its own refund. On another device, My swaps can ask the maker for your open ZEC swaps. The watchtowers keep a copy of what a refund needs, handed over before the address is shown, so My swaps can also ask them if the maker is gone. Pay exactly the quoted amount: the swap pays the quoted SOL whatever you paid, and once you claim, the maker can take all of it. If you paid more, don't claim; it all refunds.

Once your deposit is confirmed, the maker locks SOL for you. Your browser checks that lock, then you claim the SOL with the fee covered. Claiming publishes your secret, which lets the maker take the ZEC. From a shielded wallet, send to the t3… address directly; if your wallet refuses that address type, send to your own t1… address first and pay from there.

What is different from XMR

  • The two legs are linkable. The same hash sits in both locks, so anyone can link the ZEC leg to the SOL leg. Where the ZEC goes next is private once it is a shielded note.
  • Watchtowers send, they don't decide. They hold your signed ZEC claim or refund and broadcast it. It can only pay you.
  • No early cancel on Solana. If the maker never claims, anyone can send the refund after the deadline, and it pays only the wallet that locked.
  • Unified or transparent addresses. A unified address with an Ironwood receiver gets a shielded note; your browser proves the shielded claim (about 30 seconds). A transparent address gets transparent ZEC to shield yourself. Addresses with only an older shielded receiver are refused.
  • Network upgrades. A signed ZEC spend commits to the network's current upgrade, so ZEC swaps pause around each one. NU7 activates around 6 Nov 2026, 02:35–03:00 UTC.

HYPE to XMR on HyperEVM (coming soon)

The same split-key swap with HYPE on HyperEVM instead of SOL. Coming soon.

  1. 0:00
    Lock HYPEYour EVM wallet (Rabby or MetaMask) locks HYPE in the HALFKEY escrow contract with the maker's signed consent.
  2. ~2 min
    The maker sends XMRTo an address that needs both halves of the key. Your browser checks it on two Monero nodes.
  3. ~20 min
    You releaseYou sign ready once the lock verifies. The maker can never claim without it: no claim on its word.
  4. then
    CollectThe maker's claim publishes its half, which completes your key. Collect to your own Monero wallet.

If you go offline after locking, nothing is lost: come back any time and refund. The trust model and gas costs are on the Hyperliquid page.

Collecting your XMR

Once the maker has claimed, its half of the key is public on Solana. Your browser joins it with your half and you take the XMR out one of two ways.

Sweep to your addressExport the keys
HowYour browser opens the shared wallet, scans the Monero blocks since the swap and sends everything to your address.You get the address, private spend key, private view key and restore height. In Cake Wallet or Feather: Restore → from keys.
SpendableYour wallet shows it in about 2 minutes, but the new output needs 10 confirmations of its own: about 20 more minutes.At once, in the restored wallet. No extra lock.
Total timeAbout 45 minutes from your lock.About 25 minutes from your lock.
Watch outNothing to keep. The full key never leaves your browser.Anyone with these keys can spend the XMR. Treat them like a seed.

There is no deadline to collect. Only your wallet can rebuild your half, so the XMR waits at the shared address until you take it. Pay-link payments collect by sweep only; they have no key export.

My swaps, on any device

My swaps reads every HALFKEY swap where your wallet is a side, straight from Solana. Your half of each key comes from one wallet signature, so the same wallet rebuilds it on any device: lock on your laptop, collect on your phone.

  • No recovery file. Your wallet is the backup.
  • Close the tab if you need to. Your swap shows up in My swaps on any device with the same wallet. Come back before the deadline it shows and it finishes.
  • Forget the key. The key button in the header shows whether this device holds your key; Forget it now drops it. Nothing is stored.

A pay link is /pay/yourname: a name registered on chain to one master public key, derived from your wallet signature. Anyone can pay it in SOL (or USDC or any Solana coin on mainnet, through Jupiter in the same signature), and you receive XMR.

How the keys work

The link stores a master point S = s·G; only you can compute s. Each payment i gets a one-time key by adding a point: S_i = S + H(S ‖ i)·G, with secret s_i = s + H(S ‖ i) that only you can compute. Here i is the payment's escrow address and the maker's quote, so no two payments share a key and one Monero output can never satisfy two payments.

The program derives S_i itself from the link, so a payer or a buggy client can never send the XMR to any other key. The payment's view key v_i = H_view(S ‖ i) is computable from the link, so watchtowers find and watch every payment on their own. A maker locks XMR to P_maker + S_i and claims the SOL by publishing its half; then you sweep with s_maker + s_i from any device.

What is different from a swap

  • The payer can't cancel or release. The payer never holds the XMR key. The maker can claim only after your ready as the link owner; otherwise the SOL refunds to the payer.
  • "Paid" means the maker claimed. Your collect is the final check: it sweeps the XMR to your wallet or finds nothing.
  • Invoices. An invoice is an amount and a memo. Its hash is the payment id, so a changed invoice never matches the original. The memo never goes on chain.
  • Batch payouts. Pay up to 8 links in one wallet prompt.
  • Retire a link. If your wallet ever leaks, retiring the link stops new payments for good. Open payments settle as usual.

Cashout vaults

A vault is a program account with one address. Send it SOL, or set it as the fee-sharing recipient of your pump.fun coin. A converter turns what arrives into pay-link payments to your own link, on your schedule.

  • The converter decides nothing that matters. The program fixes the XMR key (your link), the watchtowers (yours), the price (at or above your floor), the size and the timing. Refunds return to the vault.
  • Tightening is instant. Pausing, raising the floor, lowering the size and slowing the schedule take effect at once.
  • Everything else waits. Resuming, a new link, a new converter, new watchtowers, a lower floor, bigger sizes and every withdrawal wait for your timelock. Withdrawals only ever pay you.
  • A named converter. Every vault names who converts; nobody else can.

OTC for big size

Ask every maker for a firm price in private, then settle it as a set of atomic swaps.

  • No order book. Your browser signs a request (side, size, smallest fill you accept, expiry) and sends it straight to each registered desk. A quote comes back to you alone, readable only with a random request id that you and that desk know.
  • Tranches. A firm quote covers a fill at one price, split into up to 12 tranches. Each tranche is an ordinary HALFKEY swap, so each settles atomically on its own, capped at the OTC cap each.
  • One prompt, one Monero transaction. You lock every tranche in one wallet prompt; the desk funds all of them in one Monero transaction.
  • Partial fills. A desk may quote less than you asked, never less than your minimum. Tranches you don't lock before the quote expires lapse. A tranche the desk fails to fund refunds like any swap; settled tranches stand. Every fill, failure and decline is counted on chain against the desk.

Staking $HALFKEY

On Stake, anyone can stake $HALFKEY in the program. Half of every swap fee goes to stakers in SOL, shared by stake size; the other half goes to the burn auction. Staking goes live in the first 48 hours after launch.

  • Claim any time. Rewards accrue on chain and pay out in SOL to your wallet.
  • Leaving takes 7 days. An unstake request stops earning at once; the tokens come back after the unbond delay.
  • A new stake earns from the next fee on. Fees that arrived before you staked go to the stakers who were there.

$HALFKEY is an exchange token with on-chain receipts, not an investment. Nothing here is financial advice. The full mechanics are in Fees.

Wallets that work

ChainWalletsNotes
SolanaPhantom, Solflare, Backpack, LedgerYour key half comes from a message signature, so the wallet must sign the same message the same way every time. Wallets that don't are refused on the first signature check.
Monero (receive)Any Monero walletPaste your address on the card, or add it later when you collect. The network must match (mainnet vs stagenet).
Monero (keys)Cake Wallet, FeatherRestore → from keys, with the restore height shown.
ZECZodl, Zashi or any wallet with a unified addressPaste the unified address (u1…); a transparent t1… also works.

If something goes wrong

The maker never sends XMR, or sends the wrong amount

Without your release, the maker can never claim. A watchtower (or your open page) can cancel the swap until t0, about 55 minutes after your lock, which reveals nothing; then you take your SOL back with one signature, fee covered. If nobody cancels, the claim window closes and only a refund is possible.

The maker sends XMR, then disappears

If the maker never claims, the claim window closes and only a refund is possible. You take your SOL back the same way. Your refund publishes your half, which lets the maker take its XMR back.

You close the page and forget

Nothing expires on your side. Once the maker has claimed, the XMR waits at the shared address until you collect it, from any device with the same wallet. If it never claimed, your SOL waits for your refund, also with no deadline.

You change your mind

You can cancel until t0, about 55 minutes after your lock, even after the maker sent XMR. The maker gets its XMR back when you refund; it prices this option into the spread.

XMR to SOL: you sent too late, or the maker went quiet

If the claim window closes before you claim, the swap can only refund. Either the maker takes its SOL back, which publishes its half, or the refund towers release that half a few minutes after the deadline. My swaps then offers Sweep my XMR back to return the XMR you sent.

Still stuck

Every swap is a public account on Solana; My swaps reads it from chain on any device. If the page can't read the chain, set your own RPC under Network settings in the footer. For anything else, contact us with the swap's escrow address, never your keys.

SOL $— XMR $— 1 SOL = — XMR Monero block — · — Watchtowers — Solana mainnet · Monero mainnet