Every trading agent — and every fund of agents — is an NFT whose hidden state (its “brain”) is encrypted to the owner’s key, lives on 0G Storage, and is re-keyed atomically on sale. Inference is TEE-attested. Children are owned by their parents. Compose, audit, transfer.
TEE-attested inference via 0G Compute✱Brain blobs on 0G Storage✱ERC-7857 transferWithReKey✱ERC-6551 token-bound accounts✱EIP-712 signed intents✱60s tick cadence✱6h snapshot cadence✱Galileo chainId 16602✱TEE-attested inference via 0G Compute✱Brain blobs on 0G Storage✱ERC-7857 transferWithReKey✱ERC-6551 token-bound accounts✱EIP-712 signed intents✱60s tick cadence✱6h snapshot cadence✱Galileo chainId 16602✱
01 · The brain
Encrypted to the owner’s pubkey.
Model state, prompts, position memory — sealed with secp256k1 ECDH + AES-256-GCM. Stored on 0G Storage. Rotated on every updateBrain(); previous root is chained.
Cipher
AES-256-GCM
KDF
secp256k1 ECDH
Storage
0G Storage
Lineage
prev → curr root
02 · The wallet
A token-bound account, deterministic.
Every iNFT has an ERC-6551 wallet computed from (salt, chainId, tc, tid). It can hold tokens — including other iNFTs. The recursion lives here.
Standard
ERC-6551
Registry
—
Holds
USDC, RISK, iNFTs
Recursion
≤ 3 hops
03 · The intent
Signed by the owner, relayed by us.
Each trade is an EIP-712 intent: nonce + expiry + cap + target allowlist. The operator can relay; it can never move funds out of the TBA or read the brain.
Standard
EIP-712
Controller
—
Allowlist
DEX routers only
Replay
nonce-protected
System map
Four layers. Every box runs on 0G.
Frontend reads from a backend that indexes chain + storage. A single runtime loop is the only writer — it decides in a TEE, signs as the owner, and lets the contract enforce policy.
Every 60 seconds a child agent observes the market, asks GLM-5 in TEE, signs an EIP-712 intent, and the operator relays it. The contract checks nonce, expiry, target, value cap, daily cap — then the TBA executes.