Skip to content

reservebtc/app.reservebtc.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

582 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ReserveBTC Protocol โ€” Bitcoin-Backed Synthetic Assets on MegaETH

Website MegaETH License Production Ready


๐Ÿ” Independent Security Verification

Don't trust. Verify. Anyone can independently test our BIP-322 implementation:

Click โ†’ Press "Run workflow" โ†’ Watch 32 tests execute โ†’ See results in 2 minutes

Run Tests Security

Why this matters: BIP-322 signature verification is the foundation of ReserveBTC security. We let you verify it yourself:

  • โœ… 32 security tests - Run them yourself on GitHub Actions
  • โœ… Zero vulnerabilities - Independently verifiable
  • โœ… Open source - Complete code transparency
  • โœ… No trust needed - Mathematical proof, not promises

๐Ÿ† Production Status

Production Ready All Tests Vulnerabilities Uptime


๐Ÿงช Automated Testing & CI/CD

Live Test Status (GitHub Actions)

Frontend Tests Smart Contracts BIP-322 Security Bitcoin Provider Coverage

Security Verification

BIP-322 Verified Security Audit Security Rating

Comprehensive Testing

Comprehensive Tests Reentrancy Safe Access Control


๐Ÿ“Š Detailed Test Results (350 tests - click to expand)

Frontend Tests (67/67 PASS)

  • Unit Tests: 39/39 PASS - Bitcoin validation, address types, network detection
  • Validation: 18/18 PASS - Form validation, input sanitization
  • Components: 6/6 PASS - React component rendering, hooks
  • API Tests: 6/6 PASS - REST endpoints, error handling
  • Accessibility: WCAG AA compliant

Smart Contract Tests (206/206 PASS)

Oracle Tests

  • Oracle All Unit: PASS
  • Boundary Fuzz: PASS
  • Resilience: PASS
  • Negative Delta (No Fee): PASS

Token Tests

  • RBTCSynth: SOULBOUND VERIFIED
  • VaultWrBTC: ERC20 SAFE

Fee System

  • FeeVault: 31/31 PASS
  • FeePolicy: 31/31 PASS

E2E & Security

  • E2E Tests: COMPLETE
  • Security Canary: NO CORRUPTION

BIP-322 Security (32/32 PASS)

  • Cryptographic Attacks: 8/8 PASS
  • Injection Attacks: 7/7 PASS
  • Input Validation: 12/12 PASS
  • Protocol Attacks: 3/3 PASS
  • DoS Prevention: 1/1 PASS
  • Legitimate Operations: 1/1 PASS

Bitcoin Provider (45/45 PASS)

  • BIP-322 Module: IMPLEMENTED
  • Self-Send Detection: IMPLEMENTED

๐Ÿ’ก What is ReserveBTC?

TL;DR: Keep your Bitcoin in your own wallet while using it in DeFi. No custody, no risk, 1:1 backing guaranteed.

The Problem

  • Traditional DeFi: "Give us your Bitcoin, we'll give you tokens" โŒ (You lose control)
  • Most bridges: Custodial solutions that require trust โŒ (Risk of theft/hacks)

Our Solution

  • ReserveBTC: "Keep your Bitcoin, we mirror its value" โœ… (You stay in control)
  • Oracle-based monitoring: 24/7 automatic synchronization โœ… (No manual actions)
  • Proof-of-reserves: BIP-322 cryptographic verification โœ… (Mathematical certainty)

๐Ÿ—๏ธ System Architecture v4.0

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    USER INTERFACE (Next.js 14)                  โ”‚
โ”‚           https://app.reservebtc.io (Vercel Edge)               โ”‚
โ”‚                                                                 โ”‚
โ”‚  โ€ข /verify    - Bitcoin address verification (BIP-322)          โ”‚
โ”‚  โ€ข /mint      - Start monitoring + receive rBTC-SYNTH           โ”‚
โ”‚  โ€ข /dashboard - Real-time portfolio view                        โ”‚
โ”‚  โ€ข /faucet    - Testnet ETH & BTC                               โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                         โ”‚
                         โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚           SUPABASE POSTGRESQL (Single Source of Truth)          โ”‚
