Skip to content

A simple map of ethereum networks to ENS registry addresses.

Notifications You must be signed in to change notification settings

whymarrh/ethereum-ens-network-map

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Ethereum ENS Network Map

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

The network IDs are stringified integers.

The addresses are hex-prefixed ethereum addresses.

Usage

npm install ethereum-ens-network-map --save

var ensNetworkMap = require('ethereum-ens-network-map')

web3.version.getNetwork(function (err, networkId) {

  var ensAddress = ensNetworkMap[networkId]
  // Initialize your client from this!

})

About

A simple map of ethereum networks to ENS registry addresses.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%