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.

CRYPTOCURRENCIES
  • bitcoinBitcoin$3,951.34
  • ethereumEthereum$145.67
  • rippleXRP$0.331464
  • tetherTether$1.00
  • eosEOS$3.60
  • stellarStellar$0.090547
  • litecoinLitecoin$47.78
  • cardanoCardano$0.047122
  • tronTRON$0.025281
  • moneroMonero$52.54
  • iotaIOTA$0.311413
  • nemNEM$0.043650
  • dashDash$87.81
  • neoNEO$9.08
IBM used blockchain to ship 28 tons of citrus fruits from China to Singapore
On the eve of the Chinese New Year celebration, the technological giant IBM delivered 28 tons of oranges and tangerines from China to Singapore. When issuing a bill of lading confirming the contract of shipment, the blockchain technology was used, reports CoinDesk. IBM experts note that the electronic bill of lading (e-BL) has accelerated administrative […]
2019-02-19 0 12
What Can I Buy with BTC and What Sites Use It?
In the autumn of 2017 cryptocurrency fever triggered a high interest among trade agents in using BTC as payment method both for online and offline commerce. People were thrilled and excited. Searches on Google like “where to pay with bitcoin”, “where to spend bitcoin”, “bitcoin stores” were most frequent those days.  Unfortunately, raising fees for […]
2019-02-18 0 36
The media confirmed the launch date of the test network Telegram Open Network
The Telegram Open Network (TON) blockchain platform, behind which the popular messenger operator stands, is 90% complete, and the launch of the test network is scheduled for the end of March 2019. It is reported by The Block, with reference to the report received by the investors of the project. As the newspaper notes, Telegram […]
2019-02-11 0 15
Media: the cost of the Telegram internal cryptocurrency could reach $ 30 billion
By the end of 2019, the total cost of the internal token Gram of the blockchain project Telegram Open Network (TON) could reach $ 29.5 billion. The Bell reports with reference to the report HASH Crypto Investment Bank. According to the investment company, the target cost of 1 Gram token by the end of 2019 […]
2019-02-07 0 10
© 2017–2018