EIPs Explained

EIP-5757 · Final · Meta · 2022-09-30

EIP-5757: Process for Approving External Resources

The meta-process that decides which outside websites and publishers EIPs are allowed to link to, requiring stable versioned, long-lived and free-to-access sources.

What problem does it solve?

EIPs are meant to be permanent technical records. When a proposal links to an outside web page, that page can change, disappear or move behind a paywall, and the EIP silently loses part of its meaning. Implementers years later may not be able to see what the authors were referring to.

EIP-5757 sets the bar an external origin (a publisher or document system, such as a standards body or the DOI system) must clear before EIPs may link to it, and the steps editors follow to approve or remove one. The approved list itself lives in EIP-1.

How it works

Key terms:

  • Link: any reference to outside content, including markdown links, images and book or journal citations.
  • Resource: the thing being referenced (page, file, article, book).
  • Origin: who publishes or catalogues resources.

An origin is permissible only if it meets all three requirements:

Requirement Why
A way to identify a specific revision (commit hash, version number, publication date) Without it, changes cannot be tracked and the reference is not immutable
A proven history of availability (ten years of reliable service is given as sufficient, not necessary) If a standard needs a resource, implementers must be able to get it
No fee to access The EIP process follows Ethereum's open, free-access principles

Approval. When editors decide an origin qualifies, EIP-1 must be updated with the origin's name, the required markup for citing it, and a fully rendered example link.

Removal. If an approved origin stops meeting the requirements, it must be removed from EIP-1. After that:

  • EIPs already finalized (Final or Withdrawn) should not be edited just to strip those links.
  • Non-finalized EIPs must remove links to that origin before changing status.

A removed origin can be re-approved through the same process if it qualifies again.

Sample code

Illustrative only: the kind of check an EIP linter could run against an allow-list of approved origins (the hostnames here are examples, not the official list, which is in EIP-1):

const APPROVED_ORIGINS = new Set([
  "www.rfc-editor.org",
  "doi.org",
  // ...whatever EIP-1 currently lists
]);

function checkExternalLinks(markdown: string): string[] {
  const errors: string[] = [];
  for (const [, url] of markdown.matchAll(/\]\((https?:\/\/[^)\s]+)\)/g)) {
    const host = new URL(url).host;
    if (!APPROVED_ORIGINS.has(host)) errors.push(`unapproved origin: ${host}`);
  }
  return errors;
}

Things to know

  • Type is Meta and status is Final. It does not change the protocol or any contract; it governs how EIPs are written.
  • The requirements are minimum conditions. Editors still decide whether an origin is approved.
  • Links within the EIPs repository (to other EIPs or to an EIP's assets folder) are not external resources and are not affected.
  • If you need to cite something from an unapproved site, the usual approach is to move the essential content into the EIP itself or its assets.

#meta #process #editors #links

Details

Authors
Sam Wilson (@SamWilsn)
Status
Final
Type
Meta
Created
2022-09-30
Requires

Machine-readable: Markdown · JSON