Replies: 2 comments
-
You seem to have missed "functionName" in useWeb3Contract({})
Also, kindly check if your metamask is connected to the correct network. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Holger-ap Which version of ethers.js are you using? and Please leave your repo together so we can test and see. |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hello, im getting an error when i'm on the frontend, it does not seem to want to format, it's the same issue when i tried to do .tostring on the useffect, getEntrance fee, but i just removed that.
Besides that i can't seem to get the enterance fee, i've made sure that i run a hardhat node, and that the ABI and Contractaddresses.json constants works probably.. I've tried to reset the the hardhat node, and to check if the contract address matches the one that had been deployed.. I've also made sure that metamask is on the hardhat network.
Ethers is also installed.
Any help is appreciated, Thanks :-)
repository: here
Error:
Here is my lotteryEntrance.js as well
Beta Was this translation helpful? Give feedback.
All reactions