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 (48)

The discussion has been locked. New comments can't be added.
Collapse
 
christopheraaronnicholas profile image
Info Comment hidden by post author - thread only accessible via permalink
christopheraaronnicholas

One has to be wary of fake investment companies online these days.I was a victim of an investment scam.I lost $70K to a scam broker.However,I was able to recover all my funds with the help of ProAssetRecoveryExpert. Contact Proassetrecoveryexpert@gmail.com if you have issue getting your money from a scam company.

Collapse
 
byson25 profile image
Manuel Byson

YOU CAN RECOVER YOUR STOLEN CRYPTO ASSETS FROM SCAMMERS
Scam is a pandemic and unfortunately, I happened to be a victim of that pandemic, I was contacted on Instagram by a scammer who posed as a crypto investor. He introduced me to his platform where he trades cryptocurrency for people, All you had to do was subscribe to an investment plan for a certain duration, and at the end of that duration you withdraw your profits, he was really convincing, to be honest. I eventually went through his platform's page on Instagram and everything seemed and looked so genuine, I even saw posts of people testifying about how the platform transformed and skyrocketed their financial lives. I still don't understand how they get people to make such false testimonies just to convince people to invest. Well, I subscribed to an investment plan and all I had to do was wait till the end of the duration to withdraw my profits but unfortunately, when my profits became due I couldn't make any withdrawals. I contacted the guy and to my surprise, he blocked me that was when it dawned on me that I had been scammed. I became furious but very helpless because there was nothing I could do. After two weeks I came across an article on how a hacker helped a man recover his funds from his locked blockchain account, I figured maybe he could do the same for me but I was skeptical about it because I thought "What if it was just another scammer posing as a recovery hacker" but I eventually gave in and went ahead to contact via his email getbackyourasset @ gmail . com. I explained to him and he told me how long it would take for him to recover my stolen funds and to my amazement he did as he said even before the time duration.
Guys you should contact Eric Nelson for all funds recovery-related problems and also other hacking services, he is so real, here is his email again getbackyourasset @ gmail . com

Collapse
 
kath477 profile image
Katherine Davies

You have been hacked of your crypto assets, you are a victim of fraud?...now you wonder if you can recover back your cryptocurrency. Is very possible to recover your cryptocurrency I have been down that road before, I was defrauded of my Bitcoin worth $35,000, and it was a terrible time for me...Long story cut short, I was able to come in contact with a reliable recovery expert team via an article I read online about cryptocurrency, they were able to follow up on my case and recover my stolen crypto assets, I was very happy with their services...if you have been a victim of online fraud either bitcoin fraud, binary options fraud or any form of fraud contact getbackyourasset at gmail dot com they are so reliable and professional. NO UPFRONT PAYMENT

Collapse
 
erica32 profile image
Erica Dennis

Months ago, a fellow approached me on Instagram, Introducing me to some type of investing, Although I have heard of cryptocurrency, Bitcoin, Ripple, and a few others, I basically don't know how it works, I was somewhat convinced by this fellow to invest in their trading platform, after giving it a thought, I decided to invest in this trading platform, I invested about $20,000 during the first month of my Investment, My profit soars high to about $50,000 and I decided to withdraw my funds, hoping I can re-invest with my profits. I was unable to withdraw and was asked to make deposits after deposits for me to withdraw. I figured out it was a scam and decided to get my funds back, It wasn't an easy task, I was defrauded by some recovery companies too, I was on the verge of giving up when I decided to give my luck one more shot, I reached out to one of the emails I had seen online of an expert in funds recovery, I emailed Eric Nelson, an expert recovery hacker and he was absolutely helpful, with the help of Eric Nelson, I was able to recover all my invested funds from the trading platform and my profits included. Contact them at getbackyourasset @ gmail . com if you are faced with the same situation.

Collapse
 
kath477 profile image
Katherine Davies

You have been hacked of your crypto assets, you are a victim of fraud?...now you wonder if you can recover back your cryptocurrency. Is very possible to recover your cryptocurrency I have been down that road before, I was defrauded of my Bitcoin worth $35,000, and it was a terrible time for me...Long story cut short, I was able to come in contact with a reliable recovery expert team via an article I read online about cryptocurrency, they were able to follow up on my case and recover my stolen crypto assets, I was very happy with their services...if you have been a victim of online fraud either bitcoin fraud, binary options fraud or any form of fraud contact getbackyourasset at gmail dot com they are so reliable and professional.

Collapse
 
liam0147 profile image
Liam Bucharo

