cycles-quartz/crates/utils/tm-prover/README.md

18 lines
657 B
Markdown
Raw Normal View History

2023-11-07 13:08:45 +00:00
# The Tendermint light client prover
Enables stateless light client verification by generating a light client proof (AKA verification trace) for a given
block height and trusted height/hash.
## Usage
```bash
2024-02-29 15:19:26 +00:00
cargo run -- --chain-id testing \
--primary "http://127.0.0.1:26657" \
--witnesses "http://127.0.0.1:26657" \
2024-01-03 16:40:29 +00:00
--trusted-height 1 \
2024-02-29 15:19:26 +00:00
--trusted-hash "2EF0E6F9BDDF5DEAA6FCD6492C3DB26D7C62BFFC01B538A958D04376E0B67185" \
2024-01-03 16:40:29 +00:00
--contract-address "wasm14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s0phg4d" \
2024-02-29 15:19:26 +00:00
--storage-key "quartz_session" \
2023-11-07 13:08:45 +00:00
--trace-file light-client-proof.json
```