Skip to content

confusion about deploy and script folder #1917

Answered by othaime-en
TimeKeyRoll asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @MasterofBlockchain from your repo, I can see your directory structure is okay so your statements are right.

Regarding the scripts folder, remember at first we used them to write our scripts to deploy the contracts? We could still use this folder for this purpose however, deploying scripts becomes hard to track if you have a lot of scripts to run or if you want to run multiple scripts at once, so we decided to start using the hardhat-deploy plugin. Using hardhat-deploy makes it easy to keep track of all our deploy scripts and we can easily deploy all of them at once by adding an all tag in module.exports.tags = ["all"] Or if you remember deployments.fixtures(["all"]) also deploys all …

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@RoboCrypter
Comment options

@Sairam002
Comment options

@othaime-en
Comment options

@Sairam002
Comment options

@othaime-en
Comment options

Answer selected by TimeKeyRoll
Comment options

You must be logged in to vote
1 reply
@othaime-en
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants