Skip to content

Is it okay to fund the contract in rinkby ? #524

Discussion options

You must be logged in to vote

Please do 2 things:

  1. First see if you have deployed the contract...so in terminal do yarn hardhat deploy --test rinkeby and then execute this code
  2. After deployment also, if you are facing challenge then can you add console.log(transactionResponse) after
const transactionResponse = await fundMe.fund({
    value: ethers.utils.parseEther("0.1"),
  });

And see whether you are getting the right response (basically your fund function working properly). If not then you have to see what is wrong with sending ether (e.g do you need to specify gas limit for transaction to go through etc)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tuhindasv0
Comment options

Answer selected by tuhindasv0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants