Skip to content

Look up the Ethereum hexadecimal address for every ENS name in a list.

Notifications You must be signed in to change notification settings

ardislu/ens2hex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 

Repository files navigation

ens2hex

Minimal website to look up the Ethereum hexadecimal (0x) address for every ENS (.eth) name in a list.

The keccak256 implementation is from Paul Miller's noble-hashes library.

Hardcoded ENS resolvers

Warning

This tool will report an address of 0x0000000000000000000000000000000000000000 for ENS names that do not have an address set, or that use a custom ENS resolver.

The official method of resolving an ENS name requires (1) getting the ENS resolver for the name, then (2) asking the resolver for the name's address.

To complete the lookup in one network request, this tool skips step (1) above and instead directly queries all the names against the ENS resolvers "ENS: Public Resolver 2" (0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41) and "ENS: Old Public Resolver 2" (0x226159d592E2b063810a10Ebf6dcbADA94Ed68b8). These two resolvers will handle the majority of ENS names, but this tool will miss ENS names where the owner has set a custom resolver.

About

Look up the Ethereum hexadecimal address for every ENS name in a list.

Topics

Resources

Stars

Watchers

Forks

Languages