From a2962b62c6a7d09cad3c3a627e8c733605af28de Mon Sep 17 00:00:00 2001 From: dlin38 Date: Wed, 11 Feb 2026 11:43:18 +0000 Subject: [PATCH] feat: Add epoch settlement visualizer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Animated visualization showing RustChain epoch settlements in real-time. Features: - Live mining activity visualization with colored miner dots - Epoch countdown timer with settlement trigger - Hardware architecture distribution (PowerPC, ARM, x86, SPARC) - Animated reward distribution with weights - Interactive doughnut chart showing RTC distribution - Settlement animation when epoch completes - Real-time miner details table with multipliers and expected rewards - Mobile responsive design Components: - Canvas-based miner visualization - Chart.js doughnut chart for reward distribution - Weight calculation based on antiquity multipliers - Architecture-specific color coding - Animated settlement trigger Technical: - Single HTML file with embedded JavaScript - Fetches data from /api/miners and /epoch endpoints - 24-hour epoch countdown (144 blocks × 600s) - Proportional reward distribution (1.5 RTC pot) - Automatic refresh every 60 seconds - Graceful CORS handling Visual Elements: - PowerPC: Orange gradient (2.0x-2.5x multipliers) - ARM: Green gradient (1.5x) - x86/Modern: Blue gradient (1.0x) - SPARC: Purple gradient (2.0x) - Pulse animations on miner dots - Settlement celebration animation Bounty: #43 - Epoch Settlement Visualizer (50 RTC) Wallet: dlin38 --- epoch-visualizer.html | 489 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 489 insertions(+) create mode 100644 epoch-visualizer.html diff --git a/epoch-visualizer.html b/epoch-visualizer.html new file mode 100644 index 0000000..6200e15 --- /dev/null +++ b/epoch-visualizer.html @@ -0,0 +1,489 @@ + + + + + + RustChain Epoch Settlement Visualizer + + + + + + + + + +
+ + +
+

+ ⏱️ + Epoch Settlement Visualizer +

+

Watch RustChain rewards distribute in real-time

+
+ + +
+
+
Current Epoch
+
--
+
+
+
Time Until Settlement
+
--:--:--
+
+
+
Epoch Pot
+
1.5 RTC
+
+
+
Active Miners
+
--
+
+
+ + +
+

+ ⛏️ + Live Mining Activity +

+
+ +
+
+
+
+ PowerPC (2.5x-2.0x) +
+
+
+ ARM (1.5x) +
+
+
+ x86/Modern (1.0x) +
+
+
+ SPARC (2.0x) +
+
+
+ + +
+
+

Multiplier Weights

+
+ +
+
+ +
+

Reward Distribution

+ +
+
+ + + + + +
+

Miner Details

+
+ + + + + + + + + + + + + +
Miner IDHardwareMultiplierWeight ShareExpected Reward
+
+
+ + +
+

RustChain Epoch Settlement Visualizer · Bounty #43

+

+ GitHub · + Discord +

+
+
+ + + +