Skip to content

zkFold/zkfold-cardano

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published