Proof-of-concept implementations of anonymous tokens with decentralized issuance.
To run the smart contract tests (requires Foundry), execute:
forge test
To run the Python tests (requires Poetry), execute:
cd py
poetry shell
poetry install
maturin develop --release
python -m unittest *.py
To run the smart contract gas benchmarks (requires Foundry and Poetry), execute:
cd py
poetry shell
poetry install
maturin develop --release
NUM_MESSAGES=2 NUM_SIGNERS=11 python generate-fixtures.py && forge test --mc BM_BLS --gas-report
NUM_SIGNERS=11 python generate-fixtures.py && forge test --mc BM_SB --gas-report