{"id":2399,"date":"2022-10-23T20:40:05","date_gmt":"2022-10-23T20:40:05","guid":{"rendered":"https:\/\/metaschool.so\/articles\/?p=2399"},"modified":"2023-04-15T02:50:03","modified_gmt":"2023-04-15T02:50:03","slug":"erc20-token","status":"publish","type":"post","link":"https:\/\/metaschool.so\/articles\/erc20-token\/","title":{"rendered":"ERC-20"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_56_1 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/metaschool.so\/articles\/erc20-token\/#What_is_ERC20_token\" title=\"What is ERC20 token?\">What is ERC20 token?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/metaschool.so\/articles\/erc20-token\/#Why_is_ERC-20_token\" title=\"Why is ERC-20 token?\">Why is ERC-20 token?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/metaschool.so\/articles\/erc20-token\/#ERC20_token_structure\" title=\"ERC20 token structure\">ERC20 token structure<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/metaschool.so\/articles\/erc20-token\/#Functions_a_compliant_ERC20_token_must_be_able_to_implement_%E2%9B%93\" title=\"Functions a compliant ERC20 token must be able to implement \u26d3\">Functions a compliant ERC20 token must be able to implement \u26d3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/metaschool.so\/articles\/erc20-token\/#Best_ERC20_compliant_wallets_%F0%9F%91%9B\" title=\"Best ERC20 compliant wallets \ud83d\udc5b\">Best ERC20 compliant wallets \ud83d\udc5b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/metaschool.so\/articles\/erc20-token\/#ERC20_token_uses_cases\" title=\"ERC20 token uses cases\">ERC20 token uses cases<\/a><\/li><\/ul><\/nav><\/div>\n\n<h2 class=\"wp-block-heading\" id=\"what-is-erc20-token\"><span class=\"ez-toc-section\" id=\"What_is_ERC20_token\"><\/span>What is ERC20 token?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size\">The ERC20 token is technical standard for every fungible token used to issue and implement tokens on the <a href=\"https:\/\/metaschool.so\/ethereum?ref=Articles&amp;utm_source=Blog_Organic\" target=\"_blank\" rel=\"noreferrer noopener\">Ethereum Blockchain<\/a>. Being a fungible token means that it has a property that makes each token\u2019s value and type exactly the same as another token.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">For example, one ERC20 token will always be equal to other tokens. This kind of token are also called <a href=\"https:\/\/metaschool.so\/articles\/fungible-token-meaning\/\">fungible tokens<\/a>.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Blockchain veteran <a href=\"https:\/\/feindura.medium.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Fabin Vogelstellar<\/a> proposed ERC20 in the year 2015 as a solution to standardize tokens within Ethereum <a href=\"https:\/\/metaschool.so\/courses\/writing-your-first-hello-world-contract-in-solidity?ref=Articles&amp;utm_source=Blog_Organic\" target=\"_blank\" rel=\"noreferrer noopener\">smart contracts<\/a>.\u00a0He used Ethereum&#8217;s GitHub page to propose his idea and it actually got noticed. <\/p>\n\n\n\n<p class=\"has-medium-font-size\">Since his comment was the 20th comment on the page, it was naturally assigned the designation, ERC20. It wasn&#8217;t changed after that.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-is-erc-20-token\"><span class=\"ez-toc-section\" id=\"Why_is_ERC-20_token\"><\/span>Why is ERC-20 token?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The name ERC20 is basically an acronym that stands for \u201cEthereum Request for Comment 20\u201d and it is the name of the standard protocol which is used to generate the token.<\/p>\n\n\n\n<p>While ERC20 tokens are fungible, there are some characteristics that set them apart from other regular fungible coins. These features are better understood through the token structure. It is the very components of the structure that set ERC20 apart from other fungible assets.\u00a0<\/p>\n\n\n\n<p>The token is still very much fungible, albeit a little different from the regular fungible.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"erc20-token-structure\"><span class=\"ez-toc-section\" id=\"ERC20_token_structure\"><\/span>ERC20 token structure<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>So, what are some features of an ERC20 token and how is it structured? An overview of the overall structure of an ERC20 token would be:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>It has a token name and a specific symbol<\/li><li>It must have a certain number of decimal places which are essentially used to represent the smallest unit of a particular token<\/li><li>Has a total supply of the token, as in how many pieces are in existence<\/li><li>Apart from the aforementioned three features, ERC20 tokens also have features like Token Freeze, Token Burn, and Token Minting.\u00a0<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"functions-a-compliant-erc20-token-must-be-able-to-implement\"><span class=\"ez-toc-section\" id=\"Functions_a_compliant_ERC20_token_must_be_able_to_implement_%E2%9B%93\"><\/span>Functions a compliant ERC20 token must be able to implement \u26d3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size\">These functions are able to:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Provide information about the total supply of a token<\/li><li>Give an account balance of the owner\u2019s account<\/li><li>Transfer a specific number of tokens to a specific address<\/li><li>Move a specific number of tokens from a specified address<\/li><li>Allow users to withdraw tokens from specific accounts<\/li><li>Provide information about a set number of tokens from a spender to the owner<\/li><\/ol>\n\n\n\n<p>This particular standard also allows an address to give allowance to another address to be able to retrieve tokens from it. For this, we require wallets.<\/p>\n\n\n\n<p>\ud83d\udc40 <strong>Related<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"nv-iframe-embed\"><iframe loading=\"lazy\" title=\"Create your Ethereum ERC20 token | Metaschool\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/HN3e9fJNv0w?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div>\n<\/div><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/metaschool.so\/ethereum\/courses\/create-your-own-ethereum-token-in-just-30-mins?ref=Articles&amp;utm_source=Blog_Organic\">Course: Create your Ethereum ERC-20 token<\/a><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"best-erc20-compliant-wallets\"><span class=\"ez-toc-section\" id=\"Best_ERC20_compliant_wallets_%F0%9F%91%9B\"><\/span>Best ERC20 compliant wallets \ud83d\udc5b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>An ERC-20 wallet is a wallet that lets you manage the token standard. Let\u2019s look at some suitable ones you can use.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Metamask (if you don\u2019t know how, learn to create and\u00a0<a href=\"https:\/\/metaschool.so\/courses\/understand-and-setup-metamask-account?ref=Articles&amp;utm_source=Blog_Organic\" target=\"_blank\" rel=\"noreferrer noopener\">set up your MetaMask account here<\/a>)<\/li><li>Coinbase<\/li><li>Atomic Wallet<\/li><li>Trezor<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"erc20-token-uses-cases\"><span class=\"ez-toc-section\" id=\"ERC20_token_uses_cases\"><\/span>ERC20 token uses cases<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Like many different tokens, ERC-20 also has some really good use cases and they are as follows:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>DeFi &#8211; being fungible tokens, ERC20 tokens are used for trading, borrowing and selling. Examples include <a href=\"https:\/\/metaschool.so\/blockchains\/aave?ref=Article&amp;utm_source=Blog_Organic\">Aave<\/a>, UniSwap, and Compound.\u00a0<\/li><li>NFTS &#8211; ERC20 tokens can also be used as NFTs and can serve as digital assets. Examples include CryptoKitties.<\/li><li>Games &#8211; ERC20 tokens are also used in gaming to represent in-game characters mostly. <a href=\"https:\/\/metaschool.so\/blockchains\/axie-infinity\">Axie Infinity<\/a> is a good example.<\/li><li>Voting and governance &#8211; ERC20 tokens are used for voting and decision-making in decentralized organizations. Examples include MakerDAO (MKR) and Aragon (ANT).<\/li><\/ol>\n\n\n\n<p>Overall, ERC20 tokens provide a solid base for developing any fungible token on the Ethereum Blockchain which makes it awfully convenient for developers to build with.<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":5415,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[73],"tags":[51,29,74],"class_list":["post-2399","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web3-crypto-glossary","tag-blockchain","tag-web3","tag-web3-glossary"],"_links":{"self":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/2399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/comments?post=2399"}],"version-history":[{"count":12,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/2399\/revisions"}],"predecessor-version":[{"id":5506,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/2399\/revisions\/5506"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/media\/5415"}],"wp:attachment":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/media?parent=2399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/categories?post=2399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/tags?post=2399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}