Skip to content

Commit

Permalink
upgrade to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffWScott committed Aug 31, 2021
1 parent d0a9c2b commit 0824204
Show file tree
Hide file tree
Showing 4 changed files with 2,474 additions and 484 deletions.
Binary file added .DS_Store
Binary file not shown.
9 changes: 4 additions & 5 deletions dist/lamden.js
Original file line number Diff line number Diff line change
Expand Up @@ -2483,7 +2483,7 @@ function new_wallet(seed = null) {
*
* @param mnemonic 24 word seed phrase
* @param derivationIndex bip32 derivation key index
* @returns {{derivationIndex: number, vk: string, sk: string, mnemonic: (string|undefined)}}
* @returns {{derivationIndex: number, vk: string, sk: string, mnemonic: string}}
* derivationIndex: bip32 derivation key index
* vk: Verify Key (VK) represented as a 64 character hex string
* sk: Signing Key (SK) represented as a 64 character hex string
Expand Down Expand Up @@ -2520,15 +2520,14 @@ function generate_keys_bip39(mnemonic = undefined, derivationIndex = 0) {
}

/**
* @param Uint8Array(length: 32) seed
* seed: A Uint8Array with a length of 32 to seed the keyPair with. This is advanced behavior and should be
* avoided by everyday users
* @param mnemonic 24 word seed phrase
* @param derivationIndex bip32 derivation key index
*
* @return {{derivationIndex: number, vk: string, sk: string, mnemonic: (string|undefined)}} { sk, vk, derivationIndex, mnemonic }
* sk: Signing Key (SK) represented as a 64 character hex string
* vk: Verify Key (VK) represented as a 64 character hex string
* derivationIndex: Bip32 derivation index
* mnemonic: 24 word seed phrase (just returned if method was called without existing mnemonic)
* mnemonic: 24 word seed phrase
*/
function new_wallet_bip39(mnemonic = undefined, derivationIndex = 0) {
return generate_keys_bip39(mnemonic, derivationIndex);
Expand Down
Loading

0 comments on commit 0824204

Please sign in to comment.