accountFromSeed
accountFromSeed(
seed
,type
,path
,network?
):object
Defined in: packages/iso-filecoin/src/wallet.js:74
Get HD account from seed
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
seed | Uint8Array <ArrayBufferLike > |
type | "SECP256K1" | "BLS" |
path | string |
network? | Network |
Returns
Section titled “Returns”address
Section titled “address”address:
IAddress
path:
string
Derivation path - only for HD wallets
privateKey
Section titled “privateKey”privateKey:
Uint8Array
Private key - only for RAW and HD wallets
publicKey
Section titled “publicKey”publicKey:
Uint8Array
type:
"SECP256K1"
|"BLS"