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