2023-02-02 15:06:39 +09:00
2022-12-11 14:56:43 +01:00
2023-01-31 14:55:38 +09:00
2022-12-11 14:56:43 +01:00
2023-01-30 09:32:58 +09:00
2023-01-12 17:19:11 +09:00
2023-01-29 14:29:55 +09:00
2023-02-02 10:15:50 +09:00
2023-01-12 17:55:43 +09:00

Spartan-ecdsa

Spartan-ecdsa (which to our knowledge) is the fastest open-source method to verify ECDSA (secp256k1) signatures in zero-knowledge. It can prove ECDSA group membership 10 times faster than efficient-zk-ecdsa, our previous implementation of fast ECDSA signature proving. Please refer to this blog post for further information.

Benchmarks

Proving membership to a group of ECDSA public keys

Constraints 8,076
Proving time in browser 4s
Proving time in Node.js 2s
Verification time in browser 1s
Verification time in Node.js 300ms
Proof size 16kb
  • Measured on a M1 MacBook Pro with 80Mbps internet speed.
  • Both proving and verification time in browser includes the time to download the circuit.

Disclaimers

  • Spartan-ecdsa is unaudited. Please use it at your own risk.
  • Usage on mobile browsers isnt currently supported.

Install

yarn add @personaelabs/spartan-ecdsa

Development

Node.js

v18 or later

Install dependencies & Build all packages

yarn && yarn build
Description
No description provided
Readme 32 MiB
Languages
Rust 70.4%
Circom 11.6%
TypeScript 8.7%
Sage 4.8%
JavaScript 4.3%
Other 0.2%