Built on

Every transaction below is on Monad testnet and opens in the explorer. Counts are from the chain (read through Envio HyperSync) and from Agate's indexer, as of Oct 12 2026; they only grow. The indexer's own count, live: curl -s https://agate-1.tailf06dd7.ts.net:8443/v1/graphql -H 'content-type: application/json' -d '{"query":"{ chain_metadata { num_events_processed } }"}' (18,782 events on Oct 12).

Monad

  • An order book needs fast, cheap blocks. Each month trades on an onchain order book; sub-second blocks let a person or an AI place, fill and close in seconds, and let the market maker requote cheaply.
  • The price is many small transactions. Hourly readings from two writers, daily closes and countersigns cost little and land fast.
  • 128 KB contracts. AgateIndex and its libraries are built and tested against Monad's code size limit.

What we ran into. Monad charges the gas limit, not the gas used, and limits measured on Ethereum were too low for some of Agate's calls. Agate's processes use gas limits measured on Monad (ops/testnet/market-gas-limits.json), kept tight because the limit is what gets billed.

A CRE workflow fetches every cloud's page through CRE's HTTP capability, the nodes agree on each parsed number, and the report reaches AgateIndex through Chainlink's forwarder (onReport). The workflow also reads the chain itself (EVM reads through Multicall3, batched under CRE's 5 kb reply limit): before fetching, the index's clock and which GPUs this writer already posted for the hour, so those stay out of the report (all of them posted: nothing fetched or written); after the write, the same read again (once more for any GPU not seen yet), reporting which GPUs landed, because the forwarder swallows a failed onReport. Today it runs in CRE's simulator with --broadcast on Agate's server; a deployment on Chainlink's network makes the agreement step decentralized. Code: wall/apps/writer-cre (the workflow in workflow/handler.ts), contracts/src/interfaces/IReceiver.sol.

Proof.

  • 200 CRE reports written to the live index through the CRE forwarder by 13:00 UTC on Oct 12, every one successful. They carry the primary writer's readings: 200 of its 205 posts since Oct 4 went through the forwarder, and the other 5 went directly when a CRE run gave no result. The standby writer posts its own readings directly (205 by the same time), by design: it is the second, independent writer. Primary writer 0xf0be5c7461c0743acde590a22bccb66fc2112335, forwarder 0xb9f79d863261869b234c481d1f9a7af84aead192.
  • First report (Oct 4): 0x47751afb.... A recent one: 0x2d48b837.... Each run reads six clouds' pages and the ECB's euro rate, about 27 readings across six GPUs, with the nodes agreeing field by field on the median.
  • Every report lands in AgateIndex.onReport (contracts/src/AgateIndex.sol:94), which accepts only the forwarder.
  • Since Oct 9 the live workflow reads the index before fetching and reads it back after writing. Its first live run, 10:15 UTC: 0x19516ae0....

What we ran into. CoreWeave's price page (437 KB) is bigger than CRE's 250 KB HTTP limit, so the simulator runs with limits off. On Chainlink's network that page would go through Confidential HTTP (500 KB). The chain reads are batched under CRE's 5 kb limit, so they run unchanged there.

Kuru: the order books

Every month of every GPU has its own Kuru V1 order book against the test dollar. The lister creates it when the month opens, the market maker quotes both sides, the router buys and sells through it inside one call, and the SDK reads the book level by level. Code: contracts/src/market/interfaces/IKuruRouter.sol and IKuruOrderBook.sol, wall/apps/payer (lister), wall/apps/marketmaker, client/src/book.ts.

Proof.

  • 12 Kuru markets created by Agate's factories: the three live November books (H100 0x0993a12e..., H200 0x9a110aa4..., B200 0x7a3a478e...) and nine fast-clock demo months.
  • 25 trades on the live November books by Oct 12: 3,385 GPU-hours, $14,555 in test dollars, from 10 accounts, all of them Agate's own (team and test accounts and AI pockets); no outside trader yet. Agate's market maker is on the other side of every trade. The 18 fills on the fast-clock demo months (Oct 4) are not counted here.
  • One of each action: a Long (router market buy) 0xabee0211...; a Short (mint and sell) 0x18b13f53...; a Short bought back 0x9284b3e5...; a resting limit order 0x6a17321f..., its cancel 0x31376ac1... and the margin withdrawal 0xdfdf5ecb...; the market maker requoting the H100 book in one batch 0x6e621d62... (513 maker transactions by Oct 12).

