Skip to content
/ bm-poc Public

PoC implementations of anonymous tokens with decentralized issuance.

Notifications You must be signed in to change notification settings

k4m4/bm-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BM_{BLS,SB} PoC

Proof-of-concept implementations of anonymous tokens with decentralized issuance.

Testing

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

Benchmarks

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

About

PoC implementations of anonymous tokens with decentralized issuance.

Resources

Stars

Watchers

Forks

Languages