Cointime

Download App
iOS & Android

What are EIPs?

Validated Project

Fairyproof provides a go-to guide to understand Ethereum standards and their security.

The Ethereum blockchain is built on a series of rules called Ethereum Standards. It may seem daunting to understand what these standards are. That is why we are here to give you a simple explanation on everything you need to know about Ethereum standards and what you would need to do if you would like to dive deeper into being a part of building the world of Ethereum.

Ethereum Standards Explained

In a nutshell, Ethereum standards are different documents of code that defines the design and principles of the Ethereum blockchain. They are also known as Ethereum Improvement Proposals (EIPs): Proposals of different aspects in the Ethereum blockchain covering various technical specifications and the rationale behind said proposals. EIPs mainly define Ethereum Core functions, represented as “EIP” with a set of assigned numbers: “EIP-XXXX”.

Whenever an EIP is submitted for review, the proposal will be assigned a new, usually three-digit or four-digit number (Like EIP-3712, EIP-100, etc.).

Different EIPs serve different purposes. According to Ethereum’s official EIP Purpose and Guidelines playbook, EIP-1, EIPs come in three different main categories:

1) Standard Track EIP: Refers to changes that affects most or all Ethereum implementations (Like network protocol, or block or transaction validity rules). These EIPs consist of three parts — A design document, an implementation, and, when needed, an update to the formal specification.

a. Core: Improvements requiring a consensus fork (Like EIP-5), and changes that are not necessarily consensus critical but may be relevant to “core dev” discussions (Like the miner/node strategy changes 2, 3 and 4 of EIP-86).

b. Networking: Improvements involving devp2p (EIP-8) and Light Ethereum Subprotocol, and improvements to network protocol specifications of whisper and swarm.

c. Interface: Improvements around client API/RPC specifications and standards, and certain language-level standards like method names (EIP-6) and contract ABIs.

d. ERC: Application-level standards and conventions such as token standards (Like EIP-20), name registries (Like EIP-137), URI Schemes (EIP-681), and more. ERCs are usually represented by an “ERC” indication with a set of assigned numbers: “ERC-XXXX”

2) Meta EIP: Also considered a Process EIP, Meta EIPs describe a process surrounding Ethereum or proposes a change to (or an event in) a process. Process EIPs are like Standards Track EIPs but apply to areas outside the Ethereum protocol itself. They may propose an implementation, but not to Ethereum’s code base. Examples include procedures, guidelines, changes to the decision-making process, and changes to the tools or environment used in Ethereum development.

3) Informational EIP: Describes an Ethereum design issue or provides general guidelines or information to the Ethereum community. They do not propose new features and do not necessarily represent Ethereum community consensus or a recommendation, so users are free to ignore or follow informational EIPs.

All submitted proposals are open-sourced. This means that you can find everything you need to know from the full list of EIPs here should you require more in-depth knowledge on specific proposals.

Drafting EIPs or ERCs: The Process

Stage 1 (IDEA): Drafting an EIP is not as hard as you think. Just like any other product or project, it starts with an idea — an idea to solve a specific problem present in the Ethereum ecosystem. These ideas can be based on developing Ethereum applications more effectively or efficiently, or to fix an existing issue. This is the stage where you pre-draft your proposal: It always helps to hold casual discussions with those familiar with the Ethereum ecosystem if you are an individual, or discuss internally when you are in a project group, to help you elaborate the idea and give you a clear mind-map of the objectives of the proposal. Doing so will also provide you a solid skeleton in writing your first draft based on EIP’s format and requirements.

Spend meaningful time in this stage to best establish the credibility of your proposal here. In this stage of ideation, the draft is not tracked within the EIP Repository.

The best playbook on creating successful EIPs is through EIP-1. They even provide a template for you to guide you through your drafting.

Stage 2 (DRAFT): This is the stage where your EIP and its development gets formally tracked. The moment you have drafted your proposal (Ensure you follow the template), you will have to clone the repository, add your EIP to the clone, and submit your draft through a Pull Request.

