DEV Community

Cover image for Ξ What are Ethereum request for comments (ERC) Standards
Vedant Chainani
Vedant Chainani

Posted on

Ξ What are Ethereum request for comments (ERC) Standards

What are ERC Standards?

An ‘Ethereum Request for Comments’ (ERC) is a document that programmers use to write smart contracts on Ethereum Blockchain. They describe rules in these documents that Ethereum-based tokens must comply with.

The Ethereum community uses a process called the ‘Ethereum Improvement Proposal’ to review these documents. They comment on it and as a result of that, the developer that created the document may revise it.

The Ethereum community accepts some of these documents after working through the EIP process, finalizes it, and then developers implement it. This is how the document becomes an ERC. In other words, ERCs originate as EIPs and could address different areas, for e.g., tokens, registration name, etc.

While there are several Ethereum standards. These ERC Ethereum standards are the most well-known and popular –

  • ERC - 20
  • ERC - 721
  • ERC - 1155
  • ERC - 777

ERC 20 standard – The Most Popular Token Standard

The ERC-20 introduces a standard for Fungible Tokens, in other words, they have a property that makes each Token be exactly the same (in type and value) as another Token. For example, an ERC-20 Token acts just like the ETH, meaning that 1 Token is and will always be equal to all the other Tokens.

The ERC-20 token standard allows developers to create their own tokens on the Ethereum network. It has provided an easier route for companies to develop blockchain products instead of building their own cryptocurrency.

Some tokens, like Uniswap's UNI token, are set to remain ERC-20 tokens; other cryptocurrencies, such as Binance Coin, have since jumped over to their own blockchains.

These tokens are:

  • 💻 Fungible - The code of each individual token is the same as any other, though transaction histories can be used to identify and separate out the tokens involved.
  • 🛫 Transferable - They can be sent from one address to another.
  • ⛏️ Fixed supply - A fixed number of tokens must be created so that developers cannot issue more tokens and raise the supply.

Since the ERC-20 token standard was finalized, over 500,000 tokens compatible with ERC-20 have been issued. Some of the leading ERC-20 tokens include:

  • 🦄 Uniswap (UNI) - A decentralized exchange (DEX) that enables users to swap tokens peer-to-peer, without relying on a centralized intermediary.
  • 👾 Decentraland (MANA) - The token underpinning metaverse platform Decentraland, MANA is burned in order to acquire non-fungible LAND tokens representing plots of virtual land.
  • 🦍 ApeCoin (APE) - The utility and governance token for the Bored Ape Yacht Club ecosystem, based on the popular PFP (profile picture) NFT collection.

Disadvantages of ERC-20 tokens?

  • ⚠️ Low throughput - The Ethereum network has been clogged up when dapps have experienced high demand, such as CryptoKitties (which has since moved to its own Flow blockchain). When this happens, the network slows down and transactions become more expensive.
  • 🐢 Slow transactions - The block time is around 14 seconds, so transactions can take up to a minute to process. This may be adequate for some uses or too slow for others.
  • ⏲️ ETH - When transactions are made involving ERC-20 tokens, a second cryptocurrency is needed to pay for the transaction fees. This can add both time and cost, as it can result in dust on different platforms.

ERC 721 – The Standard for Non Fungible Tokens

ERC-721 is a token standard on Ethereum for non-fungible tokens (NFTs). Fungible means interchangeable and replaceable; Bitcoin is fungible because any Bitcoin can replace any other Bitcoin. Each NFT, on the other hand, is completely unique. One NFT cannot replace another.

The main characteristic of ERC-721 tokens is that each one is unique. When an ERC-721 token is created, there is one and only one of those tokens in existence. These tokens, as NFTs, have spread the idea and application of unique assets on Ethereum.

What can you do with ERC-721 NFTs?

Today, the most common use case for ERC-721 NFTs is for digital art. Users buy these NFTs for a number of reasons, including supporting artists, investing long-term in hopes that the price will go up, quickly flipping/trading NFTs for a profit, or simply because they like the artwork.

However, use cases for NFTs extend beyond digital art.

