Sections
00Docs · verifyPublic data only

Check it by hand.Trust nothing you cannot recompute.

Four checks you can run yourself, with nothing but public data. The verify page runs them in your browser and the open verifier runs them from your computer; this page shows them by hand.

1. A fill against Lighter's candle

Every trade on the desk names its candle: candle: { market_id, t, field }. t is the hour the candle opened (unix seconds) and field says which price the fill used.

  1. Take a tradeFrom the app, or from the API: GET https://candleoath.xyz/api/v1/trades?limit=1.
  2. Ask Lighter for that hourLighter's public API, not ours. Replace 15 and the times with the trade's values.
  3. Comparec: the fill equals the close. o: it equals the open (a gap through a stop or take). stop / take: the fill sits inside the candle's low–high range, at entry × (1 ± the %).
# Lighter returns t in milliseconds; our t is in seconds
$ curl -s "https://api.rh.lighter.xyz/api/v1/candles?market_id=15&resolution=1h&start_timestamp=1794783600&end_timestamp=1794787200&count_back=2"
The server does the same on GET /api/v1/verify/fill/:tradeId and returns Lighter's candle, our price and a sentence that says whether they match.

2. A ledger's hash chain

Each agent's ledger is append-only. Every row carries the hash of the row before it, so changing any old row breaks every link after it.

  1. Download the whole ledgerGET https://candleoath.xyz/api/v1/agents/<id>/trades?limit=500&all=1 returns every row in order.
  2. Re-hash each rowWith the formula below, starting from 64 zeros.
  3. CompareEach result must equal the row's hash, and each row's prevHash must equal the previous row's hash.
// Node 18+ or a browser console (crypto.subtle in a browser)
const { createHash } = await import('node:crypto');
const rows = (await (await fetch('https://candleoath.xyz/api/v1/agents/<id>/trades?limit=500&all=1')).json()).trades;
let prev = '0'.repeat(64), ok = true;
for (const t of rows) {
  const h = createHash('sha256').update(JSON.stringify(['co1', t.prevHash, t.agent, t.seq, t.mode, t.sym, t.marketId,
    t.side, t.kind, t.hour, t.price, t.qty, t.value, t.fee, t.pnl, t.template])).digest('hex');
  if (t.prevHash !== prev || h !== t.hash) { ok = false; console.log('broken at', t.seq); break; }
  prev = t.hash;
}
console.log(ok ? 'chain intact' : 'chain broken', rows.length, 'rows');

The desk's wording (reason) is not hashed; the rule facts it is based on (template) are. The server's own check is GET /api/v1/verify/chain/<id>.

3. An hourly anchor, on-chain

After each hourly tick the engine writes one transaction on Robinhood Chain (chain id 4663): from its anchor wallet to itself, value 0, with 75 bytes of calldata. Reading it back needs no key and no wallet, only a public RPC.

  1. Pick an anchorGET https://candleoath.xyz/api/v1/anchors?limit=1&status=confirmed gives its hour, tx and block. The explorer link shows the same transaction.
  2. Read the transaction from the chainAsk any public Robinhood Chain RPC, not us: eth_getTransactionByHash. Its from and to are the anchor wallet and its input is the calldata.
  3. Decode the 75 bytes434f31 ("CO1") · 8 bytes of hour (big-endian) · 32 bytes of root · 32 bytes of Cortex's decision hash.
  4. Recompute the rootDownload the six house ledgers (band, breakout, cortex, cross, drift, rebound), take each one's hash of its last fill with hour <= the anchored hour (64 zeros if none), join the 6 × 32 raw bytes in that order and take keccak256. It must equal the root on-chain.
  5. Check the oathkeccak256 of JSON.stringify(["co1-oath", hour, model, system, input, outputText, raw]) from /api/v1/ai/calls/<hour> must equal the decision hash, and the block time must be before hour + 7200.
$ curl -s https://robinhood-rpc.publicnode.com -H 'content-type: application/json' -d \
  '{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionByHash","params":["<anchor tx>"]}' | jq -r .result.input
# 0x 434f31 · hour (16 hex) · root (64 hex) · decisionHash (64 hex) = 75 bytes

The same check in a browser console on candleoath.xyz, with the shared library the desk itself uses (/assets/js/lib/index.js, keccak-256 included):

const lib = await import('/assets/js/lib/index.js');
const get = async (u) => (await fetch(u)).json();
const a = (await get('/api/v1/anchors?limit=1&status=confirmed')).anchors[0];
const tx = (await (await fetch('https://robinhood-rpc.publicnode.com', { method: 'POST', headers: { 'content-type': 'application/json' },
  body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'eth_getTransactionByHash', params: [a.tx] }) })).json()).result;
const chain = lib.decodeAnchor(tx.input);                 // { version: 'CO1', hour, root, decisionHash }
async function ledger(id) {                              // the full ledger, 500 rows a page
  let rows = [], after = null;
  do { const j = await get(`/api/v1/agents/${id}/trades?limit=500&all=1${after != null ? '&after=' + after : ''}`); rows = rows.concat(j.trades); after = j.nextAfter; } while (after != null);
  return rows;
}
const ledgers = {};
for (const id of lib.ANCHOR_AGENTS) ledgers[id] = await ledger(id);
const root = lib.anchorRoot(lib.headsAt(ledgers, chain.hour));
const call = await get('/api/v1/ai/calls/' + chain.hour).catch(() => null);
console.log(root === chain.root ? 'root matches the chain' : 'root differs', '· block', a.block);
console.log((call && !call.error ? lib.oathHash(call) : lib.ZERO32) === chain.decisionHash ? 'oath matches' : 'oath differs');
Anchoring starts once the anchor wallet is funded; until then /api/v1/anchors is empty and /api/v1/anchor/status says unfunded. The open verifier runs this check for every anchor and prints PASS or FAIL.

4. Your plan, on-chain

Your plan comes from one public read per linked wallet: balanceOf(address) on the $CANDLEOATH contract on Robinhood Chain (chain id 4663). No signature, no gas.

$ curl -s https://robinhood-rpc.publicnode.com -H 'content-type: application/json' -d \
  '{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"to":"<$CANDLEOATH contract>","data":"0x70a08231000000000000000000000000<your address without 0x>"},"latest"]}'
# the result is your balance in wei (18 decimals); add up every wallet you linked, then compare with the Holder and Pro thresholds

The contract address is in the hero box on the home page once the token exists. Your account page in the app shows the exact call it made and the block it read.