Open mwherman2000 opened 6 years ago
HACK: as QnD workaround, I made the following change to LoadPrivateKey() and it worked:
// var privateKey = service.DecryptKeyStoreFromJson(Password, json).ToHex(); string privateKey = json; // HACK: works for Metamask exported private keys
Hmmm when you export a private key from metamask you get the private key. Not the KeyStore file.
I'm using Metamask to export my private key. It exports it as a simple hex string of characters - not a JSON structure.
The Wallet expects a JSON formatted private key.
Can you add support for the Metamask formatted private key?
Best regards, Michael Herman (Toronto)