Stage 3 (REVIEW): The moment your draft is formally submitted, it will be assigned a number, and proceeds to the “Peer Review” phase where different groups and individuals from the community will review your draft and propose changes. Drafters can usually find comments for changes or security considerations through this website. You will then have to make those changes to proceed. The draft can enter any of the following three sub-stages during this time:

Stage 3.1 (LAST CALL): This is the final review window for an EIP, where the review window will be assigned a deadline, usually after 14 days. Should there be the need for more normative changes, the draft reverts to the main “Review” stage.

Stage 3.2 (LIVING): A special status for EIPs that are designed to be continually updated and not reach a state of finality.

Stage 3.3 (STAGNANT): Any EIP in “DRAFT”, “REVIEW” or “LAST CALL”, if inactive for a period of 6 months or more is moved to “STAGNANT”. The EIP can be revived by moving it back to “DRAFT” or its earlier status. If not resurrected, an AIP may stay forever in this status.

Stage 4 (FINAL): Once the final review has passed its two-week mark in its last call and finalized, the EIP is then to represented as “final”. It exists in a state of finality and should only be updated to correct errata and non-normative clarifications. This is where your EIP will be integrated as standards or be included in a broader network of upgrades, depending on the nature of your EIP.

It is also worth noting that your EIP can reach a possible Stage 5 (WITHDRAWN) should you deem the proposal no longer effective or relevant and wish to remove it. The EIP is this state can no longer be resurrected using the same EIP number. If you would like to revive the proposal, it is considered a new proposal where you will have to go through the whole process again.

Fairyproof-Drafted EIPs and ERCs

You might wonder how Fairyproof is so familiar with the world of Ethereum standards and how they are drafted. That is because we are proud drafters of a number of them:

The Rules of Drafting EIPs or ERCs: A Security Perspective

“The Ethereum protocol is permissionless — Anyone with the correct technical knowledge can draft new Ethereum standards. An excellent rule of thumb for new and budding individuals or teams looking to draft a standard is to read good, classical EIPs and learn from them. The key to drafting good Ethereum standards is clarity: Identify the problem you are looking to fix and how your idea sets out to solve said problem. It also helps that you keep your idea organized, prepare a sample code, and list various security considerations and backward compatibility issues for the review team to consider. Above all else, read the EIP format and follow it carefully and strictly.”

- Tan YuefeiCEO, Fairyproof

Different EIPs are drafted to solve different problems. Naturally, different security concerns would be introduced based on different EIPs. Not all EIPs would suffer from the same security concern.

However, implementers tend to commit common mistakes when implementing EIP based applications. These mistakes include access control to functions, vulnerabilities in business logic, security issues with Solidity instructions, not following the template, or simply that the proposal fundamentally fails to solve a specific problem as it introduces more and more security concerns. Common mistakes are numerous, which is why it is advised to look into reading good, classical EIPs as a guideline to strengthen the credibility of the one you are drafting while always referring to EIP-1.

Conclusion

Rome was not built in a day — And so is Ethereum. Before you set out to draft a new EIP, just remember:

For New Individuals or Project Teams: Make sure you dive deep into the Ethereum ecosystem, study its pain-points, and think about solutions in a more general, big-picture way. Look at solving problems from an architectural perspective and be bold in creating EIPs and ERCs based on the solutions you have thought out.

For Veterans: Keep working, don’t settle. Ethereum has a long way to go.

The amazing fact that you do not require permission to draft Ethereum standards makes Ethereum a wonderful project to join, collaborate, and contribute.

Now, go and be a part of Ethereum’s development and success!

Join our Telegram group to stay up-to-date on hacks and other security situations in the crypto space.

To stay updated on notable security incidents in the world of Web3.0, subscribe to our newsletter.

Looking to strengthen the security of your project? Contact us at https://fairyproof.com

Comments

All Comments

