Lesson 11: How to deploy the PriceConsumerV3? #5772
Answered
by
Nlferu
software-dev2010
asked this question in
Q&A
-
Hello, I'm at lesson 11 and Patrick talks about hardhat starter kit, and after I generated the repository I don't have the deploy folder, here is the starter folder: https://github.com/software-dev2010/hardhat-play And when I try to run the command: How can I deploy the PriceConsumerV3? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
Nlferu
Jun 30, 2023
Replies: 1 comment 5 replies
-
Hello @software-dev2010 If you are using hardhat you have to code deploy scripts under deploy folder, otherwise it wont work. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm try to run this as you would run regular script then, so
yarn hardhat run scripts/deployment/deployPriceConsumerV3.js
. Please also check this link as there is explained what exact commends to use to deploy from this starter kit. https://github.com/smartcontractkit/hardhat-starter-kit#deploying-contractsI assume that something like
yarn run deploy
should work