Overview
Examples
Seven complete configurations, each validated against the real config loader.
Each example is a complete config.yaml in the repository's examples/ directory, validated against the real config loader. Start from the one closest to your shape.
Local chain
Simple paid APIOne endpoint, paywalled with x402, HTTP only.Free and premiumA free and a paid resource over HTTP and MCP.Paid MCP toolMCP only — no HTTP route at all.
Protocols
Public networks
Base SepoliaReal testnet USDC, no key in the gateway.Base mainnetReal funds through an authenticated facilitator.Base mainnet (PayAI)The cheapest mainnet proving run.
| Example | Protocols | Network | Needs env? |
|---|---|---|---|
| simple-paid-api | HTTP | local | no |
| free-and-premium | HTTP, MCP | local | no |
| paid-mcp-tool | MCP | local | no |
| acp-checkout | ACP | — | no |
| base-sepolia | HTTP, MCP | Base Sepolia | MERCHANT_WALLET |
| base-mainnet | HTTP, MCP | Base | yes — nothing defaulted |
| base-mainnet-payai | HTTP, MCP | Base | MERCHANT_WALLET, ALLOW_X402_MAINNET |