# ClawPay MCP — Environment Configuration # Copy to .env and fill in your values # Minimum required: AGENT_PRIVATE_KEY + AGENT_WALLET_ADDRESS (CHAIN_ID defaults to Base Mainnet) # ─── Required ─────────────────────────────────────────────────────────────── # Agent hot wallet private key (hex, 0x-prefixed) # This is the agent's signing key, NOT the owner's key. # The on-chain spend limits protect you — the owner controls limits via NFT ownership. AGENT_PRIVATE_KEY=0x... # Deployed AgentAccountV2 wallet address AGENT_WALLET_ADDRESS=0x... # ─── Optional (have sensible defaults) ─────────────────────────────────────── # Chain ID: 8453 = Base Mainnet (default), 84532 = Base Sepolia testnet CHAIN_ID=8453 # Custom RPC URL (defaults to public Base RPC if not set) # Recommended: Use a dedicated node (Alchemy, Infura, Coinbase Developer Platform) RPC_URL=https://mainnet.base.org # ─── Optional: x402 V2 Session Payments (v1.1.0) ───────────────────────────── # Session lifetime in seconds for x402 V2 sessions (default: 3600 = 1 hour) # Agents pay once per session; all calls within the session use the session token. # Min: 60s | Max: 2592000 (30 days) SESSION_TTL_SECONDS=3600 # ─── Optional: Factory (only needed for deploy_wallet tool) ────────────────── # AgentAccountFactoryV2 address (Base Mainnet default below) FACTORY_ADDRESS=0x... # NFT contract address (for deploy_wallet — the NFT that becomes the wallet owner) NFT_CONTRACT_ADDRESS=0x...