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.
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
To run the test cases, execute the following inside the Docker container:
make test
- Naiwei Zheng (zheng248@purdue.edu)
- Tiantian Gong (gong146@purdue.edu)