โ”‚                                                                 โ”‚
โ”‚  Tables:                                                        โ”‚
โ”‚  โ€ข transactions       - All MINT/BURN/WRAP/UNWRAP operations    โ”‚
โ”‚  โ€ข bitcoin_addresses  - Verified addresses + monitoring status  โ”‚
โ”‚  โ€ข balance_snapshots  - Historical balance tracking             โ”‚
โ”‚                                                                 โ”‚
โ”‚  Real-time: PostgreSQL Change Data Capture (CDC)                โ”‚
โ”‚  Security: Row Level Security (RLS) per user                    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                         โ”‚
                         โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚              ORACLE SERVER (VPS - Backend 24/7)                 โ”‚
โ”‚                                                                 โ”‚
โ”‚  professional-oracle-server.js (PM2 Process Manager)            โ”‚
โ”‚                                                                 โ”‚
โ”‚  1. Monitors Bitcoin addresses (Mempool.space API)              โ”‚
โ”‚     - Checks balances every 15 seconds                          โ”‚
โ”‚  2. Detects MINT/BURN conditions                                โ”‚
โ”‚     - Bitcoin received โ†’ MINT tokens                            โ”‚
โ”‚     - Bitcoin withdrawn โ†’ BURN tokens                           โ”‚
โ”‚  3. Calls sync() on Oracle Aggregator contract                  โ”‚
โ”‚     - Executes on MegaETH with <1s finality                     โ”‚
โ”‚  4. Writes transactions to Supabase PostgreSQL                  โ”‚
โ”‚     - Single source of truth                                    โ”‚
โ”‚  5. PostgreSQL CDC โ†’ Real-time dashboard updates                โ”‚
โ”‚     - No browser polling needed                                 โ”‚
โ”‚                                                                 โ”‚
โ”‚  Uptime: 99.9% | Memory: ~20MB | CPU: <2%                       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                         โ”‚
                         โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚           SMART CONTRACTS (MegaETH Testnet - Chain 6342)        โ”‚
โ”‚                                                                 โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚ Oracle          โ”‚  โ”‚ rBTC-SYNTH      โ”‚  โ”‚ FeeVault        โ”‚  โ”‚
โ”‚  โ”‚ Aggregator      โ”‚  โ”‚ (Soulbound)     โ”‚  โ”‚ (Fee Manager)   โ”‚  โ”‚
โ”‚  โ”‚ 0xEcCC...aEAc   โ”‚  โ”‚ 0x5b93...6F58   โ”‚  โ”‚ 0x1384...FD4f   โ”‚  โ”‚
โ”‚  โ”‚                 โ”‚  โ”‚                 โ”‚  โ”‚                 โ”‚  โ”‚
โ”‚  โ”‚ sync()          โ”‚  โ”‚ mint()/burn()   โ”‚  โ”‚ balanceOf()     โ”‚  โ”‚
โ”‚  โ”‚ lastSats()      โ”‚  โ”‚ 1:1 Bitcoin     โ”‚  โ”‚ user deposits   โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ”„ Complete User Journey

Step 1: Verification

Page: app.reservebtc.io/verify

Prove Bitcoin address ownership via BIP-322 signature:

  1. Enter your Bitcoin address
  2. Sign a message with your Bitcoin wallet
  3. System verifies signature cryptographically
  4. Address saved to Supabase with is_monitoring = false

Result: Verified but NOT monitored yet (no fees charged).


Step 2: Start Monitoring (Mint)

Page: app.reservebtc.io/mint

Explicit two-step process for transparency:

  1. Deposit ETH to FeeVault

    • Minimum: 0.001 ETH
    • Pays for Oracle operations (gas fees)
    • Your funds, your control
  2. Click "Start Monitoring"

    • Updates is_monitoring = true in Supabase
    • Oracle Server begins monitoring within 5 minutes
    • rBTC-SYNTH tokens minted based on Bitcoin balance

Result: Oracle monitors 24/7, automatic MINT/BURN operations.


Step 3: Oracle Guardian (Automatic)

Monitor: oracle.reservebtc.io

