OptiNames
Universal Offchain Records : Simplifying ENS Records Management Across EVM Chains
The OptiNames team has been diligently working on Offchain ENS records management. Our solution involves a single resolver contract deployed on mainnet/goerli, along with CCIP gateway and records contracts deployed on different EVM chains. Currently, our supported chains include Optimism, Arbitrum, and ZkSync Era, with more chains to be added soon.
Understanding EVM offchain Resolver:
Offchain Resolver (Goerli) - https://goerli.etherscan.io/address/0x8ca0e8c49ca6632dfb8c5bd5bfa2bb316659cd12#code
The Resolver acts as a bridge between ENS records and EVM networks, providing a streamlined approach to accessing records across multiple EVM chains. It utilizes the CCIP read standard for querying off-chain data. This innovative solution ensures users can effortlessly retrieve the most recent and valid record sets from different chains.
Setting Records on Different Chains:
Through contracts deployed on each chain, users can establish address records, content hash records, and text records. For example, users can set an address record on ZkSync Era, assign an avatar on Arbitrum, and add a Twitter text record on Optimism.
Resolving Records with EVM offchain Resolver:
When resolving ENS records, the EVM Resolver comes into play. When a user queries a specific ENS name, the resolver directs the ENS client to the offchain gateway. The gateway scans the available chains, retrieves the most recent and valid record set, and returns it to the user. This ensures that the resolved record reflects the latest information provided by the domain controller/manager for that particular ENS name.
Overriding Previous Records:
In cases where users update their ENS records on a specific chain, the gateway ensures that the most recent record takes precedence over any previously set record for that name. For instance, if a user sets a new avatar on Arbitrum, it will automatically override any previous avatar record set on another chain. This mechanism guarantees consistency and accuracy across different networks.
Practical Example: “ecc.eth” (goerli):
Let’s take a practical example to demonstrate the power of the EVM Resolver. Consider the ENS name “ecc.eth” on the Goerli testnet. This name has different records set on various chains. The manager has set the address record on ZkSync Era, the avatar record on Arbitrum, and the Twitter text record on Optimism. By leveraging the EVM Resolver, users can effortlessly retrieve the most up-to-date records for “ecc.eth” across these diverse chains.
Optimism transaction: https://optimistic.etherscan.io/tx/0x2c07885c839406b1a314b641d69741a56b0a0ca18899ad48c635b7b6a41c5013
Arbitrum transaction: https://arbiscan.io/tx/0x8fd4c05c6789ffb446b1494b117bcac246e620e008a4913de22b0dc65df5399a
ZkSync Era transaction: zkSync Era Block Explorer
Advantages for the ENS and Ethereum Communities:
- Enhanced Scalability: EVM Resolver brings the benefits of using cheaper networks to ENS, ensuring faster records setting and reduced congestion on the Ethereum mainnet.
- Cost Efficiency: By utilizing our offchain resolver and conducting transactions on alternate chains, users can significantly reduce transaction costs associated with ENS records management.
- Flexibility and Interoperability: Our resolver empowers users to choose the network that best suits their needs, providing flexibility and options for optimizing their ENS experience.
Next steps:
- Transition to using L2 state proofs.
- Mainnet Deployment of ENS_EVM_Resolver.
- Launch of Application for Adding and Editing ENS Records on Multiple Chains.
- Expansion of Chain Support: Base, Polygon zkEVM, Linea, Mantle, Taiko, and more.
- Integration with AvatarSync & ENS-Redirect.
Ongoing Project: ECC Name Service (Optimism)
ECC Names has emerged as the frontrunner in the registration of ENS subdomains offchain. Currently, ECC Names ranks among the top three subname communities, with an impressive count of over 20,937 registered names. Only Decentraland names and Coinbase IDs have surpassed this remarkable milestone.
As part of our ongoing project, we are actively working on integrating support for Optimism record setting for .ecc.eth subdomains. This means that the entire process, from registration to setting records, will now take place offchain on Optimism, making ECC NS the first of its kind to offer this comprehensive solution.
By expanding our capabilities to include offchain record setting, we are completing the cycle of managing ENS subdomains on Optimism. This significant milestone solidifies ECC Names’ position as a trailblazer in the domain registration space, with a strong commitment to leveraging the benefits of alternate & cheaper chains for seamless and efficient subdomain management.
Stay tuned for more updates as we continue to innovate and revolutionize the ENS landscape with OptiNames, setting new standards for user experience and technological advancement.