Skip to content

getZeFi/circomjs-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

circomjs-starter

The repository contains some boilerplate code to get started with CircomJS.

You should check out this section of the docs to get-started with using this starter repository.

Here is the current structure of this repository.

  • circuits: contains two circuits addition.circom and multiplication.circom, they generate proofs of valid addition and multiplication of two numbers respectively.
  • src: contains a javascript files, that uses CircomJS to do the following:
    • compile circuits
    • generate proof
    • verify proof
  • circuit.config.json: configuration file for CircomJS.

See it in action

You can do the following to see CircomJS in action:

npm install

install all npm packages:

npm install

run javascript file

run the javascript file using CircomJS.

node src/index.js

Releases

No releases published

Packages

No packages published