Function accountFromSeed

  • Get HD account from seed

    Parameters

    • seed: Uint8Array
    • type: "SECP256K1" | "BLS"
    • path: string
    • Optionalnetwork: Network

    Returns {
        address: AddressSecp256k1 | AddressBLS;
        path: string;
        privateKey: Uint8Array;
        pubKey: Uint8Array;
        type: "SECP256K1" | "BLS";
    }