minauth
Version:
A TypeScript library for building authentication systems on top of the Mina blockchain and other zero-knowledge proofs solutions.
7 lines • 307 B
JavaScript
import { askRecordField } from '../utils/fp/readertaskeither.js';
export const askConfig = () => askRecordField('config');
export const asUntypedProofGenerator = ({ confDec, generateProof }) => ({
confDec,
generateProof: () => (c) => generateProof()(c)
});
//# sourceMappingURL=proofgenerator.js.map