Semaphore-Foundry template

Warning

There is an issue with deploying Semaphore using Foundry. More context here: semaphore-protocol/semaphore#185 (comment)

This is a sample Semaphore project that can be used as a template.

Clone the repository

git clone https://github.com/vplasencia/semaphore-foundry.git

Install dependencies

make

Build

make build

Test

make test

Show gas report

make gas-report

Snapshot

make snapshot

Deploy on Goerli

make deploy-goerli

Deploy on Goerli and verify contract

make deploy-goerli-verify