**Is because you're using an account address instead of the contract address that was prompted in the terminal when you deployed it.
Error: Error: network does not support ENS (operation="ENS", network="unknown", code=UNSUPPORTED_OPERATION, version=providers/5.1.0)
at Logger.makeError (index.ts:205)
at Logger.throwError (index.ts:217)
at Web3Provider.<anonymous> (base-provider.ts:1407)
at Generator.next (<anonymous>)
at fulfilled (base-provider.ts:2)```
or if you leave "your-contract-address" as I forgot to change the const :)
Looks like any string (if it isn't a contract address) assume it's an ens domain.
I usually get that when I put in a signer instead of the signer's address. The basic idea is that you're putting in something other than a hex address, so the compiler's first thought is that it must be an ENS address (ENS addresses are a way to attach a url-like identifier to an address, like vitalik.eth).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If you have this problem at the beginning:
**Is because you're using an account address instead of the contract address that was prompted in the terminal when you deployed it.
or if you leave "your-contract-address" as I forgot to change the const :)
Looks like any string (if it isn't a contract address) assume it's an ens domain.
I usually get that when I put in a signer instead of the signer's address. The basic idea is that you're putting in something other than a hex address, so the compiler's first thought is that it must be an ENS address (ENS addresses are a way to attach a url-like identifier to an address, like
vitalik.eth
).