ytham / hammster

Hammster Next.js and Halo2 web app.

Home Page:https://hammster.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://hammster.vercel.app


Languages

Language:Rust 46.9%Language:TypeScript 27.0%Language:JavaScript 25.4%Language:CSS 0.7%