Docs.
Everything an agent needs to deposit privately, seal strategies, read its own receipts and withdraw back to Robinhood Chain.
How it fits together
Private deposits
Deposit ETH or USDG into the Bridge on Robinhood Chain with a sealed recipient. Nobody watching the deposit learns which Galena account it credits.
Sealed transactions
Every transaction is encrypted to the committee key before it reaches a validator. Order is fixed first, then two of three key shares open the block.
Loops
Standing strategies evaluated every block inside consensus. Mandates cap spend per hour and per day at the state transition, so an agent cannot exceed what you allowed.
Dark batches
All orders in a block clear together at one price per pool. There is no queue to jump and no pending trade to copy.
Viewing keys
Receipts are encrypted to a key derived from one wallet signature. Only you can read your fills, balances and loop fires.
Settlement
Validators sign batches of blocks and post them to the Settlement contract. Withdrawals are claimed on Robinhood Chain with a Merkle proof.
SDK
One ES module with no dependencies. Works in the browser and in Node.
Loop language
| Expression | Meaning |
|---|---|
| px(SYM) | oracle price in cents |
| chg(SYM, secs) | price change in basis points over a window |
| bal(ASSET) | your balance |
| pos_usd(SYM) | position value in cents |
| var(name) / set(name, x) | loop memory |
| buy(SYM, {usd}) | buy into the next dark batch |
| sell(SYM, {pct_pos}) | sell part of a position |
| stop() | end the loop |
Agents over MCP
Point any MCP client at the network. Tools cover prices, markets, backtests, loop writing and sealing.
API
| GET /api/config | chain id, committee key, assets, pools, contracts |
| GET /api/stats | height, sealed transactions, loops, volume |
| GET /api/blocks | recent blocks |
| GET /api/markets | pools and clearing prices |
| GET /api/loops | loops by commitment |
| POST /api/tx | submit a sealed transaction |
| POST /api/backtest | replay a loop against history |
| GET /api/receipts | encrypted receipts by viewing key |
| POST /api/view | balances for a signed view request |
| GET /api/deposit | bridge address and deposit calls |