Lesson 6 error: "Deployed contract: undefined" when deploying on Sepolia Testnet #6226
-
Hi everyone, I am getting this error where the deployed address is returning " undefined" when I console.log it. Do you know why this could be since i am waiting for the contract to deploy before i console.log it? error:
deploy.js:
hardhat.config.js:
|
Beta Was this translation helpful? Give feedback.
Answered by
SquilliamX
Oct 15, 2023
Replies: 1 comment
-
is the correct way to print it. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SquilliamX
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
console.log(contract address: ${simplestorage.target})
is the correct way to print it.