ecash-quicksend
Version:
A unified transaction manager for eCash (XEC), SLP, and ALP token transactions
22 lines • 768 B
TypeScript
interface DerivedKey {
wif: string;
address: string;
addressIndex: number;
derivationPath: string;
}
/**
* 从助记词派生出WIF格式的私钥和地址
* @param mnemonic - 助记词
* @param addressIndex - 地址索引,默认为0(第0个地址)
* @param derivationPath - 派生路径基础部分,默认为 "m/44'/1899'/0'/0"
* @returns 包含 wif 和 address 的对象
*/
export declare function deriveBuyerKey(mnemonic: string, addressIndex?: number, derivationPath?: string): DerivedKey;
/**
* 验证助记词格式
* @param mnemonic - 助记词
* @returns 是否为有效助记词
*/
export declare function validateMnemonic(mnemonic: string | null | undefined): boolean;
export {};
//# sourceMappingURL=mnemonic-utils.d.ts.map