CLI
The @ensmetadata/cli package provides command-line tools for managing ENS node metadata, ERC-8004 registration files, and the on-chain identity registry.
Install
pnpm add -g @ensmetadata/cliCommands
ens-metadata metadata view <name> View metadata for an ENS name
ens-metadata metadata set <name> <payload> Set metadata text records on-chain
ens-metadata metadata template Generate a starter payload
ens-metadata metadata validate <payload> Validate a payload against its schema
ens-metadata registration-file template Generate an ERC-8004 registration file
ens-metadata registration-file validate Validate a registration file
ens-metadata registration-file publish Publish a registration file to IPFS
ens-metadata registry identity register Register an agent on-chain
ens-metadata registry identity query Query an agent identity
ens-metadata registry identity set-uri Update an agent URI
ens-metadata registry identity set-wallet Link a verified wallet to an agent
ens-metadata registry identity unset-wallet Clear a wallet from an agentRun ens-metadata <command> --help for usage details on any command.
See the CLI package on GitHub for full documentation and source.
Agent Prompt
Paste this into your AI assistant after reading the code.
To manage your ERC-8004 metadata with ENS, use the following command:
pnpm dlx @ensmetadata/cli --help