NFTs are commonly used in blockchain-based games, such as Gods Unchained, to represent unique assets within the game. The online collectible card game uses NFTs to represent digital cards, which can then be traded with other players or used in battles. Some blockchain-based games even let you move your items over to different games. This is the beginning of the Metaverse, a persistent virtual environment in which NFTs represent digital objects that can be moved between different platforms.

Music NFTs are also becoming increasingly popular. Platforms such as Audius make it easy for artists to mint their work as ERC-721 tokens.


ERC-1155 - Ethereum’s Flexible Token Standard

Prior to ERC-1155, the two predominant token standards were ERC-20 for fungible tokens and ERC-721 for non-fungible tokens. They could not (and cannot) be wrapped into the same smart contract. This limitation meant that if someone wanted to transfer, say, USDC (ERC-20) and a CryptoKitties NFT (ERC-721), they would need to execute multiple transactions, which was inefficient and expensive.

ERC-1155 solves for this by combining the two token standards. ERC-1155 is a token standard that enables the efficient transfer of fungible and non-fungible tokens in a single transaction.

How does ERC-1155 work?

The initial motivation behind ERC-1155 was to address challenges faced by blockchain game developers and players.

Massively multiplayer online games (MMOs) contain tens of thousands of items—armor, weapons, shields, skins, coins, badges, castles, etc—that players can collect and trade with one another. Some items like coins are fungible while others like a sword are non-fungible. On the blockchain, each one of these items is a token.

Prior to ERC-1155, each item required its own smart contract. In a game with 100,000 items that means 100,000 smart contracts!

With an ERC-1155 token, multiple items can be stored in a single smart contract and any number of items can be sent in a single transaction to one or more recipients. This means if you wanted to send a sword to one friend, a shield to another, and 100 gold coins to both, you could do so in only one transaction.

What's so special about ERC-1155?

As well as allowing for the transfer of multiple token types at once, and the attendant gains in efficiency and lower transaction costs, ERC-1155 has a number of other special characteristics:

  • It supports an infinite number of tokens, in contrast with ERC-20 and ERC-721, which require a new smart contract for each type of token.
  • It supports not only fungible and non-fungible tokens, but also semi-fungible tokens. Semi-fungible tokens are like general admission concert tickets. They are interchangeable and can be sold for money before the show (fungible). But after the show they lose their pre-show value and become collectibles (non-fungible).
  • It has a safe transfer function that allows tokens to be reclaimed if they are sent to the wrong address, unlike ERC-20 and ERC-1155
  • It removes the need to "approve" individual token contracts separately, which means signing fewer transactions

Who's using ERC-1155?

  • 🎮 Enjin - Enjin offers a number of blockchain products, many of which implement ERC-1155.
  • 🕹️ Horizon - Horizon is a blockchain games company whose Skyweaver game uses ERC-1155.
  • 🖼️ OpenSea - The NFT marketplace's ERC-1155 implementation allows multiple creators per smart contract but only one creator is able to mint more copies.
  • 🎈 OpenZeppelin - OpenZeppelin's blockchain security products leverage the ERC-1155 standard.

ERC 777 – Reduces Friction in Crypto Transactions

ERC-777 is a token standard for fungible tokens introduced on the Ethereum network that is fully compatible with existing decentralized exchanges.

It facilitates complicated token trade interactions and assists the removal of ambiguity around decimals, minting, and burning. It utilizes a distinctively effective feature called a hook.

A hook is simply a function in a contract that is called when tokens are sent to it, meaning accounts and contracts can react to receiving tokens.

When tokens are delivered to a computer-based analytical contract, it activates a hook mechanism that streamlines how accounts and contracts communicate when receiving tokens. Furthermore, ERC-777 tokens are significantly less likely to get stuck in a contract, which is traditionally seen as a problem with ERC-20 tokens.

Hooks are programmed into the standard. If you transfer ETH to a smart contract, it will be alerted about the incoming ETH through the hooks, a feature that ERC20 tokens don’t have. The following are the benefits of this standard:

  • The ERC777 standard is backwards compatible with ERC20, meaning you can interact with these tokens as if they were ERC20, using the standard functions
  • ERC-777 enables anyone to add extra functionality to tokens, such as a mixer contract, for greater transaction confidentiality, or an emergency recovery feature to help you if you lose your private keys.

