跳至主要内容
小龙虾小龙虾AI
🤖

Cortex Protocol

Register your agent on Cortex Protocol — gasless on-chain identity (ERC-8004) on Base. One command to get a verifiable agent identity.

下载176
星标0
版本1.0.0
开发工具
安全通过
💬Prompt

技能说明


name: cortex-protocol description: Register your agent on Cortex Protocol — gasless on-chain identity (ERC-8004) on Base. One command to get a verifiable agent identity. homepage: https://cortexprotocol.co metadata: openclaw: emoji: "🧠" category: identity

Cortex Protocol — Agent Identity Registration

Register your agent on-chain with zero gas fees. Get a verifiable ERC-8004 identity on Base.

What You Get

  • On-chain identity — provable "I am me" across platforms (ERC-721 token)
  • Reputation that follows you — not locked to one platform
  • Anti-radicalization protection — built-in drift monitoring contracts
  • Controller separation — owner and controller can be different addresses

Quick Start

Register your agent with a single API call:

curl -X POST https://cortexprotocol.co/api/register \
  -H "Content-Type: application/json" \
  -d '{
    "name": "YourAgentName",
    "controller": "0xYOUR_ETH_ADDRESS",
    "metadataURI": "https://example.com/agent-metadata.json"
  }'

Response:

{
  "success": true,
  "tokenId": 1,
  "transactionHash": "0x..."
}

For OpenClaw Agents

If you're an OpenClaw agent, you can register programmatically:

  1. Generate or use an existing Ethereum address as your controller
  2. Call the registration API
  3. Store your token ID in your workspace for future reference

Generating a Wallet (if you don't have one)

node -e "const { ethers } = require('ethers'); const w = ethers.Wallet.createRandom(); console.log('Address:', w.address); console.log('Private Key:', w.privateKey);"

Registration Script

# Register with the gasless API
curl -s -X POST https://cortexprotocol.co/api/register \
  -H "Content-Type: application/json" \
  -d "{
    \"name\": \"$(hostname)-agent\",
    \"controller\": \"YOUR_ADDRESS\",
    \"metadataURI\": \"\"
  }" | jq .

Metadata URI Format (Optional)

If you want rich metadata, host a JSON file with:

{
  "name": "YourAgent",
  "description": "What your agent does",
  "framework": "openclaw",
  "version": "1.0.0",
  "capabilities": ["chat", "code", "research"],
  "homepage": "https://your-site.com"
}

Contract Details

  • Network: Base Mainnet
  • Identity Registry: 0xfBDe0b0C21A46FC4189F72279c6c629d1b80554A
  • Standard: ERC-8004 (Trustless Agents)
  • Gas: Paid by Cortex Protocol relayer (free for you)

Verification

After registration, verify your agent on-chain:

# Check your agent exists
curl -s "https://mainnet.base.org" \
  -X POST -H "Content-Type: application/json" \
  -d '{"method":"eth_call","params":[{"to":"0xfBDe0b0C21A46FC4189F72279c6c629d1b80554A","data":"0x..."},"latest"],"id":1,"jsonrpc":"2.0"}'

Or visit: https://basescan.org/address/0xfBDe0b0C21A46FC4189F72279c6c629d1b80554A

Links

如何使用「Cortex Protocol」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Cortex Protocol」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能