research/zksnarks/semaphore/README.md

17 lines
627 B
Markdown
Raw Normal View History

2019-10-30 03:45:06 +00:00
# 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.
2019-11-04 06:54:04 +00:00
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.
2019-10-30 03:45:06 +00:00
2019-11-04 06:54:04 +00:00
See https://github.com/vacp2p/research/issues/2
2019-10-30 09:53:50 +00:00
2019-11-04 06:54:04 +00:00
Main file in `src/hello.js`
2019-10-30 09:53:50 +00:00
2019-11-04 06:54:04 +00:00
To play:
- `npm install`
- generate circuits in build dir (see tutorial above)
- `time node --experimental-repl-await -i -e "$(< src/hello.js)"`