Good morning y’all... Guys, I already run a Hardhat node and as added a custom RPC in my Metamask (http://local host:8545... with ChainID: 31337) so far all good even Metamask forces me to add a symbol to enable the Accept Btn... I’ve put ETH and confirmed), now I’m a bit lost here... do I have to transfers some of the 1000 ETH from the “virtual” accounts to my real Metamask and so have a balance to pay gas when testing my SM?
Jun 8, 2022, 4:45 PM
On the other hand, I’m aiming to mint for Polygon... taking into account this is a side-chain (according to the technical info) and Polygon uses its own token as “Gwei” to pay gas, how can I test my contract using MATIC as the payment token if Hardhat only show ETH in all the local node accounts?... Note: I’ve set Mumbai Testnet before in my config for the matter but just wanna know if there’s any polygon plugin available or any workaround?
Frontend dev here trying to dive into web3 waters with Polygon... so, definitely a newbie on this
Hi there... is this a scammer? @wang_jundong
He started DM to me...
Jun 8, 2022, 5:17 PM
you can pick one of the private keys from hardhat and add it to your metamask
Jun 8, 2022, 5:17 PM
Oh, yes, so obvious... thanks a lot!
I didn’t realize I don’t need to use my real account for testing... it’s nonsense... thanks
Jun 8, 2022, 5:19 PM
np, it happened to all of us on the start lol
Jun 8, 2022, 5:20 PM
Yeap, use to happen... well, maybe you could shade some light on my second question? Could you?
Cool, now I see the 1000 ETH balance... (it should be true ones... 😉)
Maybe I’m missing something here in my question or miss understanding how all this work... anyway, I’ll test against Mumbai’s RPC... now, I’ve seen some others code and noticed {App I’d} as part of the rpc address, is it mandatory including my App Id?
Jun 8, 2022, 5:32 PM
true 😆
Jun 8, 2022, 5:41 PM