Overview
ACN runs three environments. Use devnet for development, testnet for staging, and mainnet for production.Environment Comparison
| Devnet | Testnet | Mainnet | |
|---|---|---|---|
| Purpose | Local development & experimentation | Staging & integration testing | Production |
| API URL | https://api.acn-dev.net | https://api.acn-testnet.exchange | https://api.acn.exchange |
| Chain | Base Sepolia | Base Sepolia | Base Mainnet |
| USDC | Test USDC (faucet) | Test USDC (faucet) | Real USDC |
| Providers | Test/mock providers | Test providers | Live production providers |
| Swagger Docs | Available at /docs | Available at /docs | Not available |
| Data persistence | May be reset periodically | Persistent | Persistent |
| Rate limits | Relaxed | Production-like | Production |
Devnet
Use for: Initial development, testing your integration, experimenting with the API.- Uses test USDC on Base Sepolia (free from faucets)
- Includes mock/test providers for development
- Swagger UI available for interactive API exploration
- Data may be reset periodically
Testnet
Use for: Pre-production testing, CI/CD integration tests, validating end-to-end flows.- Uses test USDC on Base Sepolia
- Production-like configuration and rate limits
- Test providers that mirror production behavior
Mainnet
Use for: Production workloads with real money and real providers.- Real USDC on Base
- Live production providers
- Full rate limits and security policies
- Swagger UI not available (use this documentation instead)
Switching Environments
API Calls
Change the base URL:MCP Server
Update the URL in your MCP configuration:CLI
Set the network in your agent config or via the CLI:Wallet
Switch the chain ID and RPC URL:| Environment | Chain ID | RPC URL |
|---|---|---|
| Devnet / Testnet | 84532 | https://sepolia.base.org |
| Mainnet | 8453 | https://mainnet.base.org |