Backend Oracle Server handles everything:

  • Every 15 seconds: Checks your Bitcoin balance via Mempool.space
  • Balance increases: Automatically mints more rBTC-SYNTH tokens
  • Balance decreases: Automatically burns rBTC-SYNTH tokens
  • Balance reaches zero: Emergency burn, monitoring stops

Transparency: View live operations at oracle.reservebtc.io/status


Step 4: Dashboard & Portfolio

Page: app.reservebtc.io/dashboard

Real-time portfolio interface:

  • rBTC-SYNTH Balance: Current tokens (soulbound, non-transferable)
  • Transaction History: All MINT/BURN/WRAP/UNWRAP operations
  • Bitcoin Addresses: Verified addresses with monitoring status
  • Real-time Updates: Supabase CDC pushes updates instantly

No manual refresh needed! Dashboard updates automatically when Oracle writes transactions.


๐Ÿ“Š Current Live Statistics

PRODUCTION SYSTEM STATUS (OCTOBER 2025)
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
Oracle Server:           ONLINE (VPS, PM2, 25+ hours)
Oracle Uptime:           99.9% (24/7 monitoring)
Active Users:            4 users
Bitcoin Addresses:       8 verified
Transactions Processed:  27 MINT/BURN operations
Memory Usage:            20MB (Oracle Server)
CPU Usage:               <2% (Oracle Server)
Real-time Latency:       <500ms (Supabase CDC)
Smart Contract Tests:    350/350 (100% pass rate)
Security Status:         PRODUCTION READY
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

๐Ÿ”— Smart Contracts Suite

MegaETH Testnet - Chain ID: 6342

Contract Address Purpose
Oracle Aggregator 0xEcCC1Bf6Ad2e875152eE65DC365F90d07da7aEAc Core Oracle logic, sync() calls
rBTC-SYNTH 0x5b9375b4ac0f61C7D5af32374aCCe0d058cE6F58 Soulbound Bitcoin mirror (non-transferable)
FeeVault 0x1384d3A60a910B5b402ee09457b3eBfCC964FD4f Fee management, user deposits
FeePolicy 0xc10fD3a2DF480CFAE8a7aBC2862a9c5724f5f4b4 Fee calculations
YieldScales Pool 0x0bAbb640c2eb4501b3d62D090A2c34871EB95df8 DeFi yield engine (optional)

Network Configuration:

  • RPC URL: https://carrot.megaeth.com/rpc
  • Chain ID: 6342
  • Block Explorer: MegaExplorer
  • Block Time: <1 second
  • Finality: Instant

๐Ÿ—บ๏ธ Complete Platform Map

Core Features

Feature URL Description
Homepage app.reservebtc.io Your entry point to Bitcoin DeFi
Verify Address /verify Prove Bitcoin ownership (BIP-322)
Mint Tokens /mint Start monitoring & receive rBTC-SYNTH
Dashboard /dashboard Real-time portfolio view
Faucet /faucet Get testnet ETH & BTC

DeFi Yield (Optional)

Feature URL Purpose
Yield Scales /yield-scales Earn 3-7% APY on USDT
Projections /yield-scales/projections Calculate potential returns
Risk Disclosure /yield-scales/risks Transparency on risks
Live Stats /yield-scales/stats Real-time TVL, APY

Oracle Transparency

Feature URL Description
Oracle Dashboard oracle.reservebtc.io Live operations monitor
Status Monitor oracle.reservebtc.io/status Health metrics, uptime
Transparency /oracle-transparency Real-time sync operations

๐Ÿ›ก๏ธ Security & Testing

Multi-Layer Security

Layer 1: Smart Contracts
โ”œโ”€โ”€ 206/206 Security Tests Passed
โ”œโ”€โ”€ Reentrancy Protection (OpenZeppelin)
โ”œโ”€โ”€ Access Control (Committee-based)
โ”œโ”€โ”€ Atomic Deployment Verified
โ””โ”€โ”€ Zero Critical Vulnerabilities

