wealdtech / go-ens

Apache License 2.0
90 stars 32 forks source link

Support CCIP Read and ENSIP-10 #38

Open gskril opened 3 months ago

gskril commented 3 months ago

Offchain ENS names are becoming more popular (see Coinbase and Uniswap), so it’d be amazing to have them supported in go-ens. The relevant specs are ENSIP-10 (Wildcard Resolution) and EIP-3668 (CCIP Read).

At a high level:

Test cases

Compensation

The ENS DAO Ecosystem Working Group is sponsoring a 0.5 ETH bounty for a developer to implement ENSIP-10 and EIP-3668. Please reply to this issue, or on Farcaster, if you’re interested in working on this feature.

yayashuxue commented 3 months ago

looking into it

yayashuxue commented 3 months ago

Questions:

  1. So this is just frontend implementation? And the js solution is already available
  2. @gskril you mind pointing me to an entry point to look into in the mirrored .js file?
alextnetto commented 3 months ago

We'll start tomorrow. Can you assign the task to me?

alextnetto commented 3 months ago

ENSIP-10 implementation was done by @pikonha, from our team. Now working on CCIP Read

pikonha commented 3 months ago

The CCIP Read implementation is handling the offchain domain resolving by following the EIP-3668 standard. The given offchain stored addresses are being correctly resolved to their respective addresses.

However, the reading of multicoin addresses, texts, and contenthash is still in progress which is something I'll be working on today. My estimation is to have it fully implemented and update the #41 PR by the end of the day.

Feedback on the implementation is more than welcome.

pikonha commented 3 months ago

The implementation is now finished, both the Resolve and resolver.Address() can read offchain and subdomain addresses as well as text.