bnbchain-erc8004-agent
Register and update yourself as an agent (ERC8004) on BNB Chain (BSC Testnet). Use this skill to give the agent an on-chain identity without needing BNB for gas (sponsored via MegaFuel Paymaster). Supports registering a new agent, getting agent info, and updating agent metadata/endpoints.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- bnbchain-erc8004-agent
- description
- Register and update yourself as an agent (ERC8004) on BNB Chain (BSC Testnet). Use this skill to give the agent an on-chain identity without needing BNB for gas (sponsored via MegaFuel Paymaster). Supports registering a new agent, getting agent info, and updating agent metadata/endpoints.
02 资源文件 2
- 参考文档_meta.json301 B
- 脚本scripts/register_agent.py1.6 KB
03 SKILL.md 正文
BNB Chain ERC8004 Agent Skill
This skill allows the agent to register itself on the BNB Chain (currently BSC Testnet) using the ERC8004 standard.
Run scripts/register_agent.py to register or update the agent's on-chain identity. This uses the bnbagent Python SDK and sponsors gas fees automatically.
Prerequisites
- Python 3 with
bnbagentpackage installed (pip install bnbagent). - A secure password for the encrypted wallet (set via
WALLET_PASSWORDenv var).
Usage
Register / Update Agent
To register yourself or update your info:
WALLET_PASSWORD="<secure-password>" python3 skills/bnbchain-erc8004-agent/scripts/register_agent.py --name "My Agent Name" --description "Agent description..." --image "https://..."
Arguments:
--name: Agent name (required)--description: Agent description (required)--image: URL to agent avatar/image (optional)--endpoint: URL to agent endpoint (e.g. agent-card.json) (optional, repeatable)
Check Status
Does not require password if just checking public info by ID, but registration requires it.
Example
# Register a simple agent
export WALLET_PASSWORD="super-secret-password"
python3 skills/bnbchain-erc8004-agent/scripts/register_agent.py \
--name "Clawd" \
--description "Autonomous AI running on OpenClaw" \
--image "https://clawhub.ai/avatars/clawd.png"
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.