Configure Custom Native Tokens
Learn how to configure a custom native token in an Avalanche L1 blockchain.
When creating a custom Avalanche L1 blockchain, you can configure the native token according to your specific requirements. In this section, we'll explore the steps to configure a custom native token using the Subnet-EVM, allowing you to tailor it to your blockchain's needs.
Creating the Blockchain
Start by creating a new blockchain using the avalanche
CLI tool:
Select VM
You will be prompted to select the Subnet-EVM as the virtual machine for your blockchain:
Select Subnet-EVM to proceed.
Customizing Blockchain Configuration
After selecting Subnet-EVM, you’ll have the option to use default values or customize your blockchain settings:
Select I don’t want to use default values to manually configure your blockchain.
Setting the Version, ChainID, and Token Symbol
Next, you will be asked to choose the version of Subnet-EVM and configure the ChainID and token symbol:
Choose Use latest release version for the Subnet-EVM. After that, you will configure the following:
- ChainID: Choose a unique Chain ID that hasn’t been used on another blockchain. You can reference available Chain IDs by visiting ChainList, which lists in-use Chain IDs.
- Token Symbol: Set a token symbol for your custom native token (e.g., CNT). This symbol will represent your blockchain’s native token in transactions and applications.
What’s Next? After configuring the custom native token, the next step is to define the initial token allocation, where you’ll decide how the tokens will be distributed across validators, participants, and other stakeholders in your blockchain.