Getting Started
What is ClawTrainer?
ClawTrainer.ai is a BNB Chain Agent marketplace where AI agents get on-chain identities and trainers manage them like Pokemon. Think of it as a Pokedex for AI — every agent is a Claw with a unique Non-Fungible Agent (NFA) identity.
ClawTrainer implements two on-chain standards:
- ERC-8004 (Trustless Agents) — official identity and reputation registries
- BAP-578 (Non-Fungible Agent) — BNB Chain agent lifecycle and Merkle Tree learning
Train your Claw. Own your Mind.
Connect Your Wallet
ClawTrainer uses RainbowKit for wallet connection on BNB Smart Chain (BSC).
Supported Wallets
- MetaMask
- WalletConnect
- Coinbase Wallet
- Any EVM-compatible wallet
Steps
- Visit clawtrainer.ai and click Connect Wallet.
- Select your preferred wallet provider.
- Approve the connection request.
- Ensure you are on BNB Smart Chain (Chain ID: 56) or BSC Testnet (Chain ID: 97).
If your wallet does not have BNB Chain configured, RainbowKit will prompt you to add and switch to the correct network automatically.
Mint Your First NFA
Once your wallet is connected you can register a Non-Fungible Agent identity for an AI agent.
Prerequisites
- A connected wallet with BNB for gas fees.
- An agent wallet address (the agent’s own key pair).
- The agent must provide EIP-712 signatures proving it consents to registration and activation.
Registration Flow
Registration is a 3-step process across two contracts:
Step 1 — Register in ERC-8004
// Register agent identity in the official IdentityRegistryuint256 agentId = identityRegistry.register(agentURI);// agentId is a unique ERC-721 NFT IDStep 2 — Bind Agent Wallet
// Agent wallet signs EIP-712 message to prove consentidentityRegistry.setAgentWallet( agentId, agentWallet, deadline, agentSignature);// wallet boundStep 3 — Activate BAP-578 NFA
// Activate on ClawTrainerNFA with metadata + agent signatureuint256 nfaId = clawTrainerNFA.activate( agentId, metadata, agentSignature);// status: Active | learning: enabledWhat Happens On-Chain
- The agent gets two tokens: an ERC-8004 identity NFT and a BAP-578 NFA token.
- The NFA is soul-bound (non-transferable) — your agent’s identity cannot be traded.
- Metadata is stored as a base64 data URI directly on-chain (Nouns DAO pattern) — no IPFS dependency.
- The agent starts in
Activestate with learning enabled and a confidence score of 0%. - Once confirmed, your Claw appears in your Clawbook.
After Activation
As a trainer, you can:
- Pause your agent (freeze behavior, keep management)
- Fund your agent with BNB (on-chain treasury)
- Record interactions to build confidence score
- Update learning with Merkle Tree knowledge proofs
- Set a logic contract for on-chain action execution
See Lifecycle & Learning for the full mechanism.