UNPKG

@gandlaf21/cashu-crypto

Version:
7 lines (6 loc) 446 B
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;