Open makoto opened 1 year ago
Currently, the ENS name is resolvable only when Metamask is connected to Ethereum Mainnet.
However, ENS has support for multicoin types (eg: Bitcoin) since 2019 and we recently extended to support any EVM chains.
The proposed flow is.
coinType
resolver.getAddr(namehash, 60)
For example, the coinType of Polgyon (ChainID 137) is 2147483785 hence resolver.getAddr(namehash, 2147483785)
resolver.getAddr(namehash, 2147483785)
The draft implementation is at https://github.com/MetaMask/metamask-extension/pull/18035 and I would like to get feedback before turning this into production-ready PR.
This is fixed in the extension by https://github.com/MetaMask/metamask-extension/pull/26242
Currently, the ENS name is resolvable only when Metamask is connected to Ethereum Mainnet.
However, ENS has support for multicoin types (eg: Bitcoin) since 2019 and we recently extended to support any EVM chains.
The proposed flow is.
coinType
60 (ETH) (eg:resolver.getAddr(namehash, 60)
coinType
.For example, the
coinType
of Polgyon (ChainID 137) is 2147483785 henceresolver.getAddr(namehash, 2147483785)
The draft implementation is at https://github.com/MetaMask/metamask-extension/pull/18035 and I would like to get feedback before turning this into production-ready PR.