Crate cometbft_light_client_js

Crate cometbft_light_client_js 

Source
Expand description

CometBFT Light Client JavaScript/WASM interface.

This crate exposes some of the cometbft-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.

Structs§

JsOptions

Enums§

Error
Errors produced by this crate.

Functions§

verify
Check whether a given untrusted block can be trusted.