@martiandao/aptos-web3-bip44.js
Version:
Web3 SDK For Aptos
13 lines • 563 B
TypeScript
declare type Hex = string;
declare type Path = string;
declare type Keys = {
key: Uint8Array;
chainCode: Uint8Array;
};
export declare const getMasterKeyFromSeed: (seed: Hex) => Keys;
export declare const CKDPriv: ({ key, chainCode }: Keys, index: number) => Keys;
export declare const getPublicKey: (privateKey: Uint8Array, withZeroByte?: boolean) => Uint8Array;
export declare const isValidPath: (path: string) => boolean;
export declare const derivePath: (path: Path, seed: Hex, offset?: number) => Keys;
export {};
//# sourceMappingURL=hd-key.d.ts.map