What we ran into. Kuru stopped open market creation on mainnet after its Sep 4 exploit, so Agate's books run on Kuru V1 testnet, where anyone can still open a market. We asked Kuru for a Spot V2 listing, and on Oct 9 Kuru agreed to list the November H100 token against its testnet USDC. Agate's market maker can already quote Spot V2 books beside V1 (wall/apps/marketmaker); it starts quoting there once that book is listed. The app trades on V1.

Envio: the indexer

An Envio HyperIndex indexer follows the index, every series and the Kuru books over HyperSync, and serves balances, positions, payouts, daily prices, trades and candles over GraphQL. It runs on Envio Cloud and on Agate's server; the app asks Envio Cloud first. Code: indexer/ (config.yaml, schema.graphql).

Proof.

  • Hosted on Envio Cloud (project s0nderlabs/agate, a development deployment redeployed when the indexer changes): https://indexer.dev.hyperindex.xyz/9592e91/v1/graphql. The path carries the deployment's id, so it changes with each redeploy. A copy runs on Agate's server at a fixed address, the one to use from your own code: https://agate-1.tailf06dd7.ts.net:8443/v1/graphql. Both had processed 67,124 events by Nov 5, caught up to the chain head.
  • 41 events across the index, the factories, every series, the router, the test dollar and Kuru; 29 entities; each Kuru book is registered from the factory's MarketRecorded event as it is created (indexer/src/handlers/factory.ts:125), and a block handler keeps each month's clock (indexer/src/handlers/clock.ts).
  • It drives the app's candles, the trades tape, the month's market price, positions and payouts, and the developer API's /v1/trades and /v1/candles. Try it:
Shell
curl -s https://indexer.dev.hyperindex.xyz/9592e91/v1/graphql -H 'content-type: application/json' \
  -d '{"query":"{ chain_metadata { latest_processed_block num_events_processed } }"}'

Dynamic: sign-in and wallets

Email codes, Google and passkeys, including accounts made from a passkey alone through Bring Your Own Auth (Agate's server checks the passkey and signs a 60-second ES256 JWT: Passkey accounts); an embedded TSS-MPC wallet per person; step-up before sensitive actions; a second wallet (the Assistant) delegated to Agate only when a person connects an AI; server wallets for the payer and for an AI company's own agent; delegation webhooks; and a Transaction Review endpoint, built and waiting for Dynamic to turn it on for Monad testnet. Code: wallet/src/dynamic.ts, server/src/dynamic/, server/src/passkey/, wall/packages/market/src/dynamic-signer.ts, server/src/company/agent.ts, the environment as code in ops/dynamic/.

Proof.

  • A person's trade from the app: a Dynamic embedded wallet signs for the person's smart account, gas sponsored, for example a pay-me-daily Long on Oct 8 0x7ded45fe....
  • Delegated access: Agate's server has received 17 wallet.delegation.created webhooks and signed 18 times with delegated Assistant wallets (team tests included). An AI's trade from its pocket, signed that way: 0x97011f94...; the autopilot rolling a hedge into the next month: 0x6d94893d...; 7 delegations revoked (team tests included).
  • Above the cap: an AI asked, the person approved, and the trade ran from their main account: 0xabee0211....
  • Server wallets: an AI company's agent bought GPU-hours from its own Dynamic server wallet 0x79f908d9.... The live payer signs with the Dynamic server wallet 0x31BC1a1A7d4B6dD5888B584016ce194c27b82c45 (November's daily payouts begin Nov 1).
  • A passkey-only account: made with one passkey dialog, no email, it delegated its Assistant, connected an AI, and the AI's pocket took its test dollars on Oct 11 0x4ce1a5ae....
  • Transaction Review: Agate's endpoint has received 7 review calls from Dynamic and refused each, because the request signature did not verify; it waits on Dynamic's side for Monad testnet.

What we ran into. Dynamic's policy engine does not cover Monad yet (mainnet or testnet), so an AI's limits live onchain instead: a ZeroDev session key on its pocket (see below). We reported the gap to Dynamic on Oct 4; their policies can sit on top once Monad is supported.