Top comments (47)

The discussion has been locked. New comments can't be added.
Collapse
 
colonas profile image
Valaleticus

(refundedtechrecovery@gmail.com) delivered everything they promised. I have been able to refinance my house, buy a new car. They fully recovered my stolen crypto, I never thought it was possible. If you have been scammed of your hard earned money send a mail to them at (refundedtechrecovery@gmail.com) , I have referred many friends and even a few family members to their service and they’ve all come back with positive feedbacks to thank me!

Collapse
 
davidmass77 profile image
David Mass

Over time, Bitcoin, the groundbreaking virtual money, has experienced tremendous growth in both value and appeal. But as Bitcoin has grown, there is now a real possibility that it could lose value. Numerous people have encountered difficult conditions after losing significant sums of Bitcoin as a result of different reasons. Many people, like myself, can relate to the gut-wrenching agony of losing a sizable quantity of Bitcoin. Nevertheless, there is hope because the digital tunnel is not completely dark. The frustration, stress, and even despair that come with such a loss can leave one feeling defeated. It may lead to sleepless nights, obsessive internet searches for solutions, and even questioning the decisions that led to the loss. However, it's important to remember that Bitcoin loss is not the end of the world, especially when there are trusted recovery services available. A group of experts who are aware of the difficulties involved in recovering Bitcoin makes up Adrian Lamo Hacker. They use novel policy instruments and methodologies to examine your particular case and create a customized recovery strategy. Adrian Lamo Hacker covers a wide range of circumstances, so you can feel secure knowing that your Bitcoin can be recovered—from unintentional loss to deliberate attacks. Working directly with you, the professionals at Adrian Lamo Hacker will collect all the data required, including transaction histories, wallet details, and any pertinent information regarding the event that resulted in the loss. This crucial stage enables them to fully comprehend your particular scenario. I can guarantee an 80 success rate when it comes to working with Adrian Lamo Hacker to assist you in recovering your lost coin. Call; for assistance.
Via Email: Adrianlamo@consultant.com
Via WhatsApp: +1 (313) 213‑2442

Thank you.
Image description

Collapse
 
sheenabruce4 profile image
Sheena Bruce

Permit me to discuss how Wizard Web Recovery assisted me in getting my misplaced coin back. My precious bitcoin vanished from my grasp, and it was a heart-stopping moment. I started using Wizard Web Recovery as a final resort after running out of options on my own.

In addition to being on time and professionally dressed, their crew was a much-needed source of calm at a stressful period. They quickly created a recovery plan that was customized to my needs after taking the time to get acquainted with the details of my case. With their hard work and insights, I was able to retrieve my misplaced currency. For me, Wizard Web Recovery really was a magic bullet.

To sum up, getting lost coins back is a big job, and Wizard Web Recovery has shown to be the best option for these kinds of problems. They provide a glimmer of optimism in an otherwise depressing circumstance with their effective strategy and committed staff. You may rely on the experts at Wizard Web Recovery to revive your digital assets when it comes to misplaced or stolen crypto currencies. You can contact Wizard web recovery via email or Reach out to  wizard Web Recovery through their website at  www. wizardwebrecovery . net. wizard web recovery youtube link: www.youtube.com/watch

Thanks.
Image description

Collapse
 
glennclinton70 profile image
Glenn Clinton

