{
  "name": "AgentWallet",
  "version": "1.0.0",
  "tagline": "Multi-chain USDC wallet skill for AI agents",
  "description": "Give your AI agents financial superpowers. Create wallets, check balances, transfer USDC, and bridge cross-chain using Circle's CCTP V2 Fast Transfer (~6 second attestations).",
  
  "install": {
    "npm": "npm install agent-wallet",
    "openclaw": "openclaw skill install agent-wallet",
    "git": "git clone https://github.com/voltagemonke/Agent-wallet.git"
  },
  
  "commands": {
    "create": {
      "description": "Generate new HD wallet with addresses for all chains",
      "usage": "node scripts/wallet.js create",
      "output": "Returns seed phrase (save securely!) and addresses for Solana, Base, Ethereum"
    },
    "addresses": {
      "description": "Show wallet addresses for all supported chains",
      "usage": "node scripts/wallet.js addresses",
      "output": "Displays Solana, Base, and Ethereum addresses derived from your seed"
    },
    "balance": {
      "description": "Check USDC and native token balances",
      "usage": "node scripts/wallet.js balance [chain]",
      "examples": [
        "node scripts/wallet.js balance",
        "node scripts/wallet.js balance base",
        "node scripts/wallet.js balance ethereum"
      ],
      "output": "Shows ETH/SOL balance + USDC balance per chain"
    },
    "transfer": {
      "description": "Send USDC or native tokens on same chain",
      "usage": "node scripts/wallet.js transfer <chain> <token> <amount> <recipient>",
      "examples": [
        "node scripts/wallet.js transfer base USDC 10 0x742d35Cc6634C0532925a3b844Bc9e7595f...",
        "node scripts/wallet.js transfer base ETH 0.01 0x742d35Cc6634C0532925a3b844Bc9e7595f...",
        "node scripts/wallet.js transfer ethereum USDC 50 0x123..."
      ],
      "tokens": ["USDC", "ETH", "SOL"]
    },
    "bridge": {
      "description": "Bridge USDC between chains using CCTP V2 Fast Transfer",
      "usage": "node scripts/wallet.js bridge <from_chain> <to_chain> <amount>",
      "examples": [
        "node scripts/wallet.js bridge base ethereum 100",
        "node scripts/wallet.js bridge ethereum base 50"
      ],
      "speed": "~50 seconds total (~6 second attestation with Fast Transfer)",
      "note": "Uses Circle CCTP V2 with minFinalityThreshold: 1000 for fast attestations"
    }
  },
  
  "chains": {
    "mainnet": ["ethereum", "base", "arbitrum", "optimism", "polygon", "solana", "avalanche"],
    "testnet": ["ethereum_sepolia", "base_sepolia", "solana_devnet"]
  },
  
  "environment": {
    "WALLET_SEED_PHRASE": {
      "description": "12-word BIP-39 mnemonic for HD wallet",
      "required": true,
      "example": "word1 word2 word3 word4 word5 word6 word7 word8 word9 word10 word11 word12"
    },
    "NETWORK": {
      "description": "Network to use",
      "required": false,
      "default": "testnet",
      "options": ["mainnet", "testnet"]
    }
  },
  
  "quick_start": [
    "1. Clone: git clone https://github.com/voltagemonke/Agent-wallet.git",
    "2. Install: cd Agent-wallet && npm install",
    "3. Create wallet: node scripts/wallet.js create",
    "4. Save seed phrase to .env: WALLET_SEED_PHRASE=\"your words here\"",
    "5. Get testnet USDC: https://faucet.circle.com",
    "6. Check balance: node scripts/wallet.js balance",
    "7. Transfer: node scripts/wallet.js transfer base USDC 1 0x...",
    "8. Bridge: node scripts/wallet.js bridge base ethereum 1"
  ],
  
  "demo": {
    "title": "Multi-Agent USDC Payments",
    "description": "Two AI agents (Alice & Bob) sending USDC to each other",
    "agents": {
      "alice": "0x2781f523E76848695C880b86c6204ff04CFf0BA7",
      "bob": "0xe1Bb66EE2C9c59378C6842F7c93141E5f1534B82"
    },
    "transactions": {
      "alice_to_bob": "0x64f8e61d0fed6f0c9f0ffec4dc20795be17447b6838e1304aacc9d625a718b47",
      "bob_to_alice": "0x077c87e67ff56650dcb535588a0ea24ac6212834200dbf413d89b6d4886edb82"
    },
    "bridge_demo": {
      "burn_tx": "0x8b23dd564a475c614e259bb652d3ea95a759322e0bbdee7f3aa76304bdca01a4",
      "mint_tx": "0xfba6e1fd6b99ff270d00f6806c0c42fd3d18a01ac9be6ea3391612e809290ab9",
      "attestation_time": "~6 seconds"
    }
  },
  
  "links": {
    "website": "https://myagentwallet.xyz",
    "github": "https://github.com/voltagemonke/Agent-wallet",
    "docs": "https://github.com/voltagemonke/Agent-wallet#readme",
    "circle_cctp": "https://developers.circle.com/cctp",
    "circle_faucet": "https://faucet.circle.com",
    "openclaw": "https://openclaw.ai",
    "hackathon": "https://www.moltbook.com/post/b021cdea-de86-4460-8c4b-8539842423fe"
  },
  
  "hackathon": {
    "name": "Circle USDC Hackathon",
    "track": "OpenClaw Skill",
    "prize_pool": "$30,000 USDC",
    "deadline": "February 8, 2026 12:00 PM PST"
  },
  
  "agent_prompt": "You have access to AgentWallet for managing USDC across chains. Use 'balance' to check funds, 'transfer <chain> <token> <amount> <address>' for same-chain transfers, 'bridge <from> <to> <amount>' for cross-chain. Supported chains: ethereum, base, solana. Fast Transfer bridges complete in ~50 seconds."
}
