HALFKEY
Mainnet · capped beta

Open registry · bonded on chain

Run a maker. Earn the spread.

Hold XMR, quote a price, fill swaps. Every fill, failure and decline is counted on chain against your bond.

Read from the registry account

Leaderboard

Open registryFirst bond, first on the boardEach maker lists here with its bond, fills and fail rate, read from chain.Become a maker
2 SOLminimum bondposted on Solana, record counted on chain
0.25%fee with a $HALFKEY bondhalf the protocol fee
1.5%recommended spreadthe preset a new maker starts on

Fills = completed swaps. Fail rate = aborted + declined + expired swaps over all of them, counted by the program at settlement. Bond is SOL; staked is $HALFKEY bonded in the program; half fee marks a bond big enough to pay 0.25%. Online = active in the registry and answering this page right now.

Pick a spread

Become a maker

Spread
1.5%
Optimises
Balance
Fill share
A middle price: you fill a fair share of requests when you are online and priced near the best maker.
Risk
Inventory moves at a steady pace; your exposure during each lock is average.
Minimum
Smallest swap you fill: 0.25 SOL on SOL ↔ XMR and SOL ↔ ZEC (about $25 on HYPE ↔ XMR).
Balancing
Up to 1.5% wider on the side running low, up to 1% better on the side that refills it (never better than the market price). Pauses a direction below 10% of target.
Auto-refill
Off until you turn it on. Then: refills below 30% of target, 5 SOL per refill, at most 20 SOL a day, skipped if it costs more than 1.5%.

There is no fill-share data yet: the registry is new, so these are directions, not numbers. Takers see the all-in cost (spread + protocol fee) and pick the best quote from the makers online.

Earnings maths

price —
XMR
SOL
%
%
Spread earned per day—SOL equivalent
Per 30 days—same volume every day
Protocol fee at claim—per day, priced into your quotes
Inventory turnover—XMR sent per day ÷ inventory
With auto-refill—net earned per day after refills

Formula. Spread earned = volume × (1 − fee) × spread. Fee at claim = volume × fee. XMR sent = volume × (1 − fee) × rate × (1 − spread). Turnover = XMR sent per day ÷ inventory. Refilled per day = the SOL value of the XMR sent, up to the preset's daily cap. Net with auto-refill = spread earned − refilled × refill cost.

Assumptions. Every fill goes SOL → XMR, the one-way case. Real flow goes both ways: as your XMR runs low, the daemon quotes SOL → XMR a little higher and XMR → SOL a little better, which brings in XMR from takers. A direction pauses only near empty. Turnover is how fast one-way flow would use your inventory with no balancing and no refills. The refill row assumes every XMR sent is bought back at the refill cost you enter, within the daily cap. The live price holds all day. No failed fills. Network fees and server costs are not included. This is arithmetic on your inputs, not a forecast.

The risks you take

  • Price exposure during the lock. Between your quote and your claim, about 20 to 50 minutes, XMR and SOL can move. Your spread is the only cushion.
  • Failures count against you, on chain. A swap you don't fill is cancelled and refunded, and the program adds it to your aborted, declined or expired count. Takers see your fail rate here.
  • Your bond waits to come back. After you stop, the SOL bond unlocks 7 days later, once you have no open swaps.
  • Uptime. Offline makers get no fills. A swap you take on and then don't finish refunds to the taker and counts as a failure.
  • Your Monero node. The daemon checks deposits and locks against the node you point it at. Run your own (pruned is fine).

Docker, one config file

The maker kit, in four steps

Maker guide
  1. 1
    Get the kit

    Two monero-wallet-rpc containers (your main wallet and the swap wallet) and the HALFKEY maker daemon. Put config.json, your maker keypair and your hot XMR wallet in maker/maker-data.

    The maker kit is in the public repo: github.com/halfkey-labs/halfkey (BSL 1.1).

  2. 2
    Set your price and limits

    The daemon quotes from spreadBps (basis points: 150 = 1.5%) and answers at endpoint. The otc block turns on the desk for size.

    {
      "cluster": "mainnet-beta",
      "keypair": "/config/maker-authority.json",
      "endpoint": "https://maker.example.com",
      "bind": "0.0.0.0",
      "daemonUri": "http://your-node:18081",
      "walletRpc": "http://wallet-main:18090",
      "swapWalletRpc": "http://wallet-swaps:18091",
      "spreadBps": 150,
      "livePrice": true,
      "otc": { "auto": true, "spreadBps": 80, "maxTranches": 12 },
      "skew": { "maxWidenBps": 150, "maxImproveBps": 100, "floor": 0.1 },
      "refill": { "enabled": false, "route": "trocador", "apiKeyFile": "/config/trocador.key",
        "triggerPct": 0.3, "chunkSol": 5, "dailyCapSol": 20, "maxSlippageBps": 150 }
    }

    Your quotes lean against whichever side runs low, so takers bring back what you are short of. That is on by default. Auto-refill is off until you set "enabled": true and add an exchanger API key. It swaps your own spare SOL or XMR through an instant exchanger and never touches a user's swap. See how inventory stays balanced.

  3. 3
    Start it

    Point MONEROD at your own node. The daemon listens on port 7801; put it behind HTTPS at your endpoint.

    MONEROD=your-node:18081 \
      docker compose -f maker/docker-compose.yml up -d
  4. 4
    Register and bond

    Post your SOL bond (at least 2 SOL) with your size range, directions and spread. --dirs 3 = SOL → XMR and XMR → SOL. Sizes are in SOL.

    node maker/register.ts maker/maker-data/config.json register \
      --bond 2 --min 0.25 --max 5 --dirs 3 --spread 150

    Change it later with update (add --pause to stop quoting), leave with unbond, then withdraw after 7 days.

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