A benchmark for Blocknet's Faraday v2 post-quantum private transactions. It runs every part of the new design live on your computer and saves a results file. Your results help us plan the next stages of development.
Version 4 compares three output encryption schemes end to end: HQC-128 (NIST level 1), HQC-192 (NIST level 3) and FrodoKEM-640-AES (NIST level 1).
Share your results file in https://uproar.chat/invite/blocknet. Thank you.
Get the file for your system from the latest release.
| System | File | How to start |
|---|---|---|
| macOS, Apple silicon | blocknet-faraday-sigbench4-arm64-macos.tar.gz |
Unpack, then right-click the file and choose Open (first time only) |
| Linux, x86-64 | blocknet-faraday-sigbench4-amd64-linux.tar.gz |
Unpack, then run ./blocknet-faraday-sigbench4-amd64-linux |
| Windows, x86-64 | blocknet-faraday-sigbench4-amd64-windows.zip |
Unpack, then run the .exe. If SmartScreen asks, choose More info, then Run anyway |
Needs an x86-64 CPU with AVX2, AES-NI and PCLMULQDQ (Intel Haswell 2013 or newer, AMD Zen or newer), or an Apple silicon Mac. The run takes about 3 minutes. The window shows English or Chinese, based on your system language; you can switch on the title screen.
Every number is a live measurement on your machine. A step starts only when the window reaches it. When a step is done, click it in the list on the left to see it again.
- Address: makes a new wallet and one 58-character post-quantum address for each scheme.
- Anonymity set: builds 1,048,576 real coin commitments.
- Output encryption: opens real ciphertexts of HQC-128, HQC-192 and FrodoKEM-640-AES. The three schemes take turns on one core.
- Send transaction: proves and checks 300 private transactions, 100 with each scheme (2, 4, 8 and 16 inputs and outputs), one core, every input a new coin from the set.
- Wallet scan: scans every output with each scheme and finds the ones sent to this wallet.
- Block: packs one 2 MB block for each scheme, checks every proof and nullifier from the bytes, then prunes it.
- Mining: BLAKE2b-512 proof of work on the header of the HQC-128 block (personalization
blocknet/pow/v1), on one core, all cores, and the GPU on macOS. - Report: writes
reports/blocknet-faraday-sigbench4-<date>-<time>.tomland opens it.
The results file lists your hardware (CPU, cores, RAM, GPU, OS, power source, CPU features) and the timings, with the spread of each (min, median, p95, max). It has one section for each scheme: the NIST level, the key, ciphertext and output sizes, the time to seal and to open one output, the scan rate, and the transactions and stored size of its block.
The Rust toolchain is pinned in rust-toolchain.toml. The prover is C++23 and is built by
vole/build.rs.
cargo build --release -p showcase
./target/release/showcase
make builds all three release binaries from a Mac (Linux and Windows through
cargo-zigbuild). GitHub Actions builds the
release binaries the same way.
| Path | What it is |
|---|---|
showcase/ |
The benchmark program (window, steps, report) |
vole/ |
Rust bindings to the prover and the transaction wire format |
spend/ |
The zk-VOLEitH spend proof in C++ |
src/ |
The older command-line benchmark (sig-bench) |
Earlier versions are on their own branches: sig-bench 3, with ML-KEM-768 output encryption, on
sigbenchv3, and sig-bench 2, with
the Faraday V1 STARK, on sigbenchv2.
See NOTICE.