Layer 2: Oracle System (Backend VPS)
โ”œโ”€โ”€ 24/7 Monitoring (99.9% uptime)
โ”œโ”€โ”€ PM2 Process Manager (auto-restart)
โ”œโ”€โ”€ State File Recovery (crash protection)
โ”œโ”€โ”€ Automatic Emergency Burns
โ”œโ”€โ”€ Real-time Bitcoin Balance Sync
โ””โ”€โ”€ Private Keys (backend only, not exposed)

Layer 3: Data Protection (Supabase)
โ”œโ”€โ”€ PostgreSQL Single Source of Truth
โ”œโ”€โ”€ Row Level Security (RLS) per user
โ”œโ”€โ”€ Real-time CDC (Change Data Capture)
โ”œโ”€โ”€ Encrypted Communication (HTTPS)
โ”œโ”€โ”€ No localStorage Usage
โ””โ”€โ”€ GDPR Compliance Ready

Layer 4: Frontend Security
โ”œโ”€โ”€ No Private Keys in Browser
โ”œโ”€โ”€ No Blockchain Polling (backend-driven)
โ”œโ”€โ”€ Input Validation & Sanitization
โ”œโ”€โ”€ BIP-322 Signature Verification
โ””โ”€โ”€ WCAG AA Accessibility

BIP-322 Verification

Run tests yourself: GitHub Actions

  • 32 security tests covering all attack vectors
  • 0 vulnerabilities found
  • 100% test coverage for signature verification

Supported address types:

  • โœ… Native SegWit (P2WPKH) - bc1q...
  • โœ… Taproot (P2TR) - bc1p...
  • โœ… SegWit (P2SH-P2WPKH) - 3...
  • โœ… Legacy (P2PKH) - 1...
  • โœ… Testnet variants - tb1..., 2..., m..., n...

๐Ÿš€ Quick Start

For New Users

1. Visit: https://app.reservebtc.io
2. Connect: MetaMask to MegaETH Testnet
3. Get ETH: Use faucet at /faucet (0.001 ETH minimum)
4. Verify: Your Bitcoin address at /verify (BIP-322 signature)
5. Mint: Deposit ETH, click "Start Monitoring" at /mint
Done! Check real-time updates at /dashboard

For Developers

# Clone repository
git clone https://github.com/reservebtc/app.reservebtc.io
cd app.reservebtc.io

# Install dependencies
npm install

# Run comprehensive health check
node scripts/smart-contract-health-check.js

# Check Oracle status
curl https://oracle.reservebtc.io/status

# Run all tests locally
npm test

๐Ÿ“š Documentation

Production Architecture

Document Description Status
Production Architecture v4.0 Complete system design, backend-driven architecture โœ… Current
Active Monitoring System Two-step verification โ†’ monitoring flow, emergency burn logic โœ… v2.6
Mint System Testing Report v2.0 Two-step verification โ†’ monitoring flow validation โœ… 100% Pass
Dashboard Documentation v2.0 Real-time Supabase CDC architecture โœ… Operational

Legacy Documentation (Reference Only)

Document Description Status
ReserveBTC Mint System (Legacy) Old localStorage-based system ๐Ÿ—‚๏ธ Deprecated
Dashboard (Legacy) Old WebSocket polling system ๐Ÿ—‚๏ธ Deprecated
Real-time Integration (Legacy) Old unified real-time system ๐Ÿ—‚๏ธ Deprecated

Security & Technical

Document Description
Security Audit BIP-322 BIP-322 signature verification audit
Smart Contract Security Audit Comprehensive contract security report
Security Policy Vulnerability reporting guidelines
Test Status Detailed test results (350 tests)
Database Architecture Supabase PostgreSQL schema
Database Quick Reference Common SQL queries

Additional Resources

Document Description
Yield Scales Protocol DeFi yield mechanism (optional)
Professional Architecture Technical deep dive

๐ŸŽฏ Key Features

Backend-Driven Architecture โœ…

  • Oracle Server on VPS monitors Bitcoin 24/7
  • Dashboard receives updates via Supabase CDC
  • Zero blockchain polling in browser
  • Works even when user is offline

Supabase Single Source of Truth โœ…

  • All data in PostgreSQL (no localStorage)
  • Real-time updates via Change Data Capture
  • Row Level Security prevents data leakage
  • Complete transaction history

