Lumaktaw patungo sa pangunahing content

Network profile: Avalanche (AVAX)

Does this article need to be translated?

Contribute to the Help Center

Submit translations, corrections, and suggestions on GitHub, or reach out on our Community forums.

Avalanche is an ecosystem of multiple networks, designed to run smart contracts (similarly to Ethereum). The three networks include:

  • The Exchange Chain (X-Chain), which is used for simple transactions
  • The Platform Chain (P-Chain), for staking and validator responsibilities
  • The Contract Chain (C-Chain), which you'll need to use to interact with dapps.

Additionally, there is also a Primary Network, which validates each of these blockchains. It is the last of this trio, the C-Chain, which is EVM-compatible, and the network you'll connect to using MetaMask.

The key distinguishing feature of Avalanche is its consensus protocol, which works through validators querying groups of *other *validators whether a transaction should be accepted as valid until consensus is reached. This system is implemented on Avalanche's three networks in the form of the 'Snowman' consensus protocol and expedites block validation.

Supported by these mechanisms, Avalanche's headline features include:

  • >4,500tps (transactions per second) throughput capacity
  • <2s transaction finality
  • Proof-of-stake consensus mechanism
  • Thousands of nodes, meaning the network is well decentralized.

The Avalanche team also prioritise interoperability, making the network easier for developers to build on and for users to access. For example, it shares its smart contract programming language, Solidity, with Ethereum.

Its ecosystem also includes a range of dapps, including decentralized and centralized exchanges, DeFi platforms and NFTs.

To perform any kind of transaction on Avalanche, you will need sufficient quantities of its native token, AVAX, in your wallet.

Using Avalanche

Adding Avalanche to MetaMask

Adding the network is an essential first step to interacting with Avalanche. There are two ways to do this:

  1. Add it using Chainlist.
  2. Add it manually. The network details are at the top of this article and available via various Avalanche sources (such as this one).

Avalanche have also produced a video tutorial on adding the network that you can find here.

How do I switch to Avalanche in MetaMask?

Please note the below instructions assume you have already added Avalanche network to your MetaMask (see above).

On your wallet page, find where it says the current network you're connected to at the top of the screen. Tap here to select Avalanche from the networks you've already added.

MetaMask Avalanche network mobile

Is my Avalanche address different from my MetaMask address?

Firstly, and for clarity: you can interact with the majority of dapps on Avalanche C-Chain using MetaMask. In a lot of cases, you don't need the Avalanche Wallet.

However, if you want to access the X-Chain or P-Chain, you will need the Avalanche Wallet. Due to the triplicate structure of Avalanche, this single wallet has three addresses -- one for each of the chains.

The C-Chain address will look like an Ethereum address, beginning with 0x. This is because the C-Chain is an instance (separate occurrence, or version of) the Ethereum Virtual Machine, which is what we mean we say it's EVM-compatible. It essentially functions the same.

However, and despite both being compatible, the C-Chain address of your Avalanche wallet will be different to your MetaMask address.

warning

Setting up Avalanche and MetaMask to use the same address: only for the adventurous

It is possible to have MetaMask and the Avalanche Wallet use the same address by exporting your private key from MetaMask and using it to sign into the Avalanche Wallet. We do not recommend this process unless you are aware of the risk involved and know what you're doing. See here for a how-to from Avalanche, and our guide to the process for further information. Anyone can access your account if they have your private key, so if you do export it -- be careful. Also, be extremely wary of anyone asking you to export your private key and give it to them. Our official support channels will never ask your for your private key/Secret Recovery Phrase.

Never try and send transactions from any other Avalanche chains (X-Chain or P-Chain) to your MetaMask. You will lose the tokens and not be able to get them back, as these are incompatible blockchains. Always get these assets onto the C-Chain and then bridge them over.

Using the Avalanche bridge

