https://github.com/gonative-cc/tendermint-lightclient
https://github.com/gonative-cc/tendermint-lightclient
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gonative-cc/tendermint-lightclient
- Owner: gonative-cc
- License: apache-2.0
- Created: 2024-07-01T14:08:49.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-26T17:48:31.000Z (almost 2 years ago)
- Last Synced: 2025-07-22T22:38:44.761Z (11 months ago)
- Language: Rust
- Size: 20.5 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tendermint Light Client
PoC for a minimalistic TM Light Client based on [lib-rs](https://github.com/cosmos/ibc-rs)
## Cli interface
### Fetch Consensus State and Header
This command fetch consensus state and header from full-node. This only use for testing `Verify` command.
Fetch current consensus state and save output to output_path. URL is a full-node endpoint.
```bash
tendermint-lightclient fetch-consensus-state
```
Fetch header at height and save output to output_path. URL is a full-node endpoint.
```bash
tendermint-lightclient fetch-header
```
### Verify
This command verifies a new state (can extract from header) is valid state start from consensus state in cs_path file.
```bash
tendermint-lightclient verify
```
### Update
This command work like verify command but create new consensus state and save to new_cs_path.
```bash
tendermint-lightclient update
```
### State Proof
```bash
tendermint-lightclient state-proof
```
In current version, we only support proof packet transfer on full-node. We only verify the Cosmos IAVL Store.