ACP-267: Primary Network validator uptime requirement increases from 80% to 90%.Read the proposal

Chains

Deploy new blockchains on existing subnets

Deploy a new blockchain on an existing subnet using the chain create command.

Create a Chain

platform chain create \
  --subnet-id 2QYfFcfZ9... \
  --genesis genesis.json \
  --name mychain \
  --key-name mykey

Flags

FlagDescriptionDefault
--subnet-idSubnet to create chain on (required)
--genesisPath to genesis JSON file (required, max 1 MB)
--nameChain namemychain
--vm-idVM IDSubnet-EVM

Genesis File

The genesis file must be valid JSON and under 1 MB. For Subnet-EVM chains, you can use the standard Subnet-EVM genesis format.

{
  "config": {
    "chainId": 99999,
    "feeConfig": {
      "gasLimit": 8000000,
      "targetBlockRate": 2,
      "minBaseFee": 25000000000,
      "targetGas": 15000000,
      "baseFeeChangeDenominator": 36,
      "minBlockGasCost": 0,
      "maxBlockGasCost": 1000000,
      "blockGasCostStep": 200000
    }
  },
  "alloc": {
    "0xYourAddress": {
      "balance": "0x295BE96E64066972000000"
    }
  }
}

Is this guide helpful?

On this page

Page Actions

Edit on GitHubReport Issue