Skip to content

Instantly share code, notes, and snippets.

@makoto
Created May 1, 2018 13:53
Show Gist options
  • Save makoto/36d8862e03cf7c8e4f2b682b53f09911 to your computer and use it in GitHub Desktop.
Save makoto/36d8862e03cf7c8e4f2b682b53f09911 to your computer and use it in GitHub Desktop.

ENS Repositories

ENS

Implementations for registrars and local resolvers for the Ethereum Name Service.

Contracts

ens/contracts/
├── DNSResolver.sol
├── Deed.sol
├── DefaultReverseResolver.sol
├── ENS.lll
├── ENS.lll.bin
├── ENS.sol
├── ENSRegistry.sol
├── FIFSRegistrar.sol
├── HashRegistrarSimplified.sol
├── Migrations.sol
├── PublicResolver.lll
├── PublicResolver.sol
├── ResolverInterface.sol
├── ReverseRegistrar.sol
└── TestRegistrar.sol

ENS dependencies

  • eth-ens-namehash: "^1.0.2",

ENS App

API client

ens-app/src/api/
├── ens.js
├── preimage.js
├── registry.js
├── resolvers.js
├── schema.js
├── watchers.js
└── web3.js

ENS dependencies

  • ethereum-ens": "^0.7.3"

Old repos

Registrar

Functionalities

  • Allows users to auction names

ENS Dependencies

  • eth-registrar-ens: "^0.8.1",
  • ethereum-ens: "^0.4.2",

ENS Manager

Functionalities

  • Allows users to lookup name
  • Allows users to reserve lookup address to find name

ENS Dependencies

  • ethereum-ens: "^0.7.1

API client

ens-manager/src/api/
├── ens.js
├── preimage.js
├── registry.js
├── watchers.js
└── web3.js

Subdomain Registrar

A registrar that sells subdomains to users on behalf of their owners

Functionalities

  • Sells subdomain
  • Register subdomain

ENS dependencies

  • eth-ens-namehash: "^2.0.0"

Contracts

subdomain-registrar/contracts/
├── Deed.sol
├── DummyHashRegistrar.sol
├── ENS.sol
├── HashRegistrarSimplified.sol
├── Migrations.sol
├── RegistrarInterface.sol
├── Resolver.sol
├── SubdomainRegistrar.sol
└── TestResolver.sol


Third party repos

ensjs (aka ethereum-ens)

A convenience interface for using the Ethereum Name Service, based on the EthJS contract abstraction.

Eth ENS Namehash (aka eth-ens-namehash)

A javascript library for generating Ethereum Name Service (ENS) namehashes per spec

Eth Registrar ENS

JS binding for the Initial ENS Registrar

Ethereum ENS Network Map

A simple mapping of ethereum network IDs to Ethereum ENS addresses, when available.

ethers-ens

Ethereum Name Service (ENS) library and Command-Line Interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment