# Copy to .env and fill in. Never commit real secrets. # Required: merchant public key — must be a valid Stellar address (56 chars, starts with G). # Create a keypair in Stellar Lab, fund testnet XLM, add USDC trustline, use Circle faucet. # https://lab.stellar.org/account/create https://faucet.circle.com/ (Stellar Testnet) PAY_TO= # Optional: web UI (Vite) — create frontend/.env.local # VITE_STELLAR_NETWORK=stellar:testnet # VITE_STELLAR_RPC_URL=https://soroban-testnet.stellar.org # Optional overrides # PORT=3000 # STELLAR_NETWORK=stellar:testnet # FACILITATOR_URL=https://www.x402.org/facilitator # STELLAR_RPC_URL=https://soroban-testnet.stellar.org # Agent CLI only — testnet hot wallet secret (fund via Lab + Circle USDC faucet) # STELLAR_PRIVATE_KEY=S... # agent-pay CLI target URL (default: local search tool) # RESOURCE_URL=http://localhost:3000/api/v1/tools/search?q=stellar # Production CORS (comma-separated), default allows all # CORS_ORIGIN=https://yourapp.com # Set false for local tests without facilitator ping # X402_SYNC_ON_START=true