Skip to content

Lesson 6: How to find my contracts address after deploying it in ethers v6^ #6463

Answered by SimSimButDifferent
mosh02 asked this question in Q&A
Discussion options

You must be logged in to vote

You might be getting back a hardhat address. Quite often people mistakenly send test Eth to these hardhat addresses.

Make sure you are indeed using:

console.log(`deployedcontract to: ${simplestorage.target}`)

and deploying using:

yarn run scripts/deploy.js --network sepolia

Do you have the sepolia network added to your hardhat.config and helper-hardhat-config?

Replies: 1 comment 1 reply

Comment options

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

Answer selected by mosh02
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