This project aims to scale the Ethereum Name Service (ENS) by consolidating existing patterns and proofs of concept into a unified and production-ready codebase.
We need access to some properties that can't be gathered from the namehash of the domain. We need to have access to the DNS-encoded domain name instead.
Describe Preferred Solution
Change the register function to receive the DNS-encoded name instead of the namehash of it.
// current implementation
function register(bytes32 name, uint32 ttl)
// expected version
function register(bytes memory name, uint32 ttl)
We then need to store the following properties onto the database:
Refactor Request
Describe the Refactor Request
We need access to some properties that can't be gathered from the namehash of the domain. We need to have access to the DNS-encoded domain name instead.
Describe Preferred Solution
Change the
register
function to receive the DNS-encoded name instead of the namehash of it.We then need to store the following properties onto the database: