Skip to content

from where does hardhat give the gasfees while using hardhat deploy ? #2240

Answered by krakxn
jaskara-n asked this question in Q&A
Discussion options

You must be logged in to vote

It is because you were on Injected Web3 provider on Remix, which is essentially Metamask.

"Is there a way to integrate metamask in vscode that i probably missed?" No, you are doing okay (unless you are in the front-end bit).

"From where did we give the gas fees while deploying on a testnet from vscode?" We provide our PRIVATE_KEY. Put simply, we are using that test account we created for development purposes. The gas fees being paid are consequently done so via the test ETH you have in your wallet.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jaskara-n
Comment options

You must be logged in to vote
2 replies
@jaskara-n
Comment options

@RoboCrypter
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
3 participants