Skip to content

ytham/hammster

Repository files navigation

Hammster

Hammster is a Next.js web app plus a ZK circuit written in halo2. It takes two 8-length vector inputs of binary digits and their Hamming distance and generates a proof that the two inputs are the claimed hamming distance away from each other.

Prerequisites

Getting started

Install required dependencies:

yarn

Start the next.js server:

yarn dev

Build the wasm packages (you will need to remove target = "aarch64-apple-darwin" in ./circuits/.cargo/config if not using an Apple M processor; I have not tried w/ other platforms):

yarn build:wasm

About

Hammster Next.js and Halo2 web app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published