When I config network by 'mantleTestnet' to wagmi. We connect done, but start error "ensUniversalResolver" #2476
Unanswered
minhhoang2404
asked this question in
Q&A
Replies: 1 comment 5 replies
-
This is because Mantle Testnet doesn't have an ENS contract. If you want to query against ENS on Mainnet, you should add import { useEnsName } from 'wagmi'
import { mainnet } from 'wagmi/chains'
useEnsName({
address: '0x...',
chainId: mainnet.id
}) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ChainDoesNotSupportContract: Chain "Mantle Testnet" does not support contract "ensUniversalResolver".
This could be due to any of the following:
Version: [email protected]
at getChainContractAddress (http://localhost:3001/static/js/bundle.js:497919:24)
at getEnsName (http://localhost:3001/static/js/bundle.js:487839:104)
at Object.getEnsName (http://localhost:3001/static/js/bundle.js:492074:93)
at fetchEnsName (http://localhost:3001/static/js/bundle.js:455778:23)
at Object.queryFn12 [as queryFn] (http://localhost:3001/static/js/bundle.js:508304:67)
at Object.fetchFn [as fn] (http://localhost:3001/static/js/bundle.js:446269:27)
at run (http://localhost:3001/static/js/bundle.js:447531:31)
at createRetryer (http://localhost:3001/static/js/bundle.js:447573:5)
at Query.fetch (http://localhost:3001/static/js/bundle.js:446316:79)
at QueryObserver.executeFetch (http://localhost:3001/static/js/bundle.js:447085:37)
Beta Was this translation helpful? Give feedback.
All reactions