crypto-wallet-core
Version:
A multi-currency support library for address derivation, private key creation, and transaction creation
17 lines • 786 B
TypeScript
import { IDeriver, Key } from '..';
export declare class SolDeriver implements IDeriver {
deriveAddress(_network: any, _xpubkey: any, _addressIndex: any, _isChange: any): string;
deriveAddressWithPath(_network: string, _xpubKey: string, _path: string): string;
getAddress(_network: string, pubKey: string): string;
addressFromPublicKeyBuffer(pubKey: Buffer): string;
derivePrivateKey(network: any, xPriv: any, addressIndex: any, isChange: any, addressType: any): Key;
deriveChild(masterKey: {
key: Buffer;
chainCode: Buffer;
}, path: string): {
key: Buffer;
chainCode: Buffer;
};
derivePrivateKeyWithPath(network: string, xprivKey: string, path: string, addressType: string): Key;
}
//# sourceMappingURL=index.d.ts.map