Skip to content

Some Queries related to Deployer #2815

Answered by krakxn
ashrth asked this question in Q&A
Sep 23, 2022 · 2 comments · 9 replies
Discussion options

You must be logged in to vote

@ashrth I have kept this as simple as possible (or tried to), so feel free to ask questions wherever necessary.

"Where are getNamedAccounts function and deployments coming from?" They are coming from Hardhat; we "extract" it from the Hardhat package (hre = Hardhat runtime environment). These utilities are provided to us in the Hardhat package.

"My deploy script was working fine even without importing it" I will need context for this one; please post the code snippet if necessary.

"Also I am not able to get my head around this deployer thing, What/who is deployer?" If you look at hardhat.config, you will see that in the namedAccounts field, there is a deployer account. So, anything specifi…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@ashrth
Comment options

Comment options

You must be logged in to vote
8 replies
@ashrth
Comment options

@krakxn
Comment options

@ashrth
Comment options

@krakxn
Comment options

@ashrth
Comment options

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