I'd like to bring to the attention of this platform (Pocket Option) the recent act of account blocking that's been carried out by the outfit pocket option. They blocked my account for some weird reasons without proof. I made a trade, staking $100,000 and made a profit of $72,000, that's a total of $172,000. On trying to withdraw my funds my account was blocked immediately claiming that I violated their policy!! I was stunned. I sent mails, but all efforts failed. A few days later, I recovered my money with the help of a triangulation expert. OptivCuperation Tech is the best tech expert you need to help you recover your scammed or lost funds. They are best in dealing with online scam and assisting victims in receiving reimbursement, tracking down digital fingerprints, cyber analysis and thorough investigation. They can be reached via email at: optivcuperation@gmail.com

Collapse
 
nurali profile image
Nurali Vizirov

I remember how depressed I was when I lost my money from the coinfx crypto investment scheme. I withdrew the first and second time, and I invested more money. It was during my third withdrawal attempt that it collapsed, and my money was gone. I refused to give up,rather, I went online to search on how to recover lost Cryptocurrencies. Upon my search, I saw reviews on (hackingprofessional3Atg m a i l Dot c [o]m). I contacted him,provided all he requested, and now my coins are back in my wallet.

Collapse
 
michaeldowdle008 profile image
michael dowdle

Beware of Hackers while trading on Bitcoin,I learnt this the hard way .
As I was trading on Bitcoin on the 10th of September 2023, my account was hacked and my $107,000 that I was trading with disappeared in thin air I was devastated and in distress,I immediately started looking for ways on how I could recover my lost funds! I went through several ads and I came across an Ad on an Expert hacker leeultimatehacker@aol.com after doing thorough research I noticed several people had gotten help from him and were actually happy after getting back all their lost funds, I personally inboxed several of them and they confirmed of the excellent service they received from leeultimatehacker@aol.com that's when I made contact too and as advertised I am here to testify that he helped me recover all my $107,000 that I had lost.He also gave me tips on how to keep my bitcoin account safe from hackers. If in any case you have lost funds while trading on Bitcoin hurriedly contact leeultimatehacker@aol.com his services are 100% guaranteed and he doesn't waste time with recovering what you lost.

Collapse
 
dhen7 profile image
David Henry

A new technology was detected for the recovery of lost cryptocurrency by A hacker, this technology is currently used by Adrian Lamo Hacker. They are best at recovering cryptocurrency and lost accounts, this hacker has been helping a lot of people to recover their lost funds most especially me I lost $147,000 to a fake wallet Address Adrian Lamo hacker recovered it the same day I brought the case to them, if you’re in these same issues or case you can as well report your case to them through their email: Adrianlamo@consultant.com

Collapse
 
stormi_kim profile image
Stormi Kim

When you're really in demand of the most reliable asset recovery professionals as I recently did, well, here's my counsel. Montgomery Elites pros, needless to say, will recover cryptocurrency from online thug you might've entrapped yourself with. The current field is overflowing with swindlers left and right. I invested with one of them as they requested each step of the way but come a few weeks, I realized my account had been frozen. I'll see the profits adding but I absolutely can't withdrawal nothing! I'm just lucky to have had some knowledge about montgomery elites’ for they did help me recover about $47,000 from them. With emphasis, to anybody who need to hear this that they'll successfully retrieve your stolen assets. Email montgomeryelites(@)contractor. net!
Image description

Collapse
 
brandonjoe profile image
Brandon Joe

thecybergoat elites professionals are astonishingly reliable hackers. I came to learn about them as reputable currency recovery investigators after they did chip in recovering funds defrauded by blake-finance earlier last year. My buddy and I invested approximately 650,000 worth of USDC. In June, as I was just browsing through searching for reliable recovery agencies, I came upon thecybergoat on Quora where I learnt about their efficiency in recoveries from Nova Tech which did people dirty as blake. I emailed thecybergoat and had an email exchange regarding our ordeal at Blake. About 220,900 was recouped back to wallet in a week's time. Thecybergoats will retrieve your money if you have been swindled too, email them for recovery aid!! All the best!!
Image description

Collapse
 
amanikoth profile image
Amani Koth

Yeah. I also did interact with thecybergoat a while ago. They really are good, aren't they?
Image description

Collapse
 
bernard534 profile image
Angus Bernard

Thanks to Coder Cyber Services, I was able to recover my stolen bitcoin worth $48,000. Their professionalism, expertise, and determination were truly exceptional. I am immensely grateful for their relentless efforts in restoring what was rightfully mine. They are the real wizards of the web. I had almost lost hope after my bitcoin was stolen, but then I found Coder Cyber Services. Their team not only recovered my funds but also provided me with constant updates and support throughout the process. Their dedication and knowledge made all the difference. Highly recommended. "I cannot express my gratitude enough to Coder Cyber Services. They not only recovered my stolen bitcoin but also provided me with valuable insights and tips for better protecting my assets in the future. Their professionalism and exceptional customer service turned a stressful situation into a positive experience. Reach them through codercyberservices@tech-center.com or visit their website codercyberservices.info .

Thank you.

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
 
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.

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

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