How to interact with a contract in the Deploy scripts #819
Answered
by
alymurtazamemon
Benrockiee
asked this question in
Q&A
-
Please how do i interact with this functions in my Deploy.js?
|
Beta Was this translation helpful? Give feedback.
Answered by
alymurtazamemon
Jul 8, 2022
Replies: 1 comment 10 replies
-
@Benrockiee I think you have been asking this for a long time. Are you asking about scripts that are inside the const contract = await ethers.getContract("CONTRACT-NAME-HERE", deployer);
const transactionResponse = await contract.CONTRACT-METHOD-CALL-HERE
await transactionResponse.wait(1); |
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
alymurtazamemon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Benrockiee I think you have been asking this for a long time. Are you asking about scripts that are inside the
deploy
folder?