Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

hermeznetwork/circuits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circuits

Implements zkSNARKs circuits for hermez network

Main CI

Documentation

It could be found in: https://docs.hermez.io/#/developers/protocol/hermez-protocol/circuits/circuits?id=circuits

Circuits organization

  • src
    • lib
      • hash-state
      • decode-float
      • mux256
      • utils-bjj
    • decode-tx
    • fee-accumulator
    • rq-tx-verifier
    • hash-inputs
    • fee-tx
    • compute-fee
    • balance-updater
    • rollup-tx-states
    • rollup-tx
    • rollup-main
    • withdraw

Test

npm run eslint && npm run test

WARNING All code here is in WIP

License

circuits is part of the Hermez project copyright 2020 HermezDAO and published with AGPL-3 license. Please check the LICENSE file for more details.