UNPKG

minauth-simple-preimage-plugin

Version:

A very simple Minauth plugin that allows users to authenticate by providing a preimage to a given hash.

12 lines (11 loc) 318 B
import { Field } from 'o1js'; import { ProofGenerator } from 'minauth/dist/plugin/proofgenerator.js'; /** Configuration for proof generation. */ export type Conf = { pluginName: string; password: Field; serverUrl: string; }; export declare const generator: ProofGenerator<Conf>; export default generator;