@bcpros/crypto-wallet-core
Version:
A multi-currency support library for address derivation, private key creation, and transaction creation
21 lines • 791 B
TypeScript
import { IDeriver } from '..';
export declare class EthDeriver implements IDeriver {
padTo32(msg: any): any;
deriveAddress(network: any, xpubkey: any, addressIndex: any, isChange: any): string;
addressFromPublicKeyBuffer(pubKey: Buffer): string;
derivePrivateKey(network: any, xPriv: any, addressIndex: any, isChange: any): {
address: string;
privKey: any;
pubKey: any;
path: string;
};
deriveAddressWithPath(network: string, xpubKey: string, path: string): string;
derivePrivateKeyWithPath(network: string, xprivKey: string, path: string): {
address: string;
privKey: any;
pubKey: any;
path: string;
};
getAddress(network: string, pubKey: any): string;
}
//# sourceMappingURL=index.d.ts.map