DEV Community

Discussion on: Ethereum Dapp Crash Course: Make an ERC20 token faucet + Frontend

Collapse
 
samsafi profile image
Sam-Safi

Hi Richard,
First of all thank you for this crash course.
I followed your code and when I click on “check my balance” button I got this error

Unhandled Rejection (Error): network does not support ENS (operation="ENS", network="unknown", code=UNSUPPORTED_OPERATION, version=providers/5.3.0)

Collapse
 
adouch9 profile image
adouch9

Me too I have the same problem

Collapse
 
drdarian profile image
drdarian

I had the same issue. I fixed it by changing the 'tokenAddress' variable in Faucet.js.

I had originally put in the address for my Metamask wallet which caused the error. You should use the contract address given to you by your Hardhat terminal which you should receive after you call 'npx hardhat node'. It will be located after your hardhat_addCompilationResult