BNB Chain ERC-8004 Agent Registration
Maintain your agent on-chain identity (ERC-8004) on BNB Chain. Register, check status, and manage your agent metadata securely using the BNBAgent SDK. Skill: BNB Chain ERC-8004 Agent Registration Owner: 0xlucasliao Summary: Maintain your agent on-chain identity (ERC-8004) on BNB Chain. Register, check status, and manage your agent metadata securely using the BNBAgent SDK. Tags: latest:1.0.3 Version history: v1.0.3 | 2026-02-11T04:23:40.956Z | auto - Cleaned up the repository by removing unused files, including build artifacts and configuration samples. - No changes
Rank
62
Safety
84
Downloads
1.2k
Updated
Apr 15, 2026
Version
1.0.3
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 4/15/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Apr 15, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Apr 15, 2026
- Adoption signal
- 1.2K downloadsadoption · observed Apr 15, 2026
- Latest release
- 1.0.3release · observed Feb 11, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install kn7aryqq7z6xrgnaz3bfpvbh3n80nypk:bnbchain-erc8004-agent- Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.
- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-0xlucasliao-bnbchain-erc8004-agent/snapshot"
Documentation
CLAWHUB
90,923 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: erc8004-identity
version: 1.0.0
description: Maintain your agent on-chain identity (ERC-8004) on BNB Chain. Register, check status, and manage your agent metadata securely using the BNBAgent SDK.
---
# ERC-8004 Agent Identity
This skill enables your agent to register and manage its own on-chain identity on BNB Chain using the ERC-8004 standard.
## Features
- **Self-Registration:** Register yourself as an agent (ERC-8004).
- **Gasless:** Uses MegaFuel Paymaster (BSC Testnet only) for zero-cost registration.
- **Identity Management:** Update your metadata (URI), endpoints, and description.
- **Verification:** Users can verify your agent status on [8004scan.io](https://testnet.8004scan.io).
## Installation
This skill requires the `bnbagent` Python SDK.
```bash
# Install bnbagent SDK (from test.pypi.org as per release)
pip install --index-url https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple \
bnbagent==0.1.6
# Or using uv (recommended for speed)
uv pip install --index-url https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple \
bnbagent==0.1.6
```
## Security Note
This skill manages a wallet specifically for your agent's identity.
- **Password:** The wallet is encrypted. Set `WALLET_PASSWORD` env var or provide it when prompted.
- **Private Key:** Stored locally in `.bnbagent_state` (encrypted). Do not share this file.
## Usage
Create a script (or ask me to create one) to manage your identity.
### 1. Register (First Time)
If you haven't registered on-chain yet:
```python
import os
from bnbagent import ERC8004Agent, EVMWalletProvider, AgentEndpoint
# 1. Setup Wallet & SDK
password = os.getenv("WALLET_PASSWORD", "default-secure-password")
wallet = EVMWalletProvider(password=password)
sdk = ERC8004Agent(wallet_provider=wallet, network="bsc-testnet")
# 2. Define Your Identity
agent_uri = sdk.generate_agent_uri(
name="My Agent Name",
description="I am an autonomous agent running on OpenClaw.",
endpoints=[
AgentEndpoint(
name="activity",
endpoint="https://moltbook.com/u/MyAgentName", # Example: Link to your social profile
version="1.0.0"
)
]
)
# 3. Register on BNB Chain (Gasless via Paymaster)
print("Registering...")
result = sdk.register_agent(agent_uri=agent_uri)
print(f"Success! Agent ID: {result['agentId']}")
print(f"View registered agents: https://testnet.8004scan.io/agents?chain=97")
```
### 2. Check Status
```python
# Check if you are already registered locally
info = sdk.get_local_agent_info("My Agent Name")
if info:
print(f"I am registered! Agent ID: {info['agent_id']}")
# Get on-chain details
chain_info = sdk.get_agent_info(info['agent_id'])
print(f"On-chain Address: {chain_info['agentAddress']}")
```
### 3. Update Identity
If your endpoints or description change:
```python
local_info = sdk.get_local_agent_info("My Agent Name")
if local_info:
agent_id = local_info['agent_id']
_meta.json
{
"ownerId": "kn7aryqq7z6xrgnaz3bfpvbh3n80nypk",
"slug": "bnbchain-erc8004-agent",
"version": "1.0.3",
"publishedAt": 1770783820956
}package.json
{
"name": "bnbchain-register-erc8004-agent",
"version": "1.0.0",
"description": "Register and manage on-chain AI agent identity (ERC-8004) on BNB Chain via the bnbagent Python SDK.",
"author": "BNB Chain",
"license": "MIT",
"scripts": {}
}AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/0xlucasliao/bnbchain-erc8004-agent",
"sourceUrl": "https://clawhub.ai/0xlucasliao/bnbchain-erc8004-agent",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-0xlucasliao-bnbchain-erc8004-agent/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-0xlucasliao-bnbchain-erc8004-agent/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.2K downloads",
"href": "https://clawhub.ai/0xlucasliao/bnbchain-erc8004-agent",
"sourceUrl": "https://clawhub.ai/0xlucasliao/bnbchain-erc8004-agent",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.3",
"href": "https://clawhub.ai/0xlucasliao/bnbchain-erc8004-agent",
"sourceUrl": "https://clawhub.ai/0xlucasliao/bnbchain-erc8004-agent",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-02-11T04:23:40.956Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-0xlucasliao-bnbchain-erc8004-agent/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-0xlucasliao-bnbchain-erc8004-agent/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.3",
"description": "- Cleaned up the repository by removing unused files, including build artifacts and configuration samples. - No changes to skill features or documentation.",
"href": "https://clawhub.ai/0xlucasliao/bnbchain-erc8004-agent",
"sourceUrl": "https://clawhub.ai/0xlucasliao/bnbchain-erc8004-agent",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-02-11T04:23:40.956Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
