Skip to content

Lesson-12 Deployment Questions #2596

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

You must be logged in to vote

Hey @MasterofBlockchain concerning the utils folder, there was nothing monumental about it. I mean yes it was useful but it is not required that we have it for our project to run smoothly. In our case, we used the folder to hold simple scripts like the verify.js scripts that were kind of universal in our project. It was good because it introduced some form of order in the project structure. However, we could have just stored our verify.js script in the root folder like we have hardhat.config.js or helper-hardhat-config and we'd be fine. Also, it is not a requirement that we name the file verify.js whatever name works as is the case with helper-functions.js above.
Regarding the line: const…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@othaime-en
Comment options

@TimeKeyRoll
Comment options

@othaime-en
Comment options

@TimeKeyRoll
Comment options

@othaime-en
Comment options

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