zkFold / zkfold-cardano

zkFold: Cardano integration library

Home Page:https://zkfold.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zkFold: Cardano integration library

An integration of zkFold Symbolic smart contracts with the Cardano blockchain. The repository contains

  • the Plutus script for the zkFold Symbolic verifier;
  • the Plutus script for the Plonk proof verification token;
  • the off-chain code for transaction building.

Building the project

This project can be built with Cabal 3.10.2.1 and GHC 9.6.3.

With nix

With nix it is as easy as:

$ nix develop
...
$ cabal update
$ cabal build

We provide packaged versions for common Operating Systems for all of the above dependencies: Download

Without nix

Crypotgraphic depencencies needed for building Haskell packages:

$ cabal update
$ cabal build

To run

  1. cabal run test to check the implementations against the test data.
  2. cabal run bench-uplc to compile the fast implementation to UPLC (.flat) for further processing.
  3. cabal run bench-cpu-mem to calculate the cpu/mem units of the tests in the plutus-benchmark package.

About

zkFold: Cardano integration library

https://zkfold.io

License:MIT License


Languages

Language:Haskell 56.1%Language:Shell 22.9%Language:Typst 21.0%