wallet

wallet

Source:

Methods

(static) distSeed(seed, depth) → {object}

Source:
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}

Source:
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}

Source:
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

(static) fromWord(word) → {object}

Source:
Parameters:
Name Type Description
word string

A string of mnemonic words

Returns:
Type:
object

Account object containing 4 keypairs, one from each of 4 shards

Example
wallet.fromWord()
// returns