Ethers does not get ENS domain addresses for coin type anymore #4081
Labels
enhancement
New feature or improvement.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
v6
Issues regarding v6
Ethers Version
6.4.0
Search Terms
ens, domain, address, resolve
Describe the Problem
The library can no longer retrieve an address from a given ENS domain and coin type. It always returns null. However, the supported coin types by the ENS can be found here https://github.com/satoshilabs/slips/blob/master/slip-0044.md.
From my investigation, the validity check for a given coinType is not implemented, thus all coin types passed to ensResolver.getAddress() are invalid and the result is always null.
Code Snippet
No response
Contract ABI
No response
Errors
No response
Environment
Ethereum (mainnet/ropsten/rinkeby/goerli), Altcoin - Please specify (e.g. Polygon), node.js (v12 or newer)
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: