CLI Configuration
Full configuration reference for the ADI CLI
Full Annotated Config
# Where to store ecosystem state (wallets, contracts, chain configs)
# Default: ~/.adi_cli/state
state_dir: ~/.adi_cli/state
# Enable verbose logging for troubleshooting
# Default: false (can also use -d flag)
debug: false
# Default protocol version for toolkit Docker image
# Used by init, add, and deploy when --protocol-version is not provided
protocol_version: v0.30.1
# State storage backend (currently only "filesystem" is supported)
state_backend: filesystem
ecosystem:
# Name used for the ecosystem directory and identification
name: adi_ecosystem
# Settlement layer network: localhost (Anvil) | sepolia | mainnet
l1_network: sepolia
# Settlement layer RPC endpoint
# Anvil: http://host.docker.internal:8545
# ADI Testnet: https://rpc.ab.testnet.adifoundation.ai
rpc_url: https://rpc.ab.testnet.adifoundation.ai
# Ecosystem-level ownership transfer after deploy
# ownership:
# new_owner: "0x..."
chains:
- name: my-chain
chain_id: 222
# no-proofs: development/testing (fast, no real proofs)
# gpu: production (requires GPU prover infrastructure)
prover_mode: no-proofs
# EVM bytecode emulator for unmodified Ethereum contracts
evm_emulator: false
# Blob-based pubdata (EIP-4844)
# true: blobs (L2 settling on L1)
# false: calldata (L3 settling on L2)
blobs: false
# Custom ERC20 token for gas payments (omit for native ETH)
# base_token_address: "0x..."
# base_token_price_nominator: 1
# base_token_price_denominator: 1
# Override generated operator addresses
# operators:
# operator: "0x..." # PRECOMMITTER, COMMITTER, REVERTER
# prove_operator: "0x..." # PROVER
# execute_operator: "0x..." # EXECUTOR
# Per-chain funding (ETH in ether)
# funding:
# operator_eth: 30.0
# prove_operator_eth: 30.0
# execute_operator_eth: 30.0
# Per-chain ownership
# ownership:
# new_owner: "0x..."
# Ecosystem-level wallet funding during deployment
# A full deployment requires ~270 ADI tokens across all wallets.
# Testnet faucet: https://faucet.ab.testnet.adifoundation.ai/
funding:
# SECURITY: use ADI_FUNDER_KEY env var instead
# funder_key: "0x..."
# Testnet (minimal):
# deployer_eth: 1.0
# governor_eth: 1.0
#
# Production:
deployer_eth: 100.0
governor_eth: 40.0
governor_cgt_units: 5.0 # only if using custom base token
# Gas price multiplier percentage
# CLI fetches current gas price and multiplies by this value
# Recommended: 200 for Anvil, 300 for Sepolia/mainnet
gas_multiplier: 200
# S3 state backup
# s3:
# enabled: true
# tenant_id: my-tenant # S3 key prefix
# bucket: adi-state
# region: us-east-1
# endpoint_url: http://localhost:9000 # MinIO/LocalStack
# Override Docker toolkit image
# toolkit:
# image_tag: "latest"Config Resolution Priority
Environment Variables
Variable
Purpose
S3 State Synchronization
Deprecated Fields
Field
Replacement
Last updated
