wallet
Wallet tools
keyRecover
Recovers key pair from private key.
Parameters
Parameter | Type | Description |
privateKey | string | Cbor encoded message |
network | Network | Filecoin network |
generateMnemonic
Generates a mnemonic.
Parameters
Parameter | Type | Description |
strength | number | Strength of the mnemonic |
keyDerive
Gets key pair from mnemonic.
Parameters
Parameter | Type | Description |
mnemonic | string | The mnemonic to derive the key from |
path | string | Key derivation path |
network | Network | Filecoin network |
keyDeriveFromSeed
Gets key pair from seed.
Parameters
Parameter | Type | Description |
seed | Buffer | The mnemonic to derive the key from |
path | string | Key derivation path |
network | Network | Filecoin network |
Last updated