Quick start

  1. Install Rust using these instructions.

  2. Install Foundry using these instructions.

  3. Clone this repository.

git clone https://github.com/geometryresearch/semacaulk.git && \
cd semacaulk
  1. Build the contracts
./build_contracts.sh
  1. Run tests
cargo test
  1. Build and run the demo:
cargo build --release && \
./target/release/demo 11 11.hex lagrangeComms_11

Note that the files 11.hex and lagrangeComms_11 support up to 2048 leaf insertions. To support a larger capacity, see the Trusted Setup - Processing the points section for instructions on how to do so.