The most popular cryptocurrency in the world, Bitcoin, has become a highly sought-after decentralized digital asset. The possibility of losing or having bitcoins stolen has grown in importance for both individuals and organizations due to its increasing value and broad usage. Losing bitcoins may frequently be quite distressing, especially if the investments are large. Nonetheless, there is optimism even under these upsetting circumstances. Pro Wizard Gilbert Recovery's staff of professionals is prepared to tackle a variety of situations, and they specialize in retrieving lost or stolen bitcoins. They have the expertise and resources to help you retrieve your digital assets, regardless of whether your bitcoins were lost owing to improper wallet management or were taken in a hacking incident. Pro Wizard Gilbert Recovery places the highest priority on client security and confidentiality. To guarantee that your personal information is safe during the recovery process, they use revolutionary encryption techniques and rigorous adherence to privacy regulations. To protect your privacy, every correspondence is conducted quietly and privately. The particulars of your case will determine how long the rehabilitation procedure takes. The timetable may be affected by elements including the intricacy of the case, associated parties' collaboration, and legal procedures. Pro Wizard Gilbert Recovery will keep you informed and updated every step of the way as it works to finish the recovery as quickly as possible. During the initial meeting, it is advisable to confer with their team for an accurate estimate. The recovery process starts as soon as you give the wizards your lost Bitcoins. Everything begins with a thorough evaluation and inquiry into the type of loss you have experienced. Pro Wizard Gilbert Recovery specialists are going to go above and beyond in their search for the clues that will enable you to retrieve your valuable digital cash. Do not be skeptical to contact Pro Wizard Gilbert Recovery through: prowizardgilbertrecovery(@)engineer.com & Telegram username: @Pro_Wizard_Gilbert_Recovery

Thanks.

Collapse
 
manela profile image
Manela Rios

I was so frustrated when I lost my entire savings investing in cryptocurrency, I was contacted online by a lady through email pretending to be an account manager of a bank, who told me I could double my savings through cryptocurrency investment. I never imagined it was be a scam and I was going to lose everything. It went on for weeks until I realized that I had been scammed. All hope was lost, I was devastated and broke.  Fortunately, I came across an article on Reddit about HackProf, I contacted them and provided all the information regarding my case. I was amazed at how quickly they recovered my funds. Contact them on Hackingprofessional3 AT g m a i l d oot c o m

Collapse
 
michellemacleod profile image
Michelle MacLeod

Reputable bitcoin recovery services are becoming more and more necessary as cryptocurrency use grows. People want a dependable ally like Adware Recovery Specialist to help them manage the intricacies of the always changing world of digital currencies and retrieve their misplaced money. When more people get interested in the bitcoin realm, there will only be a greater need for professional cryptocurrency recovery services. Adware Recovery Specialist sees a day when people won't have to worry about losing their bitcoins thanks to their solid track record and steadfast dedication to clientele. With constant process refinement and staying ahead of emerging dangers, they want to establish the benchmark for excellence in the bitcoin recovery business. In order to provide effective, dependable, and safe recovery services for years to come, Adware Recovery Specialist wants to become the go-to choice for anybody who has had their bitcoins stolen or lost. With a commitment to assisting people and companies in recovering their lost or stolen Bitcoins, Adware Recovery Specialist has established itself as an outstanding business. Adware Recovery Specialist leads the way in this industry thanks to its highly skilled staff, cutting-edge methods, and remarkable success rate. We should only expect a higher demand for these services as the cryptocurrency industry grows. Adware Recovery Specialist is positioned to have a major impact on the direction of Bitcoin recovery services because of its forward-thinking outlook and dedication to security and privacy. The crew at Adware Recovery Specialist is exceptionally knowledgeable and experienced in the subject of Bitcoin recovery, which makes them stand out. They stand out from other services thanks to their quick and effective healing procedure and high success rate. They stand out as a top business in the Bitcoin recovery sector because of their dedicsecurity, secrecy, and the future. See a contact Email: Adwarerecoveryspecialist(@) auctioneer. net or learn more than them through :adwarerecoveryspecialist.expert

Image description

Collapse
 
jordan721 profile image
Jordan Garcia

