@gandlaf21/cashu-crypto
Version:
Basic cashu crypto functions
7 lines • 481 B
TypeScript
import { PrivKey } from '@noble/curves/abstract/utils';
import { Proof } from '../common/index.js';
export declare const createP2PKsecret: (pubkey: string) => Uint8Array;
export declare const signP2PKsecret: (secret: Uint8Array, privateKey: PrivKey) => Uint8Array;
export declare const getSignedProofs: (proofs: Array<Proof>, privateKey: string) => Array<Proof>;
export declare const getSignedProof: (proof: Proof, privateKey: PrivKey) => Proof;
//# sourceMappingURL=NUT11.d.ts.map