minauth
Version:
A TypeScript library for building authentication systems on top of the Mina blockchain and other zero-knowledge proofs solutions.
20 lines (19 loc) • 541 B
TypeScript
import { Field } from 'o1js';
import { EncodeDecoder } from '../plugin/encodedecoder';
import { TsInterfaceType } from '../plugin/interfacekind';
import { z } from 'zod';
export declare const VerificationKeySchema: z.ZodObject<{
data: z.ZodString;
hash: z.ZodString;
}, "strip", z.ZodTypeAny, {
data: string;
hash: string;
}, {
data: string;
hash: string;
}>;
export type VerificationKey = {
data: string;
hash: Field;
};
export declare const verificationKey: EncodeDecoder<TsInterfaceType, VerificationKey>;