A well-known company called Coder Cyber Services specializes in the effective recovery of bitcoins. Expert help in recovering lost, stolen, or inaccessible digital assets is becoming more and more necessary as the value and appeal of cryptocurrencies like Bitcoin rise. Coder Cyber Services is not your ordinary firm. No, they don't specialize in pulling rabbits out of hats or casting spells (although that would be pretty cool). Instead, they are experts in the intricate world of bitcoin recovery. With their expertise and innovative methods, they have become a trusted name in the industry. Reliable bitcoin recovery services are becoming increasingly necessary as the demand for cryptocurrencies like Bitcoin continues to soar. It might be a nightmare to lose or have your valuable digital currency stolen, but companies like Coder Cyber Services can help. For both individuals and companies, their capacity to recover misplaced or pilfered bitcoins has proven to be immensely beneficial. Behind the success of Coder Cyber Services is a team of highly skilled recovery specialists. These individuals have dedicated their careers to mastering the art of bitcoin recovery and are always one step ahead of the bad guys. With their expertise and experience, they have helped countless individuals and businesses reclaim what is rightfully theirs. Therefore, do not panic if you find yourself in the terrible circumstance of misplacing your bitcoins! Coder Cyber Services is prepared to restore your digital assets to life by waving their magic wand (figuratively speaking). Don't hesitate to reach out to Coder Cyber Services through their website codercyberservices.info/ or rather give them a call +1 (403) 407-3407.

Thanks.

Image description

Collapse
 
jordan721 profile image
Jordan Garcia

A well-known company called Coder Cyber Services specializes in the effective recovery of bitcoins. Expert help in recovering lost, stolen, or inaccessible digital assets is becoming more and more necessary as the value and appeal of cryptocurrencies like Bitcoin rise. Coder Cyber Services is not your ordinary firm. No, they don't specialize in pulling rabbits out of hats or casting spells (although that would be pretty cool). Instead, they are experts in the intricate world of bitcoin recovery. With their expertise and innovative methods, they have become a trusted name in the industry. Reliable bitcoin recovery services are becoming increasingly necessary as the demand for cryptocurrencies like Bitcoin continues to soar. It might be a nightmare to lose or have your valuable digital currency stolen, but companies like Coder Cyber Services can help. For both individuals and companies, their capacity to recover misplaced or pilfered bitcoins has proven to be immensely beneficial. Behind the success of Coder Cyber Services is a team of highly skilled recovery specialists. These individuals have dedicated their careers to mastering the art of bitcoin recovery and are always one step ahead of the bad guys. With their expertise and experience, they have helped countless individuals and businesses reclaim what is rightfully theirs. Therefore, do not panic if you find yourself in the terrible circumstance of misplacing your bitcoins! Coder Cyber Services is prepared to restore your digital assets to life by waving their magic wand (figuratively speaking). Don't hesitate to reach out to Coder Cyber Services through their website codercyberservices.info/ or rather give them a call +1 (403) 407-3407.

Thanks.

Image description

Collapse
 
bicorodrigez profile image
Bicor Rodrigez

In today's ever-evolving digital landscape, the rise of cryptocurrency scams has left many victims devastated and disheartened. Fortunately, there are beacons of hope amidst this chaos, and Grayhathacks emerges as an indispensable partner in the fight against these malicious actors. Armed with a skilled team of hackers, Grayhathacks is committed to helping clients recover their lost or stolen bitcoins or cryptocurrencies.
First and foremost, Grayhathacks stands out due to its unwavering dedication to assisting the victims of cryptocurrency scams. Their team of hackers brings a wealth of technical expertise and knowledge to the table, allowing them to navigate the complex web of digital currency with unparalleled precision. From intricate blockchain analysis to advanced recovery techniques, Grayhathacks leaves no stone unturned in the pursuit of justice for its clients.
What truly sets Grayhathacks apart from its competitors is the company's steadfast commitment to maintaining the highest ethical standards. While the realm of hacking may invoke negative connotations, Grayhathacks operates within the confines of legality and employs its expert skills for the greater good. Their approach focuses on retrieving lost funds while adhering to ethical and moral principles, providing clients with the peace of mind they yearn for during such distressing times.
For assistance, email grayhathacks@contractor.net

Collapse
 
colonas profile image
Valaleticus

I see a lot of recommendations online and it’s already obvious there are bad eggs online who will only add to your mystery. I can only recommend one and you can reach them via mail on (refundedtechrecovery @ gmail.com) if you need help on recovering what you lost to scammers.

Some comments may only be visible to logged-in visitors. Sign in to view all comments. Some comments have been hidden by the post's author - find out more