commonware-log

Crates.iocommonware-log
lib.rscommonware-log
version0.0.62
created_at2024-12-08 23:07:16.373773+00
updated_at2025-09-10 18:47:28.41103+00
descriptionCommit to a secret log and agree to its hash.
homepagehttps://commonware.xyz
repositoryhttps://github.com/commonwarexyz/monorepo/tree/main/examples/log
max_upload_size
id1476812
size124,926
Patrick O'Grady (patrick-ogrady)

documentation

https://docs.rs/commonware-log

README

commonware-log

Crates.io

Commit to a secret log and agree to its hash.

Usage (Run at Least 3 to Make Progress)

To run this example, you must first install Rust.

Participant 0 (Bootstrapper)

cargo run --release -- --me 0@3000 --participants 0,1,2,3 --storage-dir /tmp/commonware-log/0

Participant 1

cargo run --release -- --bootstrappers 0@127.0.0.1:3000 --me 1@3001 --participants 0,1,2,3 --storage-dir /tmp/commonware-log/1

Participant 2

cargo run --release -- --bootstrappers 0@127.0.0.1:3000 --me 2@3002 --participants 0,1,2,3 --storage-dir /tmp/commonware-log/2

Participant 3

cargo run --release -- --bootstrappers 0@127.0.0.1:3000 --me 3@3003 --participants 0,1,2,3 --storage-dir /tmp/commonware-log/3
Commit count: 803

cargo fmt