rixtox / zk-SNARK-contingent-payment

zk-SNARK Contingent Payment on Blockchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zk-SNARK Contingent Payment on Blockchain

This project implements a zk-SNARK circuit that allows Hash Time Locked Contract (HTLC) to be used for contingent payment for trading digital goods with a known Merkle Tree root hash value.

Building

We recommend using Docker to build this project. You can build our provided Docker image and start a new container by running

./start-docker

Inside the Docker container, execute the following to compile the project.

make git-submodules
make

Testing

To run the test cases, execute the following inside the Docker container:

make test

Authors

About

zk-SNARK Contingent Payment on Blockchain

License:GNU General Public License v3.0


Languages

Language:JavaScript 95.5%Language:C++ 2.7%Language:Python 1.0%Language:HTML 0.2%Language:Shell 0.2%Language:Makefile 0.1%Language:CMake 0.1%Language:Dockerfile 0.0%