Professional Real-time Updates โœ…

  • PostgreSQL CDC โ†’ WebSocket โ†’ Dashboard
  • Sub-second latency (<500ms)
  • No manual refresh needed
  • Scales to 10,000+ users

Two-Step Verification Flow โœ…

  • Step 1 (Verify): Prove Bitcoin ownership (BIP-322)
    • Saves to database with is_monitoring = false
    • No Oracle operations start
    • Zero fees charged
  • Step 2 (Mint): Deposit ETH + click "Start Monitoring"
    • Updates is_monitoring = true
    • Oracle begins monitoring within 5 minutes
    • Automatic MINT/BURN operations

Security First โœ…

  • Non-custodial: Bitcoin never leaves your wallet
  • Cryptographic proof: BIP-322 signature verification
  • Committee-based: Multi-sig Oracle control
  • Soulbound tokens: rBTC-SYNTH non-transferable (1:1 backing)
  • Open source: Complete code transparency

๐Ÿ“Š System Performance

Metric Target Actual Status
Oracle Uptime 99% 99.9% โœ… Exceeds
MINT/BURN Latency <30s 15-30s โœ… Met
Dashboard Load Time <2s 1.2s โœ… Fast
Real-time Update <1s <500ms โœ… Instant
Memory Usage (Oracle) <100MB 20MB โœ… Efficient
CPU Usage (Oracle) <10% <2% โœ… Minimal
Test Pass Rate 100% 100% โœ… Perfect
Security Vulnerabilities 0 0 โœ… Secure

๐Ÿ”ฎ Development Roadmap

Current Status: v4.0 (Production)

  • โœ… Backend-driven Oracle monitoring (VPS)
  • โœ… Supabase single source of truth
  • โœ… Two-step verification โ†’ monitoring flow
  • โœ… Real-time dashboard (PostgreSQL CDC)
  • โœ… Automatic MINT/BURN operations
  • โœ… Emergency burn protection
  • โœ… 350 tests passing (100%)

Planned Features: v5.0

  • ๐Ÿ”„ Multi-address monitoring (when FeeVault permits)
  • ๐Ÿ”„ Email notifications (MINT/BURN alerts)
  • ๐Ÿ”„ Advanced analytics (transaction charts)
  • ๐Ÿ”„ Mobile app (React Native)
  • ๐Ÿ”„ Mainnet deployment (Bitcoin + Ethereum)

Scalability Improvements

  • ๐Ÿ”„ Horizontal Oracle scaling (multiple VPS servers)
  • ๐Ÿ”„ Database sharding (partition by user for 100K+)
  • ๐Ÿ”„ Redis caching (reduce Supabase query load)
  • ๐Ÿ”„ Multi-region deployment (US, EU, Asia)

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

How to Contribute

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Setup

# Frontend
npm install
npm run dev

# Smart Contracts
cd contracts
forge build
forge test

# Oracle Server
cd oracle
npm install
pm2 start professional-oracle-server.js

๐Ÿ“ž Contact & Support

Get Help

Bug Reports & Security


๐Ÿ“œ License

MIT License - see LICENSE file for details.


๐Ÿ† Built for MegaETH Ecosystem

ReserveBTC Protocol v4.0 โ€” Your Bitcoin, Your Keys, Your Yield

Production Status: โœ… FULLY OPERATIONAL
Network: MegaETH Testnet (Chain ID: 6342)
Architecture: Backend-driven, Supabase-first, Zero browser polling
Last Updated: October 2025


๐Ÿš€ Start Using ReserveBTC Today

Get Started Documentation View Tests

Revolutionizing Bitcoin DeFi one verification at a time ๐Ÿ”

About

Non-Custodial Bitcoin DeFi Protocol - Enterprise-grade infrastructure enabling Bitcoin holders to participate in DeFi without custody risk. Oracle-driven synchronization with 1:1 backing guarantee. Production-ready for 10,000+ concurrent users. Features BIP-322 verification, 24/7 monitoring, yield generation, and comprehensive API for institutions.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors