mirror of
https://github.com/AtHeartEngineer/spartan-ecdsa.git
synced 2026-01-09 21:38:02 -05:00
lsankar/fix-lerna-build
spartan-ecdsa
Efficient in-browser zero-knowledge ECDSA membership proving
What we use
Spartan
- We use a fork of Spartan that operates over the secq256k1 curve.
Nova-Scotia
- We use a fork of Nova-Scotia to compile Circom circuits into a binary format that Spartan can process. We slightly modify Nova-Scotia to be compatible with secq256k1.
About proving
Witness generation
- We use the wasm witness generator generated by Circom to compute the witness. More specifically, the witness generation is done by running
snarkJs.wtns.calculate(the actual code here).
Proof generation
- The prover is a SpartanNIZK prover in wasm, which reads a circuit compiled by Nova-Scotia.
Description
Languages
Rust
70.4%
Circom
11.6%
TypeScript
8.7%
Sage
4.8%
JavaScript
4.3%
Other
0.2%