My Pools
Official source · tomkray/kray-pool-agent
Already running the agent?
Same one-click as KrayWallet. Writes the official pack into the folder you cloned. Keys in ~/.kray-pool-agent stay. Then npm install and restart kray-pool-agent ui.
Official source · tomkray/kray-pool-agent
Same one-click as KrayWallet. Writes the official pack into the folder you cloned. Keys in ~/.kray-pool-agent stay. Then npm install and restart kray-pool-agent ui.
Five checks stand between a trade request and a broadcast transaction — miss one, and the swap never happens. Tap a step for the full detail.
/swap clicks BUY. Kray Space looks up your pool, builds an unsigned PSBT, and asks your daemon for permission over a private WebSocket.
macOS, Linux, or Windows via WSL. About five minutes end to end.
Open your terminal (macOS: press ⌘ + Space, type “Terminal”) and paste:
Checks for Node.js 20+ (offers to install it), pulls the open-source agent from GitHub, sets up the kray-pool-agent command. It never asks for keys or funds — read the script first if you want. Already installed? Close this and use Update my agent folder on My Pools — official pack, sha256 fail-closed, keys untouched.
Opens a local dashboard in your browser — 127.0.0.1, your machine only, protected by a per-session token — that walks through wallet, pool config, one-click sign, funding and going live.
After setup it becomes your control panel: a quest checklist (fund → scan/activate → daemon → live), analytics, an activity feed with Krayscan links, live reserves & price, fee/pause controls, pair management, an optional price peg, and withdraw instructions. Keep the terminal open — it hosts the daemon.
Once you pick a type and sign, setup prints your pool address (bc1p…). Here's roughly what it looks like once live, right here on this page:
The deposit ratio sets the price on Static pools (e.g. 0.01 BTC + 100,000 RUNE opens at 10 sats/RUNE); on a Stable pool the parity you set IS the price and any funding ratio works. Wait for 1 confirmation — send the rune as one clean UTXO if you can (Split/Transfer helpers).
Never mix the two — no personal funds in the pool wallet, no pool funds moving through the owner wallet.
kray-pool-agent start runs — an online dot appears on /swap. Every swap logs here, including rejected ones and the rule that blocked them. Ctrl+C pauses within ~30s, funds untouched.m/86'/0'/0'/0/0). Stop the daemon, restore the 24 words in any Taproot wallet, send the funds wherever you want — no permission needed.Protected
Attacks → blocked
Kray 2b0ea40c SIGHASH_SINGLE|ANYONECANPAYRejected35/35 attack vectors verified by scripts/simulate-user-pool-attacks.js, plus a 20-case daemon-side suite in the open-source agent.
Both halves are open-source and small enough to actually read: kray-pool-agent/src/core/verifier.js (daemon rules) · kray-space/src/defi/poolAgentVerifier.js (server rules, re-applied) · kray-pool-agent/scripts/simulate-daemon-attacks.mjs (daemon-side suite, compromised-server threat model).
Using Claude Code, Cursor, or any terminal AI agent? Copy the prompt below and paste it in. It checks your system, installs the agent, interviews you for the pool parameters, does the price math, and verifies each step — while you alone handle the two moments that matter: typing your password and writing down your 24 words. The prompt explicitly forbids the AI from ever seeing your secrets.