UNPKG

sendover

Version:

Tools for creating and paying invoices privately on Bitcoin SV

16 lines 564 B
import bsv from 'babbage-bsv'; /** * Generates a public/private keypair for the sending and receiving of invoices. * * @param params All parameters are given in an object * @param params.returnType='hex' Return type, either "hex" or "babbage-bsv" * * @returns The generated keypair, with `privateKey` and `publicKey` properties. */ export declare function generateKeypair(params?: { returnType?: 'hex' | 'babbage-bsv'; }): { privateKey: string | bsv.PrivateKey; publicKey: string | bsv.PublicKey; }; //# sourceMappingURL=generateKeypair.d.ts.map