Technical Architecture

System Overview

Quantum Core consists of three main components working together to capture, process, and permanently record quantum randomness on the blockchain.

┌─────────────────────────────────────────────────────────────────┐
│                        QUANTUM CORE                             │
├─────────────────┬─────────────────────┬─────────────────────────┤
│   Publisher     │   Smart Contract    │   Frontend Dashboard    │
│   Service       │   (On-Chain)        │   (Web Application)     │
└─────────────────┴─────────────────────┴─────────────────────────┘

Component Details

1. Publisher Service

The publisher is a backend service responsible for:

  • Fetching quantum random data from the ANU QRNG API

  • Processing the data (hashing, metadata creation)

  • Submitting transactions to Solana and XRPL blockchains in parallel

  • Scheduling regular publication intervals

Technology Stack:

  • Runtime: Node.js / TypeScript

  • Blockchain SDKs: @solana/web3.js, xrpl

  • Hosting: Cloud infrastructure with high availability

Key Functions:

2. Solana Smart Contract (Program)

The on-chain program manages the storage and retrieval of quantum pulse data.

Program ID: 6JmMTwYMe7g8ZThH7dxZPCAey9Bda42Wi2HgUz84R3Tn

Network: Solana Devnet

Account Structure:

Instructions:

Instruction
Description

initialize

Set up program state

publish_pulse

Record a new quantum pulse

Program Derived Addresses (PDAs):

  • State PDA: Derived from ["state"] seed

  • Pulse PDAs: Derived from ["pulse", pulse_id] seeds

3. XRPL Memo Transactions

Quantum pulse data is also recorded on the XRP Ledger using memo transactions.

  • Destination Address: rs1XDtrWxmyfq2LpMUB3huchx7h61bBsLj

  • Network: XRPL Testnet

4. Frontend Dashboard

The web application provides a user interface for viewing and verifying quantum pulses.

Key Features:

  • Real-time pulse display with multi-chain support

  • Chain filter (Solana, XRPL, or both)

  • Historical pulse browsing

  • On-chain verification links for both explorers

  • Cross-chain pulse merging (same hash shown as single card)

  • Educational content

  • Responsive design (mobile-friendly)

Data Structures

Pulse View (Frontend)

On-Chain Data Layout

Network Configuration

Blockchain RPC Endpoints

Environment
Endpoint

SOL Devnet

https://api.devnet.solana.com

XRPL Testnet

wss://s.altnet.rippletest.net:51233

External APIs

Service
Endpoint

ANU QRNG

https://api.quantumnumbers.anu.edu.au

Monitoring and Observability

The system includes monitoring for:

  • Pulse Publication: Track successful vs failed publications

  • Transaction Status: Monitor confirmation times

  • API Health: ANU QRNG availability checks

  • Wallet Balances: Ensure sufficient SOL and XRP for transactions

Scalability Considerations

The architecture is designed to scale:

  • Horizontal Scaling: Multiple publisher instances can run concurrently

  • Efficient Storage: PDAs enable O(1) pulse lookups

  • Caching: Frontend caches recent pulses for performance

  • Rate Limiting: Prevents API and RPC overload

Last updated