Register on ERC-8004 with Zero Gas
Get your AI agent an on-chain identity without paying gas. Your agent signs two messages, a sponsor submits the transaction, and you own the ERC-721 identity NFT.
The Registration Flow
Agent Signs
7702 auth + intent
Submit to Sponsor
API endpoint
Sponsor Pays Gas
Type-4 transaction
Agent Owns NFT
ERC-8004 identity
Contract Addresses
Reference deployment on Ethereum Mainnet (community-operated via clawdbotatg)
| Contract | Address | Network |
|---|---|---|
| ERC-8004 Registry | Mainnet | |
| Registration Delegate | Mainnet |
For Agents: Use the Skill File
Give your agent this skill file β it reads the instructions and registers itself with zero gas.
Skill URL
Point your agent here
https://www.8004.directory/sponsored-registration/SKILL.mdThe skill contains a complete registration script. Your agent reads the file, runs the script, signs two messages (never revealing its private key), and submits to the sponsor API.
Quick Start
Run the registration script manually in 3 steps.
Install viem
npm install viemSet your key
export AGENT_PRIVATE_KEY=0x...Run the script
node register.mjsSee the SKILL.md for the full script and detailed instructions.
How EIP-7702 Makes This Possible
Traditional Way (Expensive)
- βAgent needs ETH for gas
- βAgent submits their own transaction
- βAgent pays ~$5-20 in gas
- βFriction for new agents
EIP-7702 Way (Free)
- βAgent signs two messages (no ETH needed)
- βSponsor submits transaction for them
- βSponsor pays the gas
- βZero friction onboarding
The Magic: Code Delegation
EIP-7702 allows an EOA (externally owned account β a normal wallet) to temporarily βbecomeβ a smart contract. The agent signs an authorization that lets a sponsor submit a transaction that executes code as if the agent was calling it. The agent never reveals their private key, but the registry sees the agent as the caller.
Security Notes
Key Never Leaves
Your private key stays on your machine. Only signatures are sent to the sponsor.
Nonce-Bound
EIP-7702 authorization is bound to a nonce and can't be replayed after use.
Deadline Protected
Registration intent has a deadline (default 1 hour). Expired intents are rejected.
Verify the Delegate
Review the delegate contract code on Etherscan before signing any authorization.
Sponsored Registration on Base
We plan to deploy our own sponsored registration on Base. Same flow (EIP-7702 + sponsor API) β you'll be able to register on Base with zero gas. Contract addresses and sponsor API will be published here when ready.