| Crates.io | penumbra-sdk-tct-visualize |
| lib.rs | penumbra-sdk-tct-visualize |
| version | 0.82.0-alpha.0 |
| created_at | 2024-12-26 23:12:39.122366+00 |
| updated_at | 2024-12-26 23:12:39.122366+00 |
| description | Visualize a TCT in action |
| homepage | |
| repository | https://github.com/penumbra-zone/penumbra |
| max_upload_size | |
| id | 1496035 |
| size | 1,656,732 |
Penumbra's Tiered Commitment Tree is a merkle quadtree used to store cryptographic commitments to shielded state. This crate provides interactive visualizations for understanding how the tree works. To see a talk using these visualizations to demonstrate the functionality of the tree, see: https://www.youtube.com/watch?v=mHoe7lQMcxU.
To run the interactive visualization in your browser, run:
cargo run --release --bin tct-live-edit
Then visit the page http://0.0.0.0:8080 in your browser (the animations are smoothest and fastest in Chromium based browsers).
Various options can be configured; for details, see:
cargo run --release --bin tct-live-edit -- --help
You can also simulate a sequence of operations on the tree and render each step as an SVG using:
cargo run --release --bin tct-visualize
See its --help options for details about how to configure the simulation.