42 releases (21 breaking)
0.40.0 | Oct 23, 2024 |
---|---|
0.38.1 | Jul 23, 2024 |
0.35.0 | Mar 14, 2024 |
0.34.0 | Oct 2, 2023 |
0.21.0 | Jul 21, 2021 |
#9 in #light-client
1MB
14K
SLoC
Light-Client API for JavaScript
At present this just exposes the Tendermint Light Client's verification logic via WASM. This allows simple access to verification from JavaScript:
import * as LightClient from 'tendermint-light-client-js';
// Verify an untrusted block against a trusted one, given the specified options
// and current date/time.
let verdict = LightClient.verify(untrusted, trusted, options, now);
For an example of how to use this, please see the verifier-web example.
lib.rs
:
Tendermint Light Client JavaScript/WASM interface.
This crate exposes some of the tendermint-light-client-verifier
crate's
functionality to be used from the JavaScript ecosystem.
For a detailed example, please see the verifier-web
example in the
repository.
Dependencies
~9MB
~168K SLoC