Generate Subnet-EVM genesis.json
avax_generate_genesisCreate a valid Subnet-EVM genesis.json for your Avalanche L1 by configuring fee presets, initial balances, and precompiles. Warp is enabled by default for ICM/Teleporter.
Instructions
Generate a valid Subnet-EVM genesis.json for a new Avalanche L1. Choose a fee preset (low|medium|high|gasless) or override feeConfig, allocate initial balances, and enable precompiles (deployer allow-list, tx allow-list, native minter, fee manager, reward manager, warp). Warp is enabled by default because ICM/Teleporter needs it. Returns the JSON plus next-step CLI commands.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain_id": "<chain_id>"
},
"name": "avax_generate_genesis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | Yes | Unique EVM chain ID (check chainlist.org; avoid 43113/43114) | |
| fee_preset | No | medium | |
| allocations | No | ||
| enable_warp | No | ||
| reward_mode | No | burn | |
| admin_address | No | Admin for every enabled precompile | |
| reward_address | No | ||
| enable_fee_manager | No | ||
| enable_tx_allowlist | No | ||
| enable_native_minter | No | ||
| fee_config_overrides | No | Partial feeConfig keys to override | |
| enable_reward_manager | No | ||
| fund_teleporter_deployer | No | Pre-fund the TeleporterMessenger deployer (needed so the CLI/you can deploy ICM) | |
| enable_deployer_allowlist | No |