From 1b1423d904d95ef52984f6fdd19e95fa2c7cace5 Mon Sep 17 00:00:00 2001 From: satyakwok Date: Wed, 13 May 2026 20:27:21 +0200 Subject: [PATCH] docs(readme): update Architecture tree post-sentrix-proto migration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The proto schema was extracted into a standalone `sentrix-proto` crate on crates.io (chain repo PR #667) and this app migrated to consume it in PR #32 — local `proto/` + `build.rs` + tonic codegen are gone. The Architecture diagram still showed: proto/sentrix.proto → build.rs / tonic-build → src/grpc/pb Updated to reflect the current path: sentrix-proto crate → re-exported as `pb` in src/grpc/mod.rs Includes the wasm-specific `default-features = false` note since the transport feature gate is the whole reason that migration shipped. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dfbff76..ddca39b 100644 --- a/README.md +++ b/README.md @@ -20,19 +20,19 @@ The gRPC-Web wrapper used here has been extracted into a standalone crate — se ## Architecture ``` -proto/sentrix.proto single source of truth (mirrored from sentrix/crates/sentrix-grpc) +sentrix-proto crate single source of truth (crates.io, default-features = false to drop tonic-transport for wasm) │ - ▼ build.rs / tonic-build -src/grpc/pb prost types + tonic client stubs + ▼ re-exported as `pb` in src/grpc/mod.rs +src/grpc/pb prost types + tonic client stubs (now from sentrix-proto, no local codegen) │ ▼ -src/grpc/client.rs SentrixGrpcClient — wraps tonic-web-wasm-client transport +src/grpc/client.rs SentrixGrpcClient — wraps tonic-web-wasm-client transport │ ▼ -src/components/live_feed signal-driven LiveBlockFeed (stream → poll fallback) +src/components/live_feed signal-driven LiveBlockFeed (stream → poll fallback) │ ▼ -src/screens/dashboard route view +src/screens/dashboard route view ``` ## Why this beats Etherscan-class explorers