Difference between revisions of "Avalanche subnet create"
Jump to navigation
Jump to search
Line 52: | Line 52: | ||
== Related == | == Related == | ||
− | * [[avalanche subnet deploy]] | + | * <code>[[avalanche subnet deploy]]</code> |
* [[ChainID]] | * [[ChainID]] | ||
* <code>[[subnet-evm]]</code> | * <code>[[subnet-evm]]</code> |
Revision as of 19:12, 24 April 2023
avalanche subnet create avalanche subnet create --help
Contents
Options
--custom use a custom VM template --evm use the Subnet-EVM as the base template -f, --force overwrite the existing configuration if one exists --genesis string file path of genesis to use -h, --help help for create --latest use latest VM version, takes precedence over --vm-version --spacesvm use the SpacesVM as the base template --vm string file path of custom vm to use --vm-version string version of vm template to use
Errors
avalanche subnet create Error: accepts 1 arg(s), received 0
Example
avalanche subnet create mySubnet Use the arrow keys to navigate: ↓ ↑ → ← ? Choose your VM: ▸ Subnet-EVM SpacesVM Custom Enter your subnet's ChainId. It can be any positive integer. ChainId: 12312432123123231312 Select a symbol for your subnet's native token ✗ Token symbol: █ Token symbol: MYSYMBOL Use the arrow keys to navigate: ↓ ↑ → ← ? What version of Subnet-EVM would you like?: ▸ Use latest version ? How would you like to set fees: ▸ Low disk use / Low Throughput 1.5 mil gas/s (C-Chain's setting) Medium disk use / Medium Throughput 2 mil gas/s High disk use / High Throughput 5 mil gas/s Customize fee config Go back to previous step ? How would you like to distribute funds: ▸ Airdrop 1 million tokens to the default address (do not use in production) Customize your airdrop Go back to previous step ? Advanced: Would you like to add a custom precompile to modify the EVM?: ▸ No Yes Go back to previous step Successfully created subnet configuration
Related
avalanche subnet deploy
- ChainID
subnet-evm
~/.avalanche-cli/subnets/genesis.json
~/.avalanche-cli/subnets/sidecar.json
See also
avalanche subnet create: sidecar.json, genesis.json, --help
avalanche subnet
: [addValidator | configure | create | delete | deploy | describe | export | import | join | list | public | publish | stats | upgrade | --help]
avalanche [ subnet | network | key | transaction | --help ]
- Avalanche, AVAX token, Ava Labs, Avalanche subnets, SING token,
avalanche-cli, subnet-cli, avalanchego, AvalancheJS
, Avalanche Network Runner, Fuji, 9650, 9651,/ext/
, Exchange Chain (X-Chain), Contract Chain (C-Chain), Platform Chain (P-Chain), Avalanche Wallet, Explorers, Avalanche Cortina, Subnet EVM, apm, HyperSDK, Multiverse, Blockpay.mx, Core.app, BitNote
Advertising: