Upgrade ethers.js to 5.6.1 to activate ENS L2/Offchain integration - OhNo WTF Crypto

Breaking News

Upgrade ethers.js to 5.6.1 to activate ENS L2/Offchain integration

#ETH #Ethereum

Highlights ethers.js: March 2022

As RicMoo recently announced, the latest ehters.js comes with two important features that enable ENS L2/Offchain integration.

  • ENSIP-10: Wildcard Resolution
  • EIP3668: CCIP Read: Secure offchain data retrieval

You should not need to change any of your code as long as your app is interacting with ENS through etherjs ENS methods as described in

Here is the minimum code to test the integration. offchainexample.eth points to so-called “offchain resolver” that fetches data from JSON configuration file hosted on google app engine and respond to any record for offchainexample.eth and its subdomain record (such as 2.offchainexample.eth The example is not using L2 data but the same mechanism works when the L2 resolver becomes ready).

Running the script should show the output like this.

The name points to the same resolver on both mainnet and all other testnets (Ropsten, Rinkeby, and Goerli).

For more information, please refer to the following docs and please let us know the integration result so that we can update our record

We have already contacted many Dapps to encourage upgrading the ethers.js If you have any issues on integration, please let us know on #technology channel on our Discord server.


Upgrade ethers.js to 5.6.1 to activate ENS L2/Offchain integration was originally published in The Ethereum Name Service on Medium, where people are continuing the conversation by highlighting and responding to this story.



OhNoEthereum via https://www.ohnocrypto.com/ @makoto_inoue, @Khareem Sudlow