Skip to content

Built on Injective · verified by Bittensor SN50

Trading agents,bound by the chain.

Describe a strategy in plain words. An AI writes it into rules once, you sign them, and an Injective contract enforces every limit on every trade. A prompt can't talk its way past it.

智 · zhì · wisdom — the seal that signs every rule

BTC · oracle 0x67
—
Last oracle update
—
Injective block
—
Agents deployed
—
Out-of-bounds orders
0

01 — How it works

Three layers. Each one distrusts the layer above it.

01 — compile · once

The model plans.

You describe a strategy the way you'd text a friend. An AI compiles it once into a strict rule tree: fixed indicators, bounded numbers, no free text. You read it and sign its hash. Then the AI leaves. It never holds a key.

Can
turn your words into rules
flag what it had to guess
Can't
place a trade
touch funds
change a limit later
zhi / compileexample run · 1/3

› long BTC when the 20 EMA is above the 50, 3x, cut losses at 1.5%

"entry": EMA(20) > EMA(50)

"sizing": 10% equity · 3× · max $2,500

"exit": TP 3% · SL 1.5% · max 24h

"risk": freeze at −4%/day · slippage 35bps

keccak256 0xd3cde509…7bc783081f

✓ signed (EIP-712) by 0x0dA2…A8b9

02 — Bittensor SN50 · every entry

The subnet verifies.

Before any entry, Synth (Bittensor subnet 50) is asked whether its forecast distribution agrees with the trade and whether volatility is calm. If it disagrees, or doesn't answer, the trade is skipped and the forecast's hash is written on-chain.

Can
veto an entry
leave public evidence of why
Can't
force a trade
bypass the vault
zhi / synth-gateexample run · 2/3

› GET synthdata.co/insights/prediction-percentiles?asset=BTC&horizon=1h

P0 (Injective oracle) 74,159.28

F(P0) on last step 0.34

P(up) = 1 − F(P0) 0.66 ≥ 0.60 ✓

band 5–95% 160bps ≤ 180 ✓

synthHash 0x8f1c…e2a0 → attached to intent

03 — Injective EVM · every order

The chain enforces.

Funds sit in a Guardrail Vault on Injective. It re-checks every order: size, leverage, price against the oracle, cooldown, daily loss. Then it trades Injective's native orderbook. A bad day freezes it, and anyone can pull that brake.

Can
trade inside your limits
freeze itself on a bad day
Can't
exceed a bound
be loosened without a 24h wait
injective / guardrail-vaultexample run · 3/3

› executeIntent(nonce 14)

rule tree signed ............... ok

market allowlisted ............. ok

notional $2,498 ≤ $2,500 ....... ok

leverage 2.99× ≤ 3× ............ ok

worst price within 0.5% ........ ok

drawdown −0.6% > −4% ........... ok

→ createDerivativeMarketOrder via 0x65

ExecutionLogged(…, synthHash)

02 — Playground

Try to break the vault. You can't.

Pick an attack or drag the sliders. The checks run in the same order as the real contract, using the live demo agent's limits.

The intent the harness sends

$1,500 / $2,500
2× / 3×
+0.20% / ±0.50%
66% / ≥ 60%
+0.6% / freezes at −4%
  1. Forecast agrees on directionSN50
  2. Volatility inside the bandSN50
  3. Daily loss above −4%vault
  4. Rule tree signed by ownervault
  5. Market on the allowlistvault
  6. 180s since last entryvault
  7. Position ≤ $2,500vault
  8. Leverage ≤ 3×vault
  9. Oracle price is freshvault
  10. Price within 0.5% of oraclevault

executedExecutionLogged(…, synthHash)

Every bound held. The vault places a market order on Injective's native orderbook, with its own address as the fee recipient.

nonce consumed · nothing reverts · evidence stays on-chain

03 — Guardrail Vault

The rule lives in the vault.

Not in the AI, not in a bot's config. In a Solidity contract on Injective that re-checks every order. Failing a check never reverts: the skip is logged and kept as evidence.

GuardrailVault.sol · executeIntent

if (it.margin == 0 || notional * 100 / it.margin > bounds.maxLeverageX100)
    return _skip(it, Skip.LEVERAGE);

Leverage is notional divided by the margin the intent posts. Zero margin is rejected outright.

on failure → TradeSkipped(LEVERAGE) · returns false · nonce consumed

04 — Live

Not a mockup. The chain, right now.

Every number below is read from Injective testnet as you load this page. Nothing here is mocked.

Agent #72 · BTC/USDC perpetual

vault 0x9e229B…5E8f26
status
—
agent (ERC-8004)
—
equity
—
intents · executed
—
max position
—
max leverage
—
freezes at
—
oracle band
—
fee recipient
—
Open its evidence feed

BTC / USDC · Injective oracle precompile 0x67

—

The exact price the vault checks every order against. Chainlink Data Streams, delivered on-chain by Injective.

block — · refreshes every 6s

05 — Zhi Score

Behaviour becomes capital.

Each day, an agent's fills and skips are hashed into a report and posted to its ERC-8004 identity. The score (300–850) can be recomputed by anyone and only counts after a 72-hour challenge window.
Credit tiers by Zhi Score
TierZhi ScoreHistoryCredit vs your capitalMax creditBorrow APR
0< 600—0×——
1600–69930d · 100 trades1×$10,00012%
2700–77960d · 200 trades2×$50,00010%
3≥ 78090d · 300 trades3×$250,0008%

Credit always sits behind your own capital. It is sized so a vault freezing at its drawdown limit loses at most half of your stake first: d(1 + k) ≤ 0.5. Lenders aren't exposed unless the market gaps past that buffer.

06 — Questions

Straight answers.

  • No. The AI only writes a rule tree, once, which you read and sign. It never holds a key. Only your vault can place orders, and it re-checks every limit itself.

  • The harness key can only submit intents. It can't withdraw, change limits or unfreeze. At worst it trades badly inside your limits until you rotate the key.

  • Synth (subnet 50) is a network of competing models forecasting price distributions. Zhi checks the forecast agrees with each entry and that volatility is calm. If not, or if Synth is down, the trade is skipped.

  • A public emergency brake. If a vault has lost more than its daily limit, anyone can call poke() and it freezes, even when its harness is offline.

  • On Injective's native on-chain orderbook, through the exchange precompile. No bridges, no AMMs, no exchange accounts.

  • Zhi makes agents safe and verifiable, not profitable. A bad strategy can still lose money, but never more than its limits allow.

Sign once. Sleep.

  1. step 1

    Describe

    Type the idea or pick a template.

  2. step 2

    Review & sign

    Read every rule; sign the hash.

  3. step 3

    Launch

    Vault + identity go live on Injective.

approved · 0xd3cde509…83081f