personaelabs / spartan-ecdsa

The fastest in-browser verification of ECDSA signatures in ZK, using Spartan on the secq256k1 curve
202 stars 28 forks source link

Publish circuits as a package #28

Closed lsankar4033 closed 1 year ago

lsankar4033 commented 1 year ago

Suggest publishing packages/circuits as an npm package similar to circomlib.

This would allow importing via node_modules similar to how we often import circomlib.

Little bit of an anti-pattern, but this would significantly help code re-use for libraries using spartan-ecdsa circuits (like nym)!

Happy to do this myself, but wanted to get your thoughts @DanTehrani

DanTehrani commented 1 year ago

Closing since already published! https://www.npmjs.com/package/@personaelabs/spartan-ecdsa-circuits