Lesson 10: entranceFee not being pulled into LotteryEntrance #1513
-
I am not seeing the =================================================================================== LotteryEntrance.js
=================================================================================== Any tips on what I may be missing here, plz? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Try this and let me know: Add this: import { useWeb3Contract } from "react-moralis"
import { contractAddresses, abi } from "../constants"
import { useMoralis } from "react-moralis" // Do not export from Moralis when using React
import { useEffect, useState } from "react"
import { useNotification } from "web3uikit"
import { ethers } from "ethers" Also, are the files inside ../constants okay? That could also be an issue. |
Beta Was this translation helpful? Give feedback.
-
Check the chainId your metamask wallet is connected to: |
Beta Was this translation helpful? Give feedback.
-
@adityabhattad2021 @krakxn Hey guys, thanm you for the help! I solved it ina different issue that presented itself moving forward. You can check it here: #1532 |
Beta Was this translation helpful? Give feedback.
@adityabhattad2021 @krakxn Hey guys, thanm you for the help! I solved it ina different issue that presented itself moving forward.
You can check it here: #1532