Skip to content

feat(header): add live Soroban RPC network status indicator (#2) - #3

Open
syntaxsuuvam-spec wants to merge 1 commit into
sorocrew:devfrom
syntaxsuuvam-spec:feat/issue-2-live-soroban-rpc-status
Open

syntaxsuuvam-spec wants to merge 1 commit into
sorocrew:devfrom
syntaxsuuvam-spec:feat/issue-2-live-soroban-rpc-status

Conversation

@syntaxsuuvam-spec

Copy link
Copy Markdown

Summary

Resolves #2 by implementing a live Soroban RPC network status badge in the documentation header.

Key Implementation Details

  • Soroban RPC Health Polling: Integrates automated polling against https://soroban-testnet.stellar.org via JSON-RPC 2.0 getHealth and secondary getLatestLedger queries on mount and periodically every 30 seconds.
  • Neo-Brutalist Visual Design: Aligns with the SoroCrew UI design system featuring high-contrast borders (border-2 border-black shadow-[2px_2px_0px_0px_#000000]) and stateful color cues:
    • Operational: Emerald green status badge with animated pulse beacon.
    • Checking: Amber pulse during ping resolution.
    • Degraded / Offline: Coral red fallback warning indicator.
  • Interactive Tooltip: Hovering reveals real-time metadata including network endpoint, connection status, latest ledger sequence number, and latency in milliseconds.
  • Graceful Error Handling & Memory Safety: Implemented clean cleanup routines with isMounted guards and interval teardown on component unmount.

Verification

  • Tested with Soroban Testnet RPC endpoint.
  • Verified Neo-Brutalist layout responsiveness across desktop and mobile screens.
  • Zero external runtime dependencies added.

@vercel

vercel Bot commented Oct 11, 2026

Copy link
Copy Markdown

@syntaxsuuvam-spec is attempting to deploy a commit to the crew Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] Live Soroban RPC Network Status Indicator in Documentation Header

1 participant