Lesson: 6 getting simpleStorage.deployed is not a function #6094
Answered
by
uniquemj
vipulsahu0123
asked this question in
Q&A
-
While running the deploy script for async function main() {
const SimpleStorageFactory = await ethers.getContractFactory("SimpleStorage");
// This will both deploy the contract and wait for it to be mined
const simpleStorage = await SimpleStorageFactory.deploy();
await simpleStorage.deployed();
console.log(`SimpleStorage deployed to: ${simpleStorage.address}`);
} Getting an error: |
Beta Was this translation helpful? Give feedback.
Answered by
uniquemj
Sep 5, 2023
Replies: 1 comment 2 replies
-
You can check out #793 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
vipulsahu0123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can check out #793