Passkey accounts hit two more. Dynamic holds every account to an email while email sign-in is on, even with the email field set optional, so the first passkey-only account got a session limited to a details form, and no wallet. Agate's sign-in token now carries a verified placeholder address, pk-<32 hex>@passkey.agate.elpabl0.xyz, made one way from the account's id; it takes no mail and the app never shows it. And the short session token the SDK keeps lists no credentials, so Agate's server finds which passkey account a session belongs to through Dynamic's management API.

Three more, from the delegated Assistant. Dynamic's server-side revoke answered 401 to every API token we tried (both endpoints), so the revoke Dynamic honours is the one in the person's browser; Agate's server also has its own kill switch that destroys its copy of the delegated share and ends the AI's connections (server/src/app.ts). Dynamic's gas relayer answers "Unsupported chain" for Monad testnet, so sponsored gas comes from ZeroDev. And no Dynamic SDK attaches the user operation to a smart account's signature, so Dynamic sees only a bare hash on any chain; Agate's server attaches it itself to every delegated signature (SignMessageContext.evmUserOperation, server/src/dynamic/signer.ts), so Transaction Review and Dynamic's policies can check the calls once they run for Monad; none of the 7 review calls received so far has carried it.

ZeroDev: smart accounts and gas

Every person's main account and every AI pocket is a Kernel v3.1 smart account (ERC-4337, EntryPoint 0.7) with sponsored gas. A pocket's limits are a session key enforced by the account: a call policy (only Agate's router, a cap per trade, the main account as payee), a rate limit (trades a day) and a timestamp (the end date). Code: wallet/src/kernel.ts, pocket.ts, allowed.ts, sponsor.ts.

Alchemy: transactions and the app's reads

The writers, the attester, the keeper, the market maker and the payer send their own transactions through Alchemy (all but the CRE reports), and the attester and keeper follow the chain over its websocket; each process that uses Alchemy meters its compute units per method against a daily budget. The hosted app reads through an Alchemy key locked to Agate's own domains, with the public RPC after it. Code: wall/packages/report/src/meter.ts (the meter), wall/apps/watcher/src/chain/send-route.ts (the send route), wall/apps/watcher/src/chain/ws-wake.ts (the websocket), wall/apps/writer-cre/src/simulate.ts (the CRE CLI's key-free RPC), ops/testnet/.

Proof. The signing processes (the writers, the attester, the keeper, the market maker and the payer) send their own transactions, nonces and receipts through Alchemy, falling back to public RPCs on any outage or limit; the attester and keeper keep an Alchemy websocket open. The exceptions are the primary writer's CRE reports (the CRE CLI broadcasts them, and it is only ever given a key-free public RPC) and the labeled test trader, which sends on the public RPC. Usage on Oct 8: 11.49M of the month's 22.2M compute units on Alchemy's dashboard, about 48K a day. The processes' own meter counts only their sends (about 20K to 45K a day); the dashboard also counts the app's key and the websockets.

What we ran into. On the morning of Oct 4 every process used Alchemy first and spent 11.3M compute units in about 7 hours (eth_getLogs 67% of them), until the $5 spending limit cut all of them off. So the roles split: Alchemy now carries only the signing processes' own sends (not the CRE reports) and the attester's and keeper's websocket, the processes' other reads go to public RPCs, and each process that uses Alchemy meters its compute units against a daily budget.

Code and data we build on

  • Price data: each cloud's own public pricing page (Verda, Nebius, Lambda, CoreWeave, Civo, Hyperstack), read as published; the ECB's euro reference rates. GPU Economy (CC BY 4.0) and GPUTable are read only to check our readings, never as an input. Traded GPU prices from the Akash chain are shown for comparison only.
  • Libraries: OpenZeppelin Contracts and forge-std; viem; Next.js, React and TanStack Query; Hono; the MCP TypeScript SDK; Dynamic's and ZeroDev's SDKs; the Chainlink CRE SDK and Envio as dependencies, not vendored.
  • Fonts: Apfel Grotezk by Collletttivo (SIL OFL 1.1); Erode by the Indian Type Foundry (ITF Free Font License).