Methods
(static) distSeed(seed, depth) → {object}
Parameters:
Name | Type | Description |
---|---|---|
seed |
string
|
A string of seed in base 58 |
depth |
number
|
The number of addresses to discover |
Returns:
- Type:
-
object
Object containing shard distribution and address by index
Example
wallet.distSeed()
// returns
(static) distWord(word, depth) → {object}
Parameters:
Name | Type | Description |
---|---|---|
word |
string
|
A string of mnemonic words |
depth |
number
|
The number of addresses to discover |
Returns:
- Type:
-
object
Object containing shard distribution and address by index
Example
wallet.distWord()
// returns
(static) fromSeed(seed) → {object}
Parameters:
Name | Type | Description |
---|---|---|
seed |
string
|
A string of seed in base 58 |
Returns:
- Type:
-
object
Account object containing 4 keypairs, one from each of 4 shards
Example
wallet.fromSeed()
// returns