boomlabs-web3 / snackjs-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React + snarkjs

This is a minimal project to get react (typescript) and snarkjs up and running. The circuit is the example from the readme of https://github.com/iden3/snarkjs.

To install the necessary packages etc, run yarn install.

The circuit-specific files are provided to the react frontend through express.

To run the example, start the express server in file-server and the react application:

# Run fileserver:
cd src/file-server
node index.js

# Start react
yarn start

The circuit and related files are located in the folder src/zkproof.

About


Languages

Language:TypeScript 59.3%Language:HTML 25.0%Language:CSS 12.5%Language:JavaScript 3.1%