research/zksnarks/semaphore
Oskar Thoren eb85d291ac
update readme with zksnarks
2019-11-04 14:55:13 +08:00
..
snark Init import semaphore circoms 2019-10-30 11:45:06 +08:00
src some cleanup 2019-11-04 14:55:13 +08:00
README.md update readme with zksnarks 2019-11-04 14:55:13 +08:00
package-lock.json Shamir secret sharing example 2019-11-04 14:55:13 +08:00

README.md

Semaphore experiments

Based on https://github.com/kobigurk/semaphore but only focusing on the core circom circuits, not contracts or on chain orchestration.

See https://github.com/iden3/snarkjs for a quick start.

Experimenting with feasability of Semaphore in general and https://ethresear.ch/t/semaphore-rln-rate-limiting-nullifier-for-spam-prevention-in-anonymous-p2p-setting/5009 in particular.

See https://github.com/vacp2p/research/issues/2

Main file in src/hello.js

To play:

  • npm install
  • generate circuits in build dir (see tutorial above)
  • time node --experimental-repl-await -i -e "$(< src/hello.js)"