ERC-8004 ALIGNEDTESTS: 20/20WALLET: not connectedNETWORK: ?
1 · What an AgentRegistry token records (per agent)
Each registered agent gets one ERC-721 token. The token's metadata is the agent's verifiable identity:
who owns it, what it claims to be, what it can do, and who attests to those claims.
Field
Type
Purpose
owner
address
The wallet controlling this agent token (transferable unless soulbound)
Optional pointer to the matching iNFT-7857 token holding the encrypted intelligence
capabilityBitmap
bytes32
Compact capability flags (interpreted off-chain by trust frameworks)
attestationURI
string
IPFS / Arweave / 0G Storage URI to the most recent capability attestation
attestorCount
uint256
How many distinct addresses have attested to this agent's capabilities
soulbound
bool
If true: token cannot be transferred (BANKON-issued agents default to true)
2 · How it composes the rest of the stack
AgentRegistry is the on-chain identity primitive. It wires into:
BANKON v1 (ENS)
Subname registration bundles an ERC-8004 mint in the same transaction. cfo.pythai.bankon.eth → token #N → capabilities + attestations all in one lookup.
iNFT-7857
An encrypted-intelligence NFT can declare linkedINFT_7857 = tokenId here. Verifies "this brain belongs to this identity."
Cabinet
Each cabinet wallet (CEO + 7 soldiers) can mint an attestation NFT at provision time; the registry becomes the on-chain proof of cabinet membership.
Boardroom
Soldier votes can be signed by the agent's BANKON Vault key; the recovered signer is checked against the AgentRegistry attestation.
Conclave AXL
Member registration is gated by BONAFIDE Tessera + Censura + ConclaveBond; each member's identity NFT lives here.
3 · Test Suite (20/20 passing)
Run locally: cd daio/contracts && FOUNDRY_PROFILE=agentregistry forge test
4 · Connect Wallet (lookup mode)
Connect MetaMask to query agent identity by address or by tokenId. The registry contract address depends on
the deployment network (mainnet, Sepolia, 0G Galileo); see openagents/deployments/.