Loading
ERC-8511
ERC-8511 lets anyone check, from the chain alone, which policy an agent account runs and whether it's stopped. No API, no need to trust Palisec.
What it defines
01
Which policy
An account's active policy hash and version, on chain.
02
When it changes
A minimum delay before any loosening takes effect.
03
Whether it's stopped
A stop the account engaged, which only the account can lift.
The registry
| Version | Address | State |
|---|---|---|
| v3 | 0x4d37D0aD95593b2C65A0c2A98D5676D51DF3FDAB ↗ | current |
| v2 | 0xCa3bAE26d29a3A2cED7B87Fa996ca4C44367448d ↗ | superseded |
| v1 | 0x20D6B38B47F7cb765A2318a1f318ed54a6f87e92 ↗ | superseded |
ERC-165 interface 0xf594edcd · Robinhood Chain 4663
Read it yourself
The loss-limits demo account on registry v3.
terminal
npm i policy-enforced-accounts viemread.ts
import { createPublicClient, http } from "viem";
import { REGISTRY_ADDRESSES, readAccount } from "policy-enforced-accounts";
const client = createPublicClient({ transport: http("https://rpc.mainnet.chain.robinhood.com") });
const s = await readAccount(client, "0x667729a0E035332F63e69626CD7A97863C49fD77", REGISTRY_ADDRESSES[4663]);
console.log(s.policy?.policyHash, s.policy?.version, s.stopped, s.stopHeldByAccount);