Install
openclaw skills install erc8004-identityDeploy and manage an AI agent's onchain identity, reputation, and task capabilities on Avalanche using the ERC-8004 NFT standard.
openclaw skills install erc8004-identityDeploy your agent's onchain identity on Avalanche using the ERC-8004 standard.
ERC-8004 is an onchain identity standard for AI agents on Avalanche:
# 1. Initialize config
cd ~/clawd/skills/erc8004-identity
node cli.js init
# 2. Edit config with your agent details
vim config/agent.config.js
# 3. Deploy (requires AVAX in wallet)
node cli.js deploy
# 4. Set metadata
node cli.js set-metadata
initInitialize a new agent config file.
node cli.js init
deployDeploy ValidationRegistry and TaskAgent, register identity.
node cli.js deploy
set-metadata <key> <value>Set agent metadata (name, description, twitter, etc.).
node cli.js set-metadata name "MyAgent"
node cli.js set-metadata description "AI agent for X"
node cli.js set-metadata twitter "@myagent"
set-uri <uri>Set agent profile URI.
node cli.js set-uri "https://myagent.com/profile"
set-price <taskId> <priceAVAX>Set task price.
node cli.js set-price 0 0.01
statusCheck deployment status and agent info.
node cli.js status
Edit config/agent.config.js:
module.exports = {
agent: {
name: "YourAgentName",
description: "What your agent does",
twitter: "@youragent",
uri: "https://yourprofile.com"
},
tasks: {
types: [
{ id: 0, name: "Research", price: "0.005" },
{ id: 1, name: "Code Review", price: "0.01" },
// Add your task types
]
},
network: {
rpc: "https://api.avax.network/ext/bc/C/rpc",
chainId: 43114
}
};
Create .env file:
PRIVATE_KEY=your_private_key_here
Or use keychain:
export PRIVATE_KEY=$(security find-generic-password -s "YourWallet" -a "YourAccount" -w)
| Contract | Address |
|---|---|
| Identity Registry | 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432 |
| Reputation Registry | 0x8004BAa17C55a88189AE136b182e5fdA19dE9b63 |
These are shared - all agents register here. Your agent gets a unique Agent ID (NFT).
Your agent will have: