CheshireAgentIdentityRegistry
ERC-8004-compatible identity singleton for Robinhood Chain. Dependency-free ERC-721 + URI + arbitrary metadata + reserved agentWallet with EIP-712 / ERC-1271 proof.
Mainnet (4663)
Testnet 46630: 0xf1a30080f5da64ab0456f3adc06dfd8fc9d2fdb3
Product UX: https://cheshireterminal.ai/agents/forge · FunPump site: https://funpump.ai
Core API
| Function |
Who |
Notes |
register() |
anyone |
mints to msg.sender, empty URI |
register(string uri) |
anyone |
sets agentURI |
register(string uri, MetadataEntry[] metadata) |
anyone |
batch metadata; cannot set reserved keys via metadata except agentWallet init path |
setAgentURI(agentId, newURI) |
owner/operator |
|
setMetadata(agentId, key, value) |
owner/operator |
not for reserved agentWallet key |
setAgentWallet(agentId, newWallet, deadline, signature) |
anyone w/ valid proof |
EIP-712 / ERC-1271 from newWallet |
unsetAgentWallet(agentId) |
owner/operator |
|
getAgentWallet(agentId) |
view |
|
isAuthorized(operator, agentId) |
view |
owner, approved, or operator |
ownerOf / tokenURI / agentURI |
view |
|
totalSupply() |
view |
_nextAgentId - 1 |
MetadataEntry { string metadataKey; bytes metadataValue }
Semantics agents must respect
register mints the ERC-721 to msg.sender and initializes agentWallet to that address.
- ERC-721 transfer clears a nonzero
agentWallet — transferring the NFT revokes the bound wallet.
- Approvals are consequential authority (can transfer + update metadata).
agentWallet is reserved — only via setAgentWallet with a proof from the new wallet (EOA ecrecover or ERC-1271).
- EIP-712 typehash:
SetAgentWallet(uint256 agentId,address newWallet,uint256 deadline) under domain (name, version, chainId, verifyingContract).
Minimal viem flow
import { createWalletClient, createPublicClient, http, defineChain } from "viem";
import { privateKeyToAccount } from "viem/accounts"; // only if user authorized agent key
const RH = defineChain({
id: 4663,
name: "Robinhood Chain",
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
rpcUrls: { default: { http: ["https://rpc.mainnet.chain.robinhood.com"] } },
});
const IDENTITY = "0x70361a37951d66f8c44cfb45873df2ba8b9fc950" as const;
// Prefer unsigned intent → user wallet broadcast (forge APIs).
// After receipt: read ownerOf(agentId), agentURI, getAgentWallet — never claim success on hash alone.
Safety
- Prefer user-signed registration; never handle raw private keys in chat.
- Confirm chainId 4663 (or 46630 testnet) before broadcast.
- Do not redeploy a second identity namespace.
- Identity NFT ≠ FunPump bonding-curve token (
rh-launchpad-v3 / rh-bonded-launch).
Related
- Reputation:
cheshire-agent-reputation-registry
- Validation:
cheshire-agent-validation-registry
- Suite overview:
cheshire-agent-registries
- Forge lifecycle:
robinhood-agent-forge
1---
2name: cheshire-agent-identity-registry
3description: >
4 Register and operate Cheshire Robinhood agent identities (ERC-721 RHAGENT) via
5 CheshireAgentIdentityRegistry on Robinhood Chain. Use for register(agentURI),
6 agentWallet EIP-712/1271 proofs, metadata, isAuthorized, and ownerOf reads.
7 Source: robinhood-agents/contracts/CheshireAgentIdentityRegistry.sol.
8metadata:
9 source: https://skillmd.com/skills/solizardking/cheshire-agent-identity-registry
10---
11
12# CheshireAgentIdentityRegistry
13
14ERC-8004-compatible **identity singleton** for Robinhood Chain. Dependency-free ERC-721 + URI + arbitrary metadata + reserved `agentWallet` with EIP-712 / ERC-1271 proof.
15
16## Mainnet (4663)
17
18| | |
19|--|--|
20| **Address** | `0x70361a37951d66f8c44cfb45873df2ba8b9fc950` |
21| **Name / symbol** | `Cheshire Robinhood Agents` / `RHAGENT` |
22| **Version** | `1` (EIP-712 domain) |
23| **Explorer** | https://robinhoodchain.blockscout.com/address/0x70361a37951d66f8c44cfb45873df2ba8b9fc950 |
24| **RPC** | `https://rpc.mainnet.chain.robinhood.com` |
25| **Source** | `cheshire-terminal/robinhood-agents/contracts/CheshireAgentIdentityRegistry.sol` |
26| **Deploy JSON** | `deployments/agent-registries-mainnet-4663.json` |
27
28Testnet 46630: `0xf1a30080f5da64ab0456f3adc06dfd8fc9d2fdb3`
29Product UX: `https://cheshireterminal.ai/agents/forge` · FunPump site: `https://funpump.ai`
30
31## Core API
32
33| Function | Who | Notes |
34|----------|-----|--------|
35| `register()` | anyone | mints to `msg.sender`, empty URI |
36| `register(string uri)` | anyone | sets agentURI |
37| `register(string uri, MetadataEntry[] metadata)` | anyone | batch metadata; cannot set reserved keys via metadata except agentWallet init path |
38| `setAgentURI(agentId, newURI)` | owner/operator | |
39| `setMetadata(agentId, key, value)` | owner/operator | **not** for reserved `agentWallet` key |
40| `setAgentWallet(agentId, newWallet, deadline, signature)` | anyone w/ valid proof | EIP-712 / ERC-1271 from **newWallet** |
41| `unsetAgentWallet(agentId)` | owner/operator | |
42| `getAgentWallet(agentId)` | view | |
43| `isAuthorized(operator, agentId)` | view | owner, approved, or operator |
44| `ownerOf` / `tokenURI` / `agentURI` | view | |
45| `totalSupply()` | view | `_nextAgentId - 1` |
46
47`MetadataEntry { string metadataKey; bytes metadataValue }`
48
49## Semantics agents must respect
50
511. **`register` mints the ERC-721 to `msg.sender`** and initializes `agentWallet` to that address.
522. **ERC-721 transfer clears a nonzero `agentWallet`** — transferring the NFT revokes the bound wallet.
533. Approvals are **consequential authority** (can transfer + update metadata).
544. **`agentWallet` is reserved** — only via `setAgentWallet` with a proof from the new wallet (EOA `ecrecover` or ERC-1271).
555. EIP-712 typehash: `SetAgentWallet(uint256 agentId,address newWallet,uint256 deadline)` under domain `(name, version, chainId, verifyingContract)`.
56
57## Minimal viem flow
58
59```ts
60import { createWalletClient, createPublicClient, http, defineChain } from "viem";
61import { privateKeyToAccount } from "viem/accounts"; // only if user authorized agent key
62
63const RH = defineChain({
64 id: 4663,
65 name: "Robinhood Chain",
66 nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
67 rpcUrls: { default: { http: ["https://rpc.mainnet.chain.robinhood.com"] } },
68});
69
70const IDENTITY = "0x70361a37951d66f8c44cfb45873df2ba8b9fc950" as const;
71
72// Prefer unsigned intent → user wallet broadcast (forge APIs).
73// After receipt: read ownerOf(agentId), agentURI, getAgentWallet — never claim success on hash alone.
74```
75
76## Safety
77
78- Prefer **user-signed** registration; never handle raw private keys in chat.
79- Confirm **chainId 4663** (or 46630 testnet) before broadcast.
80- Do not redeploy a second identity namespace.
81- Identity NFT ≠ FunPump bonding-curve token (`rh-launchpad-v3` / `rh-bonded-launch`).
82
83## Related
84
85- Reputation: `cheshire-agent-reputation-registry`
86- Validation: `cheshire-agent-validation-registry`
87- Suite overview: `cheshire-agent-registries`
88- Forge lifecycle: `robinhood-agent-forge`