Closed gracecampo closed 1 year ago
Hope you can help me take a look, thank you very much
Hey, I found the problem, my PRIVATE KEY The PASSOWRD obtained is empty, which is strange. I clearly saved it
just remove "new"
let wallet = ethers.Wallet.fromEncryptedJsonSync( encryptedJson, process.env.PRIVATE_KEY_PASSWORD );
When I use the encrypted private key to create a wallet, it prompts me "ethers.Wallet.fromEncryptedJsonSync is not a constructor" Error message:
my code
project dependencies