Skip to content

wRTC Solana Bridge Dashboard - Bounty #2303#1803

Merged
Scottcjn merged 2 commits intoScottcjn:mainfrom
HuiNeng6:feature/wrtc-bridge-dashboard-v2
Mar 25, 2026
Merged

wRTC Solana Bridge Dashboard - Bounty #2303#1803
Scottcjn merged 2 commits intoScottcjn:mainfrom
HuiNeng6:feature/wrtc-bridge-dashboard-v2

Conversation

@HuiNeng6
Copy link
Contributor

Summary

Implements a comprehensive wRTC Bridge Dashboard for monitoring cross-chain bridge activity between RustChain and Solana.

Features Implemented

  • Total RTC Locked - Shows the amount of RTC tokens locked in the bridge
  • wRTC Circulating Supply - Displays total wRTC tokens on Solana
  • Recent Wrap Transactions - RTC → wRTC transaction history
  • Recent Unwrap Transactions - wRTC → RTC transaction history
  • Bridge Fee Revenue - Fee collection statistics
  • Price Chart - Real-time wRTC price from Raydium/DexScreener API
  • Bridge Health Status - Monitoring for RustChain Node, Solana RPC, Bridge API, and Raydium DEX
  • Auto-refresh - Updates every 30 seconds

Technical Details

  • Frontend: Pure HTML/CSS/JavaScript (no framework dependencies)
  • Chart: Chart.js for price visualization
  • API Integration:
    • DexScreener API for wRTC price data
    • RustChain Bridge API for statistics
    • Solana RPC for token supply (planned)
  • Mock Data: Fallback when APIs are unavailable for demonstration

Files Added

  • static/bridge/dashboard.html - Main dashboard (42KB)
  • static/bridge/README.md - Documentation

Deployment

Can be deployed to:

  • rustchain.org/bridge/dashboard.html
  • Standalone static hosting (Netlify, Vercel, GitHub Pages)

Bounty: #2303 (60 RTC)
Wallet Address: 9dRRMiHiJwjF3VW8pXtKDtpmmxAPFy3zWgV2JY5H6eeT

@github-actions
Copy link

Welcome to RustChain! Thanks for your first pull request.

Before we review, please make sure:

  • Your PR has a BCOS-L1 or BCOS-L2 label
  • New code files include an SPDX license header
  • You've tested your changes against the live node

Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150)

A maintainer will review your PR soon. Thanks for contributing!

@github-actions github-actions bot added documentation Improvements or additions to documentation size/XL PR: 500+ lines labels Mar 23, 2026
@Scottcjn Scottcjn merged commit a0c819d into Scottcjn:main Mar 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/XL PR: 500+ lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants