Skip to content

difference between namedAccounts & getNamedAccounts #601

Answered by alymurtazamemon
harshuo2 asked this question in Q&A
Discussion options

You must be logged in to vote

@harshuo2 In namedAccounts object inside hardhat.config you write the named accounts and set their values. And getNamedAccounts() is a getter functions that returns these written named accounts to us.

Replies: 3 comments 16 replies

Comment options

You must be logged in to vote
16 replies
@deep0072
Comment options

@alymurtazamemon
Comment options

@deep0072
Comment options

@alymurtazamemon
Comment options

@deep0072
Comment options

Answer selected by alymurtazamemon
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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