Skip to content

feat: Stellar Wave — Rollback Detection, Compression, Benchmarks & Analytics Dashboard#417

Merged
mijinummi merged 1 commit into
MDTechLabs:mainfrom
A6dulmalik:feature/stellar-wave-358-359-360-361
May 30, 2026
Merged

feat: Stellar Wave — Rollback Detection, Compression, Benchmarks & Analytics Dashboard#417
mijinummi merged 1 commit into
MDTechLabs:mainfrom
A6dulmalik:feature/stellar-wave-358-359-360-361

Conversation

@A6dulmalik
Copy link
Copy Markdown
Contributor

Summary

This PR implements all four Stellar Wave issues assigned to A6dulmalik.


#358 — Soroban Transfer Rollback Detection

  • Added SorobanRollbackDetector service in src/detection/rollback/stellar/
  • Detects reverted/rolled-back Soroban bridge transfers by polling the Soroban RPC getTransaction endpoint
  • Emits rollback, confirmed, and status-change events via EventEmitter
  • Supports background monitoring with configurable interval
  • Full unit test coverage

#359 — Stellar Bridge Provider Benchmark Suite

  • Added benchmark suite in tests/benchmarks/stellar/
  • Measures transfer latency per provider via Soroban RPC getLatestLedger
  • Compares provider metrics (avg/min/max latency, success rate)
  • Identifies fastest provider across runs

#360 — Soroban Transaction Compression Support

  • Added SorobanTransactionCompressor service in src/compression/stellar/
  • Compresses transaction payloads using deflate (Node.js built-in zlib)
  • Validates decompression round-trip integrity
  • Supports batch compress/decompress operations
  • Full unit test coverage

#361 — Stellar Cross-Bridge Analytics Dashboard

  • Added React dashboard page in apps/dashboard/analytics/stellar/
  • Aggregates provider metrics (transfers, success rate, latency, volume)
  • Renders summary cards and a provider comparison table with inline bar charts

Files Changed

  • src/detection/rollback/stellar/soroban-rollback-detector.ts
  • src/detection/rollback/stellar/soroban-rollback-detector.spec.ts
  • src/detection/rollback/stellar/index.ts
  • src/compression/stellar/soroban-transaction-compressor.ts
  • src/compression/stellar/soroban-transaction-compressor.spec.ts
  • src/compression/stellar/index.ts
  • tests/benchmarks/stellar/stellar-bridge-provider-benchmark.spec.ts
  • apps/dashboard/analytics/stellar/page.tsx

Closes #358
Closes #359
Closes #360
Closes #361

…DTechLabs#360, MDTechLabs#361

- MDTechLabs#358: Add SorobanRollbackDetector to detect reverted/rolled-back
  Soroban bridge transfers with EventEmitter alerts
- MDTechLabs#359: Add Stellar Bridge Provider Benchmark Suite measuring transfer
  latency and comparing provider metrics
- MDTechLabs#360: Add SorobanTransactionCompressor using deflate to compress and
  validate Soroban transaction payloads
- MDTechLabs#361: Add Stellar Cross-Bridge Analytics Dashboard aggregating
  provider metrics with visualizations
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@A6dulmalik Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mijinummi mijinummi merged commit c5db120 into MDTechLabs:main May 30, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants