Releases: Sentriscloud/sdk-rs
Releases · Sentriscloud/sdk-rs
v0.1.0-alpha.0 — initial 6-door alpha
First tagged alpha of the Sentrix Rust SDK.
What's in this release
Six modules, each behind its own cargo feature:
| Module | Feature | What |
|---|---|---|
network |
always | mainnet/testnet specs as const (chain_id, RPC/WS/REST/gRPC URLs, explorer, faucet) |
native |
native (default) |
typed REST client over reqwest — chain_info, validators, next_nonce, broadcast |
wallet |
wallet |
secp256k1 keypair + Ethereum-style address derivation + native tx signing |
evm |
evm |
alloy-based RootProvider<Http<Client>> factory |
grpc |
grpc |
tonic client over sentrix.v1.Sentrix (TLS roots auto-attached) |
bft |
bft |
tokio-tungstenite WS subscription manager — multiplex + 30s keepalive + auto-reconnect |
Usage
[dependencies]
sentrix-chain = { git = "https://github.com/Sentriscloud/sdk-rs", tag = "v0.1.0-alpha.0", default-features = false, features = ["native", "wallet"] }Verified
- All 6 modules build clean on stable Rust + pass
cargo clippy -D warnings - Live smoke against
rpc.sentrixchain.com,grpc.sentrixchain.com:443,wss://rpc.sentrixchain.com/ws— all return expected payloads - Wallet
well_known_metamask_test_key_derives_correct_addresstest asserts derivation matches Ethereum's keccak256 path
Status
Alpha — surface stable but not yet on crates.io. Publish lands once dogfood reveals no breaking-change pressure on the wallet / signing API.
What's next
- WebSocket subscription typed payload helpers (mirror
subscribeTyped<C>()from@sentrix/chain/bft) - BFT message ordering guarantee tests against live testnet
- crates.io publish
🤖 Co-developed via the SentrisCloud chain audit sprint, 2026-05-11.