sourabhxyz / zkfold-base

ZkFold's Base library

Home Page:https://zkfold.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zkFold Base library

This repository contains the base library for the ZkFold project. It includes the zkFold Symbolic compiler and a number of zero knowledge proof protocols. The compiler translates a subset of Haskell into arithmetic circuits, which can be used to generate zero knowledge proofs.

Documentation

The zkFold Symbolic language can be utilized to create zero-knowledge smart contracts and privacy-preserving applications.

User documentation can be found at docs.zkfold.io.

If you want to contribute to the project or find out how it works "under the hood", check out package documentation on Hackage.

Build

The package compiles with GHC 9.6.3 and Cabal 3.10.2.1.

Tests

To run the tests, execute

cabal run -- zkfold-base-test

Examples

The examples folder contains several code examples of arithmetizable pure functions. These examples can be compiled into the arithmetic circuits with the zkFold Symbolic compiler. In order to do it, execute

cabal run -- zkfold-base-examples

The output is placed into the compiled_scripts folder.

About

ZkFold's Base library

https://zkfold.io

License:MIT License


Languages

Language:Haskell 99.6%Language:Rust 0.4%