mirror of
https://github.com/embarklabs/ethereumjs-wallet.git
synced 2025-02-17 21:06:39 +00:00
Document getChecksumAddressString()
This commit is contained in:
parent
4162a28ac6
commit
d98b52b7a3
@ -45,6 +45,7 @@ Instance methods:
|
||||
* `getPrivateKey()` - return the private key
|
||||
* `getPublicKey()` - return the public key
|
||||
* `getAddress()` - return the address
|
||||
* `getChecksumAddressString()` - return the [address with checksum](https://github.com/ethereum/EIPs/issues/55)
|
||||
* `toV3(password, [options])` - return the wallet as a JSON string (Version 3 of the Ethereum wallet format)
|
||||
|
||||
All of the above instance methods return a Buffer or JSON. Use the `String` suffixed versions for a string output, such as `getPrivateKeyString()`.
|
||||
|
@ -220,7 +220,7 @@ Thirdparty.fromQuorumWallet = function (passphrase, userid) {
|
||||
assert(userid.length >= 10)
|
||||
|
||||
var seed = passphrase + userid
|
||||
seed = crypto.pbkdf2Sync(seed, seed, 2000, 32, 'sha256');
|
||||
seed = crypto.pbkdf2Sync(seed, seed, 2000, 32, 'sha256')
|
||||
|
||||
return new Wallet(seed)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user