Consensys / ethql

A GraphQL interface to Ethereum :fire:
Apache License 2.0
623 stars 85 forks source link

Resolve ENS names into addresses #51

Closed raulk closed 5 years ago

raulk commented 6 years ago

The goal is to extend the Address scalar type to accept and resolve .eth names, such that the resolvers only see the resolved address. The ethereum-ens library could be used to perform the resolution.

We'll need to introduce an extra configuration option to set the address of the ENS contract. We can also support a keyword identifying the network against a set of hardcoded values (e.g. MAINNET, ROPSTEN, KOVAN, etc.).

Notes:

kshinn commented 5 years ago

As an ENS plugin was completed and merged to master, is this feature considered done or is there more work to do?