Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ENS: option to use custom registry addresses #3010
The current web3.eth.ens module only supports the official ENS registries on various networks, but there are some custom ENS deployments (especially on testnets) that users may want to resolve from.
Upon creating the ENS module, the user could pass an option to specify the registry address (e.g. see
The ENS module self-selects a registry address based on the current network, without giving the user a chance to override it.
It would be ideal for this to be included in both v1 and v2, but if we'd like to avoid new features to v1, it would make sense to add it only to v2.