Advertisement
AD

Main navigation

Advertisement

Error message

Warning: Undefined array key 0 in amp_entity_view_alter() (line 156 of modules/contrib/amp/amp.module).
amp_entity_view_alter(Array, Object, Object) (Line: 545)
Drupal\Core\Extension\ModuleHandler->alter('node_view', Array, Object, Object) (Line: 304)
Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array) (Line: 238)
Drupal\Core\Entity\EntityViewBuilder->build(Array)
call_user_func_array(Array, Array) (Line: 111)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 788)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 377)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 238)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 583)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 187)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 18)
Advertisement

The Ultimate ERC20 Guide- ERC20 for Dummies

Advertisement
Wed, 25/04/2018 - 12:50
The Ultimate ERC20 Guide- ERC20 for Dummies
Cover image via U.Today
Read U.TODAY on
Google News

We have fully entered the glorious age of cryptocurrency and almost everyone you know is enthused about crypto coins, especially ERC20. Unfortunately, you only know about Bitcoins and Ethereum. You’re not alone in this.

Advertisement

The concept of decentralization, Blockchain technology and cryptography can be very confusing and unless you have a form of ERC20 guide, it will be impossible to understand. Without further ado, here’s the much-awaited ERC20 for dummies.

The building blocks of ERC20 tokens- Blockchain

We begin with the Blockchain which is the basis of it all. The Blockchain is a digital and decentralized ledger with the sole purpose of recording cryptocurrency, chronologically and publicly. Originally developed to initiate and execute transactions in record time using a sequence of blocks. Here, each block recording signifies a transaction on the network.

Cryptocurrencies such as Bitcoin, Ripple and Ethereum, virtual money used for carrying out transactions, without the regulations of a central bank and influence of the government are stored within the Blockchain and uses encryption techniques create and verify transactions.

Ethereum and ERC20 tokens

Ethereum is a decentralized system administered on a Blockchain network that is completely sovereign, eliminates third parties and avoids data leaks. The network has its own currency called Ether which is traded along with digital assets known as tokens. These tokens, which also act as currency, have varied values for assets they represent such as IOUs, vouchers, etc.

Being decentralized gives it its autonomy and this is a key feature of the system as it allows users of the market tokenize their products. They can also source for crowdfunding since there are no external regulations to sanction these transactions, rather, miners all over the world run the block's unique metadata via a hash function. Unlike Bitcoin that was created as a medium or exchange or store value, the Ether platform can be used to design and run applications.

What is ERC20?

ERC, which represents “Ethereum Request for Comments” is a set of rules and regulations for the Ethereum network and it determines how tokens can be accepted. It was proposed by Fabian Vogelsteller. The 20 after the ERC stands for unique proposal ID number. ERC20 governs the creation and transaction of ERC20 Tokens on the network, and once these rules have been met, the tokens are free to be created and traded across the Ethereum network.

Before the introduction of ERC20, each token executed its own versions of these functions, so each token had its own agreement making an exchange which should have been very simple and straightforward, complex. ERC20 enabled an easy transference of tokens because they all have the same functions and rules.

ERC20 Guide- two Features that make EC tokens superior

1. ERC20 gives developers a sense of direction

Since ERC20 is a set of rules which Ethereum tokens must follow, this particular token gives developers an idea of how new tokens are going to function on a larger scale. The implication of this is that unlike before when developers had to undertake massive restructuring projects at the release of a new token, they can easily use the prescribed regulations. This is, perhaps, why all tokens released during Initial Coin Offerings (ICOs) are compliant with ERC20.

2. ERC20 defines the important functions

There are certain functions in the ERC20 which is of immense benefit to other tokens. The basic functionality issues to be addressed, for example, how the tokens are transferred or how users can get access to their token. Even though the ERC20 is still in its inchoate form, it is steadily gaining traction and it is anticipated that all new tokens will conform to its rules.

ERC20 functions

As long as all the ERC20 protocol is adhered to, the creation of any token system for ERC20 is allowed and a token becomes an ERC20. Basic functions of ERC20 tokens standard include balanceof- an inquiry of balance of token, approve- approval of transfer of token, totalsupply- total supply of tokens, transfer & transfer- transferring of tokens and allowance. Below are examples of ERC20 Token functions.

  1. totalSupply: With this function, a member in the market can calculate and return the total amount of the token that exists in circulation.

  2. balanceOf: The balanceOf function enables a smart contract- a computer protocol that assesses the performance of a contract- to store and return the balance of the provided address.

  3. Approve: This function allows the owner of the contract to approve the address to withdraw tokens from the owner's address.

Just like your online banking app, this function allows the owner of a contract to send any amount of token to another address.

  1. transferFrom: With this function, and with the owner's approval, the given amount of token is transferred.

The ERC20 is adaptable because it gives developers unlimited freedom and almost anyone can partake in the business of ERC20 tokens because they are run on an open-source and public platform. Although the ERC20 token can be built at any time and the tools to create ERC20 tokens are accessible to everyone, the skill required to create it is a completely different ball game.

It is also important to note that ERC20 is not a software or a piece of code, it is simply a specification standard, caliber, level or quality for tokens on the Ethereum platform.

How to trade ERC20 for Dummies

Now that the answer to “what is ERC20” has been answered, it is expedient to understand how you can trade ERC20 tokens on the Ethereum platform.

There are two simple requirements when you want to trade cryptocurrency.

  1. A cryptocurrency wallet

  2. A cryptocurrency exchange for trade

It is important to know that the cryptocurrency is not part of the regular stock exchange and it is extremely volatile. Start with trading prominent coins and choosing a reputable company that offers exchange and wallet. One in such instance is Coinbase which supports platforms for cryptocurrencies like Bitcoin, Litecoin and Ethereum.

Conclusion

Now, your question, “What is ERC20?” has been concisely and elaborately answered. You can confidently give novices an essential ERC20 guide and you can also partake in the benefits of the tokens. Make sure you have a good grasp of the concepts discussed here so as not to lose out.

A
A
A

Related articles

Advertisement
TopCryptoNewsinYourMailbox
TopCryptoNewsinYourMailbox
Advertisement
Advertisement

Recommended articles

Latest Press Releases

Our social media
There's a lot to see there, too

Popular articles

Advertisement
AD