wealdtech / go-ens

Apache License 2.0
91 stars 37 forks source link

Support CCIP Read and ENSIP-10 #38

Open gskril opened 8 months ago

gskril commented 8 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 8 months ago

looking into it

yayashuxue commented 8 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 8 months ago

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

alextnetto commented 8 months ago

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

pikonha commented 8 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 7 months ago

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