Architecture Overview
Vexidus is a Layer 1 blockchain built on seven integrated pillars. This page provides a high-level view of the system architecture, transaction lifecycle, and how the pillars compose.
The Seven Pillars
- IntentVM (Patent-Pending) -- 1 intent, 1 signature, N operations. Declarative execution.
- HyperSync Consensus -- Leader rotation with weighted selection, jailing, and reputation scoring.
- VexBridge (Patent-Pending) -- Vaultless canonical token bridge using burn-and-mint and stateless/limbo resolution.
- VSA v2 -- Smart accounts with Ed25519 + Dilithium3 dual-signature quantum hardening. Includes VNS (
.vexname service) as an identity extension. - VexForge -- Five token standards (VSC-7, VSC-21, VSC-55, VSC-LAUNCH, VSC-REP) with protocol-level anti-rug protection.
- VexiDEX -- Native on-chain AMM with constant-product pools and LP token management.
- ElasticState -- Intelligent 3-tier storage engine (Hot/Warm/Cold) with automatic data lifecycle management.
System Layers
+-----------------------------------------------------+
| APPLICATION LAYER |
| VexSpark | VexScan | VexForge | VexiDex | VexSwap |
+-----------------------------------------------------+
| API LAYER (JSON-RPC) |
| 70+ endpoints: vex_* (native) + eth_* (EVM compat) |
+-----------------------------------------------------+
| EXECUTION LAYER |
| IntentVM | VexForge | VexBridge | VexiDEX | VNS |
+-----------------------------------------------------+
| CONSENSUS LAYER (HyperSync) |
| Leader Rotation | Vote Signing | Epoch Management |
+-----------------------------------------------------+
| STATE LAYER (ElasticState) |
| Hot (DashMap) -> Warm (LZ4) -> Cold (ZSTD) -> RocksDB |
| StateMachine | WriteBatch Atomics | Checkpoints |
+-----------------------------------------------------+
| NETWORK LAYER (libp2p) |
| QUIC Transport | GossipSub | Bulk Sync |
+-----------------------------------------------------+
Implementation
- Language: Rust -- 15 crates, memory-safe, zero-cost abstractions
- Database: RocksDB with atomic WriteBatch commits (crash-safe, no partial state)
- Storage: ElasticState 3-tier engine -- Hot (DashMap, <1us), Warm (RocksDB LZ4), Cold (RocksDB ZSTD). Zero-copy checkpoints every 1K blocks.
- Networking: libp2p with QUIC transport (TLS 1.3, multiplexing over UDP)
- State Root: Blake3 Merkle computation (once per block, not per transaction)
- Transaction Model: Account-based with bundle semantics (atomic multi-operation)
Transaction Lifecycle
1. User submits bundle (signed Ed25519)
|
2. RPC validates signature + format
|
3. Bundle enters mempool (100K capacity, TTL: 120s)
|
4. Leader drains mempool -> proposes block
|
5. begin_block() -> execute bundles -> commit_block() (WriteBatch)
|
6. recompute_state_root() -> flush()
|
7. Block gossiped to peers -> verified -> finalized
|
8. Explorer indexes updated (RocksDB "explorer" CF)
Wallet Compatibility
| Wallet | Status | RPC Layer | Signature |
|---|---|---|---|
| VexSpark (native) | Live | vex_* | Ed25519 |
| MetaMask | Live | eth_* | secp256k1/ECDSA |
| Phantom | Planned | svm_* | Ed25519 (same curve) |
One Ed25519 keypair works on both Vexidus and Solana. The same key generates three address formats (Vx0, 0x, base58) that all resolve to the same internal account.
How the Pillars Work Together
The seven pillars are not isolated features -- they compose:
Example: "Bridge 10 SOL from Solana and swap to VXS"
- IntentVM parses the natural language into
Goal::Composite([Bridge, Swap]) - VexBridge verifies the SOL limbo proof (Tier 2 light client)
- VexForge credits canonical SOL token to the user's account
- VexiDEX routes the SOL to VXS swap through the best pool
- VSA v2 verifies the single Ed25519 signature over the entire bundle (VNS resolves
chris.vexto the user's address) - HyperSync includes the bundle in the next block (weighted leader selection)
- ElasticState serves the user's account from the hot cache (<1us) -- no RocksDB lookup needed. The bridge proof is written through to warm tier for later archival.
All of this happens atomically -- one intent, one signature, one block slot. If any step fails, the entire operation rolls back.
Modules
| Module | Purpose |
|---|---|
| Core Types | Primitives, 60 transaction operation types, addresses, signatures |
| State Machine | RocksDB-backed accounts, token registry, reputation, pools, validators |
| VXS Economics | Token constants, supply schedule, block rewards |
| HyperSync Consensus | Block production, finalization, voting, epoch management |
| RPC Server | JSON-RPC -- 72+ endpoints (vex_* + eth_* compatibility) |
| Node | Binary entry point -- genesis, P2P networking, block production |
| P2P Network | libp2p + QUIC transport, GossipSub, peer discovery |
| SDK | Wallet, validator, DEX client, intent parser, bundle builder |
| CLI | 13 command groups, 67+ subcommands |
| Quantum Crypto | Ed25519 + Dilithium3 (post-quantum) keypairs |
| VexBridge | Cross-chain bridge -- deposit, withdraw, oracle verification |
| VexForge | Token validation (VSC-7, VSC-21, VSC-55 standards) |
| IntentVM | Intent-based execution engine (patent-pending) |
| ElasticState | 3-tier hot/warm/cold state management |
Network Parameters
| Parameter | Value |
|---|---|
| Chain ID | 1618032 (0x18b070) |
| Block time | 12 seconds (configurable) |
| Max transactions/block | 10,000 (configurable via --max-txs-per-block) |
| Mempool capacity | 100,000 bundles |
| Bundle TTL | 120 seconds |
| P2P transport | QUIC (TLS 1.3 + multiplexing, UDP) |
| Gas price | 10 nanoVXS/gas (configurable) |
| Auto-checkpoint interval | Every 1,000 blocks |
| Checkpoints retained | Last 5 |