Mahendra0349 / snarkjs-react

Minimal example for using snarkjs in react

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

Minimal example for using snarkjs in react


Languages

Language:TypeScript 59.4%Language:HTML 24.9%Language:CSS 12.5%Language:JavaScript 3.1%