Closed CarlosBalladares closed 3 years ago
Any help is appreciated. I can't find a way to generate a private key from a SYNC wallet. All I can get is the keystore. I'm trying to use connex repl. which requires the private key to import a wallet.
How do I get this private key?
Try Keystore.decrypt(keystore, 'your password') https://github.com/vechain/thor-devkit.js/blob/master/src/keystore.ts#L35
Keystore.decrypt(keystore, 'your password')
Thanks, this solves the issue
Any help is appreciated. I can't find a way to generate a private key from a SYNC wallet. All I can get is the keystore. I'm trying to use connex repl. which requires the private key to import a wallet.
How do I get this private key?