-
Hi guys, just a quick question |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
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. |
Beta Was this translation helpful? Give feedback.
-
@jaskara-n : In Hardhat we just provide our private keys of our metamask and gas will deduct from it, And hardhat manages the optimum gas by it self. Sometimes hardhat will ask you to increase the gas in your transaction when the gas is not enough, or there is a load on chain. In VS code there will be no pop up, It just happens when you are using a fronend. |
Beta Was this translation helpful? Give feedback.
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.