How can I manually create Account and add it to infura?
here is my code git link: https://github.com/NagatoPeinI1/testInfura.git
if you see the
ganacheCompileandDeply.js
works fine and I get the value of
defaultAccount
.
But when I run
infuraCompileAndDeploy.js
I’m getting undefined for
defaultAccount
I have even tried adding the account to my wallet via
// const signer = web3.eth.accounts.privateKeyToAccount( // process.env.SIGNER_PRIVATE_KEY // ); // console.log(" signer: ",signer) // web3.eth.accounts.wallet.add(signer)