Recommended for you

  • LayerZero: Working with Nansen and others to write a Sybil Detection Report

    LayerZero Labs announced that it has been working with Chaos Labs and Nansen to compile a witch detection report. They will consider the total weighted transactions of each user in all LayerZero applications to ensure consistency between TGE, developers, and long-term users. The report will be released after the deadline for self-reporting witches.

  • Ethereum network gas fee drops to 4 gwei

    According to Etherscan data, the current gas fee on the Ethereum network has dropped to 4 gwei.

  • Yesterday, Grayscale GBTC had a net inflow of US$4 million, achieving net inflows for two consecutive days

    According to HODL15Capital monitoring, the trading volume data for Bitcoin spot ETF on May 6th is as follows: BlackRock IBIT 932 million US dollars, Grayscale GBTC 365 million US dollars, Fidelity FBTC 297 million US dollars, ARKB 66.08 million US dollars, BITB 52.4 million US dollars.

  • Asset Manager Hightower Buys $68 Million Worth of Bitcoin Spot ETF

    According to Watcher.Guru, asset management company Hightower with a management scale of 130 billion US dollars disclosed in an SEC filing that it has purchased a Bitcoin spot ETF worth 68 million US dollars.The company holds positions in 6 Bitcoin spot ETFs, specifically:Grayscale BTC: 44,838,000 US dollars (709,956 shares)Fidelity Bitcoin ETF: 12,410,000 US dollars (200,084 shares)BlackRock Bitcoin ETF: 7,621,000 US dollars (188,397 shares)ARK Bitcoin ETF: 1,702,000 US dollars (23,964 shares)Bitwise Bitcoin ETF: 988,000 US dollars (25,449 shares)Franklin Templeton Bitcoin ETF: 788,000 US dollars (19,129 shares)

  • 9 spot Bitcoin ETFs increased their holdings by a total of 3,710 Bitcoins on May 6

    Lookonchain monitoring data on May 6th showed that Fidelity added 1662 Bitcoins, worth about 105.7 million US dollars, and currently holds 151,241 Bitcoins, worth about 9.62 billion US dollars; Grayscale GBTC reduced holdings by 938 Bitcoins, worth about 59.66 million US dollars, and currently holds 291,239 Bitcoins, worth about 18.53 billion US dollars; 9 Bitcoin ETFs collectively added 3710 Bitcoins, worth about 236 million US dollars.

  • German state-owned development bank KfW plans to issue blockchain digital bonds with a minimum size of 100 million euros

    Germany's state-owned development bank Kredittanstalt fuer Wiederaufbau (KfW) plans to issue a blockchain digital bond with a minimum size of 100 million euros. Insiders revealed that the bond is expected to mature on December 31, 2025. KfW is reportedly in discussions with European institutional investors during the preparation phase over the next few weeks to allow investors time to become familiar with the transaction. The transaction is expected to be completed in the summer.

  • Cryptocurrency venture capital investment hit $1.02 billion in April

    According to Rootdata's data, in April 2024, the cryptocurrency industry attracted $1.02 billion in venture capital funding in 161 rounds of investment. This is the second consecutive month that financing has exceeded the $1 billion mark, bringing the total investment in cryptocurrency companies to $3.67 billion so far in 2024. Blockchain infrastructure companies alone have accumulated more than $1.7 billion in funding this year.

  • The 7-day average of Bitcoin’s hashrate has dropped and is currently slightly above 600 EH/s

    According to data from The Block, since the halving of Bitcoin block rewards, the 7-day moving average of Bitcoin's hash rate has slightly decreased and is currently slightly above 600 EH/s, but still at a historical high.

  • CFTC Chairman: Expected to Continue to Crack Down on More Cryptocurrency Companies

    Rostin Behnam, the chairman of the US Commodity Futures Trading Commission (CFTC), expects that as long as there is investor interest in the market, the regulatory agency will continue to crack down on cryptocurrency companies to protect investors from potential fraud and manipulation.

  • The 133rd Ethereum ACDC meeting: The goal is to complete the devnet within 7-10 days

    The Ethereum developers held their 133rd ACDC conference call. First, they outlined the latest research on Ethereum protocol confirmation rules. Then, they discussed Pectra updates related to EIP-7547 and CFI states, and decided to put them on hold temporarily. They also updated the v1.5.0-alpha.1 specification. Regarding the implementation updates for devnet-0, most teams are making progress, but there are also some unexpected complexities. The goal is to complete devnet within 7-10 days.