Method Signature
Parameters
string
required
The encrypted wallet JSON string (keystore format)
string
required
The password used to encrypt the wallet
Returns
string
The wallet’s public address
string
The decrypted private key
Examples
- TypeScript
- JavaScript
Load from File
Encryption/Decryption Flow
Decryption can take several seconds as it’s intentionally slow (using scrypt)
to prevent brute-force attacks.
Related Methods
Encrypt Private Key
Encrypt a wallet
Create Wallet
Create new wallet