Avalanche's official bridge can be used to move ERC-20 tokens to and from the Avalanche C-Chain. It is only compatible with Ethereum mainnet.

You can also use the bridging options at the MetaMask Portfolio Dapp.

This video tutorial by Avalanche for using the official bridge is very useful. In short:

  1. Access the bridge.
  2. Connect your MetaMask. Make sure you select the account you want to use.
  3. Select which ERC-20 token you'd like bridge across, and input the amount. Make sure you have sufficient ETH in your wallet to pay for the transaction (the cost is displayed in the interface).
  4. The MetaMask transaction approval window will appear. Make sure you're happy with the details, and click confirm.
  5. You'll be taken to a confirmations page that displays the status of your transaction in real time. As the video tutorial explains, there is also a link here to MetaMask which streamlines adding the bridged token to your MetaMask on the Avalanche network.
  6. Once the tokens are bridged, they will appear in your MetaMask wallet, provided you have selected the Avalanche Network and added the token (see step 5).

All bridged ERC-20 tokens gain the suffix .e on Avalanche, indicating that they have come from Ethereum -- USDT would become USDT.e, for example. These are known as 'AB' (Avalanche Bridge) tokens.

If you have AVAX on Avalanche that you want to move to MetaMask, you'll need to:

  1. Make sure the AVAX is on the C-Chain. If it isn't, perform a cross-chain transfer in your Avalanche Wallet to get it there.
  2. Transfer the tokens to your MetaMask address.
  3. Use the bridge, following the process above.
  4. If completed successfully, the bridged tokens will appear in your MetaMask, back on Ethereum.
Can I bridge tokens from other networks (e.g. BSC, Polygon) to Avalanche?

Yes. However, you will have to use an unofficial bridge; a few multi-chain bridge options are listed below.

Avalanche's official bridge only supports Ethereum <-> Avalanche C-Chain. Please note this list does not constitute an endorsement of or affiliation with any of these platforms.

Always make sure you know what you are doing before you sign any transactions on these platforms. Check their FAQs and support pages if unsure, and consider sending trial transactions to start with.

How do I move AVAX I bought on an exchange to MetaMask?

Generally, when you buy AVAX on an exchange, your AVAX will be on one of two networks: the X-Chain or the C-Chain.

warning

Do not send tokens straight from an exchange to MetaMask using the X-Chain

You will lose your tokens.

MetaMask only works with the Avalanche C-Chain, which is EVM-compatible. Some exchanges, such as Binance, only support withdrawals to the C-Chain. Always check these details before making any transactions. Consider sending test transactions of small quantities if you're unsure.

If your exchange does not support C-Chain, and instead uses the X-Chain, to get your AVAX on MetaMask you have to move tokens from one Avalanche network to another using the Avalanche Wallet.

Within the Avalanche wallet, find the 'Cross Chain' tab to move AVAX between the three Avalanche networks.

How do I send AVAX from one of the other Avalanche chains (i.e. not C-Chain) to MetaMask?

You'll need to do a cross-chain transaction from your Avalanche Wallet.

See this Avalanche guide to the process for more information.

I transferred AVAX to my MetaMask from my Avalanche Wallet using the bridge. Why don't I see the tokens?

Follow the troubleshooting checklist here:

  1. Have you selected the Avalanche network in MetaMask?
  2. Did you transfer the tokens correctly, i.e. use the correct bridge and input the right addresses?
  3. Have you added AVAX as a token in MetaMask?

If you're still having problems after checking through this list, contact support through the link on our support landing page.

Relevant support articles

User Guide: Custom networks and sidechains

How to export an account private key

ERC-20 tokens explainer

How to add unlisted tokens (custom tokens) in MetaMask

Useful resources

Avalanche help center (user-focused)

Avalanche docs (developer-focused)

Avalanche Bridge official tutorial videos

Avalanche Bridge FAQ

Pangolin Getting Started guide (Pangolin is a decentralized exchange on Avalanche)