User Guide: Tokens
Does this article need to be translated?
If you're new to blockchains and the decentralized web, take a read through our primer; the concepts outlined there will form the basis for the following discussion.
It is important to remember that MetaMask isn't just used on the Ethereum mainnet. It's true, that's where a lot of the most popular applications are, and as the network scales, that should continue to be the case, but from the beginning, MetaMask has been designed to be open and modifiable to the world. This means it can be used on any Ethereum-compatible blockchain network — and there are a lot of those.
With that in mind, this article will seek to give an explanation regarding tokens that acknowledges this multi-chain reality, especially given how much activity happens on non-mainnet chains through MetaMask.
One of the most basic features of blockchain technology is the ability to track assets moving between parties. For this reason it's also called distributed ledger technology: in the end, it's all a series of ledgers being synced across the network. How do we track those assets? Well, they need to be quantified in some way: enter tokens.
Network-Native tokens
Most blockchain networks, be they fully public or otherwise, utilize some sort of incentivized consensus mechanism to pay for the computing power of the network, and generally there is a default token, or "native currency", that the network uses for those payments. Ethereum mainnet uses ETH for this purpose, but each network will have its own standard. This is important for the user because unless they hold some amount of the network's native currency, they may not be able to pay for transactions, gas fees, etc. Sometimes network-native tokens have significant differences from other tokens on the network (more on the quirks of ETH below), but in general, they're what we call fungible tokens:
Fungible tokens
Fungible tokens are those which are not unique. They are interchangeable, just like a metallic coin or a paper bill of currency. True, on most networks they're more traceable than a paper banknote — remember, there's a ledger of what tokens go where — but they're intended to be used as a medium of exchange for one purpose or another. The network currency tokens, described above, are an example of fungible tokens.
Fungible token standards
ERC-20 tokens
As blockchain networks have developed, standards have been put in place as to how tokens should be programmed; how they act, programmatically speaking. On the Ethereum network, many fungible tokens conform to a standard called ERC-20. So, your BNB, USDT, LINK, DAI tokens, to name a few, are ERC-20 tokens.
Let's say you're on Ethereum mainnet, and you just bought yourself a few tokens of a widely-recognized and traded token. You wait for the swap to settle, and there in your MetaMask wallet, your tokens appear. Magic! ...Not quite.
MetaMask doesn't automatically catalog and load every possible token into a list just in case you buy some of them — at time of writing, there are nearly 650,000 different ERC-20 contracts out there. It's impossible to keep up. Instead, MetaMask keeps a list of the most popular tokens, and automatically detects those; but no worries, if you get one that's less common, you can easily add it manually.