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
| # | Directions |
|---|
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%.
- Spread
- 1%
- Optimises
- Fill share
- Fill share
- A tighter price wins more of the requests that compare makers, since takers see the all-in cost.
- Risk
- Thinner margin per fill; a price move during the lock window can eat it.
- Minimum
- Smallest swap you fill: 0.1 SOL on SOL ↔ XMR and SOL ↔ ZEC (about $10 on HYPE ↔ XMR).
- Balancing
- Up to 1% 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 5% of target.
- Auto-refill
- Off until you turn it on. Then: refills below 40% of target, 10 SOL per refill, at most 50 SOL a day, skipped if it costs more than 1.5%.
- Spread
- 2.5%
- Optimises
- Margin per fill
- Fill share
- You fill fewer requests, mostly when other makers are offline or full.
- Risk
- Most room for price moves during the lock; idle inventory most of the time.
- Minimum
- Smallest swap you fill: 0.5 SOL on SOL ↔ XMR and SOL ↔ ZEC (about $50 on HYPE ↔ XMR).
- Balancing
- Up to 1.5% wider on the side running low, up to 0.5% better on the side that refills it (never better than the market price). Pauses a direction below 15% of target.
- Auto-refill
- Off until you turn it on. Then: refills below 25% of target, 2 SOL per refill, at most 8 SOL a day, skipped if it costs more than 1%.
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 —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
- 1Get 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 inmaker/maker-data.The maker kit is in the public repo: github.com/halfkey-labs/halfkey (BSL 1.1).
- 2Set your price and limits
The daemon quotes from
spreadBps(basis points: 150 = 1.5%) and answers atendpoint. Theotcblock 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": trueand 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. - 3Start it
Point
MONERODat your own node. The daemon listens on port 7801; put it behind HTTPS at yourendpoint.MONEROD=your-node:18081 \ docker compose -f maker/docker-compose.yml up -d
- 4Register 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--pauseto stop quoting), leave withunbond, thenwithdrawafter 7 days.