[ AI agent record on HSK Chain ]
Sealed before the market answers
An AI agent trading mock tWHSK/tUSDT tokens on our own testnet pool commits each prediction, and each abstention, to HSK Chain. The contract scores it from the pool's own TWAP, and anyone can recompute the score.
CALL #284 · DOWN > 10 TICKS · 60.0% · OPEN · open tx →
- CALL #284 DOWN > 10 TICKS 60.0% OPEN
- CALL #283 UP > 10 TICKS 5.0% OPEN
- CALL #282 DOWN > 10 TICKS 60.0% OPEN
- CALL #281 UP > 10 TICKS 5.0% OPEN
- CALL #280 DOWN > 10 TICKS 60.0% OPEN
- CALL #279 UP > 10 TICKS 5.0% OPEN
- CALL #278 DOWN > 10 TICKS 60.0% OPEN
- CALL #277 UP > 10 TICKS 5.0% OPEN
- CALL #276 DOWN > 10 TICKS 60.0% MISS BRIER 0.3600
- CALL #275 UP > 10 TICKS 5.0% MISS BRIER 0.0025
- CALL #274 DOWN > 10 TICKS 60.0% MISS BRIER 0.3600
- CALL #273 UP > 10 TICKS 5.0% MISS BRIER 0.0025
- CALL #272 DOWN > 10 TICKS 60.0% MISS BRIER 0.3600
- CALL #271 UP > 10 TICKS 5.0% MISS BRIER 0.0025
- CALL #270 DOWN > 10 TICKS 60.0% MISS BRIER 0.3600
- CALL #269 UP > 10 TICKS 5.0% MISS BRIER 0.0025
- CALL #268 DOWN > 10 TICKS 60.0% MISS BRIER 0.3600
- CALL #267 UP > 10 TICKS 5.0% MISS BRIER 0.0025
- CALL #266 DOWN > 10 TICKS 60.0% MISS BRIER 0.3600
- CALL #265 UP > 10 TICKS 5.0% MISS BRIER 0.0025
- CALL #264 DOWN > 10 TICKS 60.0% MISS BRIER 0.3600
- CALL #263 UP > 10 TICKS 5.0% MISS BRIER 0.0025
- CALL #262 DOWN > 10 TICKS 60.0% MISS BRIER 0.3600
- CALL #261 UP > 10 TICKS 5.0% MISS BRIER 0.0025
- CALL #260 DOWN > 10 TICKS 60.0% MISS BRIER 0.3600
- CALL #259 UP > 10 TICKS 5.0% MISS BRIER 0.0025
- CALL #258 DOWN > 10 TICKS 60.0% MISS BRIER 0.3600
- CALL #257 UP > 10 TICKS 5.0% MISS BRIER 0.0025
- CALL #256 DOWN > 10 TICKS 60.0% MISS BRIER 0.3600
- CALL #255 UP > 10 TICKS 5.0% MISS BRIER 0.0025
- Calls
- 285
- Abstentions
- 21
- Resolved
- 277
- Mean Brier
- 0.1135
LIVE (TESTNET) scoreboard() at block 36,573,488. Lower Brier is better.
[01] How it works
How a call becomes a record
Four steps, each one a transaction you can open on the explorer. Nothing is scored until it is sealed on chain.
01Commit
Every 10 minutes the keeper commits a direction and a probability for the next 30 minutes, with a hash of its model, features and a secret nonce. When it sees no edge it records an abstention instead.
commit(predHash, pBps, horizon, dir, thresholdTicks)02Resolve
After the horizon anyone can resolve the call. The contract reads the pool's 10-minute TWAP and counts a hit only if the tick moved more than K in the called direction.
resolve(id)03Reveal
The keeper reveals the model hash, features hash and nonce. The contract checks them against the commit, so the record shows which model made each call.
reveal(id, modelHash, featuresHash, nonce)04Trade
Trades go only through the vault. It needs a fresh UP call and checks size, cooldown, daily loss, TWAP and reference deviation, and slippage on chain. The keeper key cannot withdraw.
buy(predId, usdtIn)
[02] The vault
What the vault refuses
The vault – These limits live in AgentVault. A trade that breaks one reverts, even when the keeper signs it. Try asking the agent to withdraw everything.
- Per trade
- 5 USDT
- Cooldown
- 30 min
- Minimum p for a buy
- 20%
- Slippage
- 1%
- Spot vs TWAP
- 30 ticks
- Pool vs reference price
- 1.50%
- Daily loss cap
- 3 USDT
- Trades per day
- 6
[03] Check it
Check it yourself
The record – Every score comes from public chain events and pool state. You do not have to trust this site to read it.
In the browser
Recompute every score from chain events and pool state, then compare with scoreboard().
Run verificationFrom a terminal
The same check with no web app in between.
node scripts/verify.mjs --log 0x1c9605058078c35515c9CB0627C4Ca985b78c2Db --from 36522621 --rpc https://testnet.hsk.xyz- PredictionLog0x1c9605…c2Db
- AgentVault0x49087E…c2e2
- Keeper0x5787C8…A4B9
- tWHSK/tUSDT test pool0xf394a0…37C9
- v0 rule BASELINE0x897102…fc04
- v1 logistic BACKTEST0x65a49e…987f
Never asks for a seed phrase
Connect a wallet to sign, or continue as a guest.
Keeper key cannot withdraw
A trade that breaks a vault limit reverts on chain.