sentrix-grpc-wasm 0.1.0-alpha.0

Rust + WASM gRPC-Web client for Sentrix Chain. Extracted from sentrix-explorer-v2; usable from any browser dApp via wasm-pack.
Documentation
//! Rust + WASM gRPC-Web client for Sentrix Chain.
//!
//! Compiles to WASM via `wasm-pack build --target web` and is usable
//! from any browser dApp that wants typed gRPC-Web access to the
//! chain's `sentrix.v1.Sentrix` service. Extracted from
//! `sentrix-explorer-v2` so other browser apps can reuse the wrapper
//! instead of re-implementing the tonic-web-wasm-client glue.
//!
//! For non-WASM Rust services (validators, indexers, bridges) use
//! `sentrix-chain` (https://github.com/Sentriscloud/sdk-rs) `grpc`
//! feature instead — that one wraps `@grpc/grpc-js`-equivalent
//! `tonic` over native HTTP/2.
//!
//! Endpoints:
//!   - mainnet: `https://grpc.sentrixchain.com`
//!   - testnet: `https://grpc-testnet.sentrixchain.com`
//!
//! Caddy at the edge transcodes between gRPC-Web and native gRPC via
//! `tonic-web` so the same hostname serves both browser and server
//! consumers.

#![deny(unsafe_code)]
#![allow(missing_docs)]
#![allow(clippy::doc_lazy_continuation)]

#[allow(clippy::all, clippy::pedantic, dead_code)]
pub mod pb {
    tonic::include_proto!("sentrix.v1");
}

pub mod client;

pub use client::{hash_short, SentrixGrpcClient};