ecash-quicksend
Version:
A unified transaction manager for eCash (XEC), SLP, and ALP token transactions
18 lines • 596 B
TypeScript
interface WalletInfo {
ecc: any;
walletSk: Uint8Array;
walletPk: Uint8Array;
walletPkh: Uint8Array;
walletP2pkh: any;
address: string;
addressIndex: number;
}
/**
* 初始化钱包 - 优化版本,只调用一次 deriveBuyerKey
* @param addressIndex - 地址索引,默认为0
* @param mnemonic - 可选:直接提供助记词,否则从环境变量获取
* @returns 钱包相关的密钥、脚本和地址
*/
export declare function initializeWallet(addressIndex?: number, mnemonic?: string): WalletInfo;
export {};
//# sourceMappingURL=wallet-utils.d.ts.map