Add ENSIP: ERC-7930 Address Resolution#62
Open
nxt3d wants to merge 3 commits intoensdomains:masterfrom
Open
Conversation
This ENSIP introduces a resolver function for resolving ENS names to ERC-7930 addresses. The function accepts a chain identifier (erc7930Chain) and returns the address component (erc7930Addr), allowing clients to compose full ERC-7930 Interoperable Addresses.
- Switch from custom resolver function to ENSIP-24 data() profile - Use full ERC-7930 Interoperable Address as key with zero-length address - Store raw address bytes (no length prefix) as value - Update terminology to use chain identifier concept - Fix frontmatter formatting and typos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces a new ENSIP for resolving ERC-7930 Interoperable Addresses from ENS names using the ENSIP-24
data()profile.Motivation
ERC-7930 defines a standardized binary format for representing blockchain addresses across different chains. As multichain applications become more common, there is a need for a universal way to resolve interoperable addresses using ERC-7930. This ENSIP provides a standardized approach for ENS names to resolve to ERC-7930 addresses, complementing existing
addr()(ENSIP-1) andaddr(coinType)(ENSIP-9) resolution methods.Approach
This ENSIP defines a Data Key Standard that uses the existing ENSIP-24
data()profile, avoiding the need for new resolver interfaces. The standard specifies:erc7930.address: <chain-identifier>where the chain identifier is a full ERC-7930 Interoperable Address with zero-length addressBenefits
Related Standards
data()profile)addr())addr(coinType))