How to Deploy a token on Avalanche in 3 Steps (With a No-Code Alternative)
In this guide, I’ll show you how to deploy an ARC-20 token on Avalanche using smart contracts with Solidity. I’ll also show you a no-code option, ideal if you prefer a more direct setup.
Avalanche uses a multichain architecture and is EVM-compatible, which means Ethereum contracts can run on Avalanche with minimal changes.
Tokens deployed on Avalanche use the ERC-20 standard (known as ARC-20 on Avalanche) and are compatible with most DeFi apps, wallets, and exchanges that support this network.
Smart Contracts and Solidity: How to Deploy an token ARC-20
To create an token ARC-20 on Avalanche, you need to build a smart contract with Solidity, the most widely used language for EVM-compatible blockchains. Here are the basic steps to get it done.
1. Set Up Your Development Environment
Start by setting up your development environment. These tools will make the process easier:
- Remix: An online IDE that supports Solidity with no extra setup required.
- Hardhat or Truffle: Frameworks for compiling, testing, and deploying contracts. Both connect easily with MetaMask so you can manage your wallets.
You also need to connect MetaMask to the Avalanche C-Chain, the EVM-compatible contract chain inside Avalanche.
2. Write the ARC-20 contract
ARC-20 contracts follow a standardized structure that defines key functions and events. Here is an example of a basic ARC-20 contract:
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MyToken is ERC20 {
constructor(uint256 initialSupply) ERC20("MyToken", "MTK") {
_mint(msg.sender, initialSupply);
}
}
In this basic contract:
- The constructor sets the token name (“MyToken”) and symbol (“MTK”).
- The _mint function creates the initial supply and assigns it to the wallet that deploys the contract.
Key functions in the ARC-20 standard:
- transfer: lets you move tokens from one account to another.
- approve: lets a third party spend tokens on behalf of the account owner.
- transferFrom: moves tokens from one account to another using base a previously approved allowance.
3. Compile and Deploy the Contract
Once your contract is written, the next step is to compile it. You can do this in Remix or with command-line tools like Truffle or Hardhat. Here is an example of how to deploy it on Avalanche using Truffle:
truffle migrate --network avalanche
Deploying the contract on the Avalanche C-Chain requires AVAX (the native token) to cover gas fees, which are much lower than on Ethereum. On Avalanche, deploying a token usually costs anywhere from a few cents to a few dollars, depending on network congestion.
4. Optimize Gas Costs
Even though gas fees on Avalanche are cheaper than on Ethereum, it is still worth optimizing your contracts to avoid unnecessary costs. Here are a few tips:
- Minimize storage operations: Writes in Solidity are expensive, so use
memoryvariables instead ofstoragewhenever you can. - Batch transactions: Try to bundle multiple actions into a single transaction to reduce gas fees.
- Use optimized libraries: Libraries like OpenZeppelin let you rely on tested, efficient code, helping reduce vulnerabilities and optimize gas usage.
5. Testing and security
Before deploying your token to mainnet, run thorough tests on the Avalanche testnet, called Fuji. Use Hardhat or Truffle to simulate transactions, and write unit tests to make sure your contract follows the ARC-20 standard.
Common security issues:
- Reentrancy attacks: These happen when an external function calls back into the contract before the first execution has finished.
- Overflow and underflow: Newer Solidity versions (0.8.x and later) handle these issues, but on older versions you’ll need to use SafeMath.
Once you’re confident your contract is secure, deploy it to testnet first (Fuji) before moving to Avalanche mainnet.
The no-code option: Smithii Tools
If you’re not comfortable coding, or you just want a simpler path, you can use Smithii Tools to deploy your token on Avalanche without writing any code.
How to create a token on Avalanche with Smithii in 3 steps

- Choose your token name: There are no restrictions, so pick the one you like best.
- Set the symbol: Choose a symbol of up to 8 characters for your token.
- Set the total supply: Choose how many tokens will be created, typically anywhere from 10 million to 100 billion.
Advanced Options
- Airdrop mode: Prevents the token from being traded until you decide to enable it.
- Anti-bot: Adds a cooldown between transactions to block bots.
- Anti-whale: Caps how many tokens can be traded in a single transaction, helping prevent whales from manipulating the market.
Creating a token on Avalanche with Smithii Tools costs 0.01 ETH plus gas fees, making it a pretty affordable option.
Here’s a video tutorial that walks through creating a token on Axax, in case you prefer that format:
Verifying and Editing the Contract on SnowTrace
Once your token is deployed, you can add social links and logos so your token gets more visibility. If you used Smithii Tools, smart contract verification is handled automatically. If not, follow this step-by-step guide to do it manually.
What to Do After Creating Your token on Avalanche: Launch Your Liquidity Pool
After creating your token, the next step is to create a Liquidity Pool on platforms like Pangolin or Trader Joe, the main DEX on Avalanche. This lets people trade your token. Check out our guide on how to create a liquidity pool without coding.
You can also add the Avalanche Volume Bot to generate volume and makers quickly, with no code required. This helps you rank higher on different screeners and platforms like the ones mentioned above, giving your project more visibility and helping potential investors find it.
Is It Safe to Use Smithii to Create a token?
Smithii Tools has been audited by CoinFabrik under the Mantis protocol, confirming that Smithii products are secure. You can read the audit report here.
Conclusion
In this guide, we covered two ways to create an ARC-20 token on Avalanche. The first option uses Solidity and is best if you have technical experience, while the second option, using Smithii Tools, is built for anyone who wants a no-code alternative. Both work, but the no-code route saves you several technical steps and speeds up the process.
Ready to outpace your competitors?
Join our newsletter for weekly Blockchain updates built for NFT creators.








