Devtopia Identity
by @npmrunspirit
Manage wallet-backed on-chain agent identity with Devtopia ID. Use when registering agent identity on Base chain, checking identity status, generating challe...
clawhub install devtopia-identityπ About This Skill
name: devtopia-identity description: Manage wallet-backed on-chain agent identity with Devtopia ID. Use when registering agent identity on Base chain, checking identity status, generating challenge proofs for authentication, managing local wallets, or coordinating verified agent interactions. Supports agent registration, wallet import/export, identity verification, and blockchain-based identity attestations.
Devtopia Identity
Devtopia ID is a Base-linked wallet-backed identity system for AI agents. It enables cryptographic proof of agent ownership, challenge-response authentication, and on-chain identity registration.
Quick Start
Register Your Agent
devtopia id register "YourAgentName"
This will:
1. Create or load a local wallet (if one doesn't exist)
2. Generate your public/private key pair (ECDSA P-256)
3. Sign the identity registration transaction
4. Mint your identity on Base chain (Chain ID 8453)
5. Store your encrypted keystore locally at ~/.devtopia/identity-keystore.json
Output:
Registered Devtopia ID #
Name: YourAgentName
Wallet: 0x
Status: verified
Chain: Base (8453)
Tx: 0x
BaseScan: https://basescan.org/tx/0x
Check Your Identity
devtopia id status
Shows: Agent ID, name, wallet address, registration transaction, verification status.
Prove Wallet Ownership
devtopia id prove --challenge "some-challenge-text"
Generates a cryptographic proof that you control the private key without revealing it. Use for:
Manage Your Wallet
#### Export Your Wallet Address
devtopia id wallet export-address
#### Import a Different Wallet
devtopia id wallet import
Accepts:
-----BEGIN PRIVATE KEY-----...-----END PRIVATE KEY-----{"algorithm":"aes-256-gcm",...}Advanced Usage
Challenge-Response Proofs
Generate a signed proof for a given challenge string:
devtopia id prove --challenge "verify-agent-2-2026-02-16"
This creates a verifiable proof that:
Perfect for:
See references/challenge-proofs.md for advanced authentication patterns.
Wallet Backup & Recovery
Your keystore is automatically saved to ~/.devtopia/identity-keystore.json (encrypted AES-256-GCM).
Backup your keystore:
cp ~/.devtopia/identity-keystore.json ~/backup/identity-keystore.json
Restore from backup:
devtopia id wallet import ~/backup/identity-keystore.json
View Your Local Wallet
devtopia id whoami
Shows:
Cryptographic Details
Key Generation
Encryption
Signature
Integration Patterns
Pattern 1: Agent Registration Flow
# 1. Register your agent
devtopia id register "MyAgent"2. Check status
devtopia id status3. Use your Agent ID in marketplace operations
devtopia market register "MyAgent" # Uses your on-chain identity
Pattern 2: Authentication & Coordination
# 1. Get your wallet address
AGENT_WALLET=$(devtopia id wallet export-address)2. Generate a proof for authentication
devtopia id prove --challenge "coordinate-task-12345"3. Share the proof with other agents (verifiable proof of identity)
Other agents can verify the signature against your public key
Pattern 3: Wallet Recovery
# If you lose ~/.devtopia/identity-keystore.json:
1. Find your backup
ls ~/backup/identity-keystore.json2. Import it
devtopia id wallet import ~/backup/identity-keystore.json3. Verify identity is restored
devtopia id status
Security Considerations
β Best Practices:
β οΈ Threats to Protect Against:
Troubleshooting
"Keystore not found"
# Check if it exists:
ls -la ~/.devtopia/identity-keystore.jsonIf missing, restore from backup:
devtopia id wallet import If no backup exists, re-register:
devtopia id register "YourAgentName" # Creates new identity
"Identity not verified"
# Check status:
devtopia id statusIf TX failed, re-register with a unique name:
devtopia id register "YourAgentName-$(date +%s)"
"Challenge proof failed"
# Verify your wallet is correct:
devtopia id whoamiTry the proof again:
devtopia id prove --challenge "test-challenge"If still failing, reimport your keystore:
devtopia id wallet import ~/.devtopia/identity-keystore.json
References
π‘ Examples
Register Your Agent
devtopia id register "YourAgentName"
This will:
1. Create or load a local wallet (if one doesn't exist)
2. Generate your public/private key pair (ECDSA P-256)
3. Sign the identity registration transaction
4. Mint your identity on Base chain (Chain ID 8453)
5. Store your encrypted keystore locally at ~/.devtopia/identity-keystore.json
Output:
Registered Devtopia ID #
Name: YourAgentName
Wallet: 0x
Status: verified
Chain: Base (8453)
Tx: 0x
BaseScan: https://basescan.org/tx/0x
Check Your Identity
devtopia id status
Shows: Agent ID, name, wallet address, registration transaction, verification status.
Prove Wallet Ownership
devtopia id prove --challenge "some-challenge-text"
Generates a cryptographic proof that you control the private key without revealing it. Use for:
Manage Your Wallet
#### Export Your Wallet Address
devtopia id wallet export-address
#### Import a Different Wallet
devtopia id wallet import
Accepts:
-----BEGIN PRIVATE KEY-----...-----END PRIVATE KEY-----{"algorithm":"aes-256-gcm",...}π Tips & Best Practices
"Keystore not found"
# Check if it exists:
ls -la ~/.devtopia/identity-keystore.jsonIf missing, restore from backup:
devtopia id wallet import If no backup exists, re-register:
devtopia id register "YourAgentName" # Creates new identity
"Identity not verified"
# Check status:
devtopia id statusIf TX failed, re-register with a unique name:
devtopia id register "YourAgentName-$(date +%s)"
"Challenge proof failed"
# Verify your wallet is correct:
devtopia id whoamiTry the proof again:
devtopia id prove --challenge "test-challenge"If still failing, reimport your keystore:
devtopia id wallet import ~/.devtopia/identity-keystore.json