All you want to know about ERC standards

Home » CRYPTOPEDIA » All you want to know about ERC standards
All you want to know about ERC standards
2018-10-08 in CRYPTOPEDIA

Blockchain industry is developing very fast. The problems arise inevitably on the way of its development and need to be solved in the near future. The introduction of ERC-20 standard was a turning point in the cryptocurrency world. The simplicity of the Ethereum platform, open source and the presence of many services have led to the formation and distribution of thousands of new tokens.

We have already mentioned the problems that arose when using the traditional standard ERC-20. One of the most serious vulnerabilities was the absence of a regulatory mechanism for sending tokens created on the basis of the ERC-20 standard to other addresses that do not support this standard. All tokens transferred in this way are burned.

This mechanism can be described in more detail as follows: users who use transfer in the contract when sending ERC-20 coins to contracts that do not support it and do not recognize incoming tokens, lose their money, since they simply go nowhere. This function is different from the automatic transfer. The ERC20 standard uses both transfer and transfer From functions. The result of discussing this problem in the GitHub network of developers was the creation of other types of standards for smart contracts.

ERC-223 standard

In 2017, the user with the nickname Dexaran laid out in open access to GitHub the offer code of the new standard ERC-223, which was designed to solve the inconsistency problem described above. The elegant solution involved combining the two functions transfer and transferFrom of the ERC-20 standard into a single function called transfer, but now with three parameters – address _to, unit _value, bytes data. These parameters allowed to exclude the possibility of improper use of the function by users.

Another important improvement was the introduction of the tokenFallback function, which prepares the contract for accepting any kind of coins being sent and prevents them from being sent if it does not receive a response from the recipient’s address. At the moment, the Ethereum platform has a similar function for the entire network – the payable contract modifier, which prepares contracts for receiving Ether coins.

In fact, the implementation of the ERC-223 standard is slow, and most projects continue to use the ERC-20 standard. This is partly due to the popularity of the second and insufficient awareness of the first, as well as the distrust of the creators of the projects to other versions of the standards. An important factor is that the mentioned bugs are quite rare and the Ethereum network itself is now an additional protective factor against such errors.

Nevertheless, among the projects that use the ERC-223 standard, there are several interesting ones: AmigoCoin, CargoCoin, Expercoin.

ERC-777 standard

Created in late 2017, the new proposal of the standard was intended to solve several problems at once. Thanks to the new tokenReceived function, which made it possible not to use the second approval function (second verifying transaction), the transaction time was halved. Also in this standard, there is an opportunity to mark untrusted or incompatible addresses that may be associated with hackers or scammers. This standard also solved the incompatibility problem by using the backward compatibility method, which made its cross-standard compatible on the Ethereum platform.

Among the drawbacks of this fairly new standard is its code, which is still undergoing changes, as well as the creation of a large number of interdependent calls for contracts if it is used, which can create security problems in the future. One of the projects using the token of this standard is ORCA.

ERC-721 standard

This standard was created in 2017 thanks to the Cryptokitties game, where you can exchange and collect collections of virtual kittens with unique genotypes or 256-bit unsigned codes. Unusual in this game was that each kitten was a unique cryptocurrency of different prices, depending on its popularity and rarity.

The ERC-721 standard was the first example of non-fungible tokens (NFT) – unique or non-interchangeable tokens that was proposed for electronic collectibles. Fungibility is a characteristic feature of a currency, each currency of which can be replaced by another exactly the same. For example, $ 5 or $ 20 is good just like any other $ 5 and $ 20.

All fiat money is interchangeable as well as divisible. The second means that the currency is divisible to a certain limit. For example, the dollar is 1/100, which means that each dollar is divided into 100, in his case, cents.

The approve and takeOwnership functions, as well as two types of events: Transfer and Approval make transactions more secure against accidental loss of funds, as is the case with the ERC-20 standard.

At the moment, there are two main types of standards. The first one includes all the proposals created to improve the ERC-20, and the second is the standard for the unification of NFT or electronic collectibles.

Each standard takes time to develop, as well as the validation, approval, and implementation of the platform by the community. These and many other standards of the Ethereum platform are the engines for the development of the entire cryptoecosystem and are designed to make networking in the network easier, safer and cheaper.

It is possible that soon we will see the cataloging of compatible and proven ERC standards, for use in various decentralization projects.

  • bitcoinBitcoin$5,048.00
  • ethereumEthereum$164.03
  • rippleXRP$0.330617
  • tetherTether$1.00
  • eosEOS$5.41
  • stellarStellar$0.115004
  • litecoinLitecoin$77.12
  • cardanoCardano$0.080765
  • tronTRON$0.026288
  • moneroMonero$63.97
  • iotaIOTA$0.315944
  • nemNEM$0.065395
  • dashDash$119.54
  • neoNEO$11.08
What is Cryptocurrency? How to Use, the Future of Crypto, the History of Bitcoin
Cryptocurrency market is actively developing and expanding. This relatively new industry is causing a lot of questions and attracting a huge number of investors, businessmen and ordinary people. “What is the future of cryptocurrency?”, “How to choose cryptocurrency exchange?”, “How to sell Bitcoins?” “What about cryptocurrency mining”? Millions of people read cryptocurrency news everyday and […]
2019-04-08 0 47
What is Bitcoin?
The cryptocurrency industry is becoming more and more popular all around the world. Despite the fact that there are more than 1000 different cryptocurrencies and the number keeps growing, cryptocurrency is often associated with Bitcoin. Bitcoin is the first modern cryptocurrency in the world; it attracts thousands of users and investors from different countries. Millions […]
2019-03-20 0 46
Bitcoin, Ethereum, Ripple, Monero, Dash, Tron: major differences and features
Investors see different names of cryptocurrencies and the movement of their courses, but typically don’t even know why the digital coins are so popular. Most of us have already Googled “How to buy Bitcoin” or “How to sell Ethereum”. Cryptocurencies are becoming more and more popular: Bitcoin price is fluctuating and its value is not […]
2019-03-19 0 44
What is Blockchain?
“Giving users easy access to many different kinds of digital assets on the blockchain and, particularly, tokens that are linked to assets in the real world, is crucial to seeing blockchain adoption reach the next level, and I applaud Digix Global’s initiative in being the first of many such projects to successfully launch” – Vitalik […]
2019-03-06 0 42
© 2017–2018