Open caducus7 opened 5 months ago
I'm also a rookie for web3 development and I can't resolve the problem. But I think if you are fairly convinced that the issue was related to the RPC_URL from alchemy, you can choose another web3 development platform, such as infura, to try another RPC_URL.
But I think if you are fairly convinced that the issue was related to the RPC_URL from alchemy, you can choose another web3 development platform, such as infura, to try another RPC_URL.
You are correct and I tried that, but I still get the same problem. What I meant was the way the RPC_URL is being handled by the code has to be the issue, since the deployment isn't happening at all. Could it be a hardhat issue? Can't seem to figure this out..
But I think if you are fairly convinced that the issue was related to the RPC_URL from alchemy, you can choose another web3 development platform, such as infura, to try another RPC_URL.
You are correct and I tried that, but I still get the same problem. What I meant was the way the RPC_URL is being handled by the code has to be the issue, since the deployment isn't happening at all. Could it be a hardhat issue? Can't seem to figure this out..
I had pushed my code in repo,you can check my code. My contract was deployed well.
It should be require("dotenv").config()
instead of require("dotenv").config
in your hardhat.config.js
(parentheses after config)
Hello all, I'm having this issue on Lesson 07, when trying to deploy on Sepolia for the first time. I've been searching around but can't find a reason for this or tinker my way through to get the chainId to be read. I'm fairly sure it has something to do with the RPC_URL from alchemy but nothing has worked for me so far. Might it be a hardhat toolbox issue?
//hardhat-config.js
//helper-hardhat-config if relevant
//01-deploy-fund-me relevant chainId code
Originally posted by @caducus7 in https://github.com/smartcontractkit/full-blockchain-solidity-course-js/issues/6296#issuecomment-1932691465