Skip to main content

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

  1. IntentVM (Patent-Pending) -- 1 intent, 1 signature, N operations. Declarative execution.
  2. HyperSync Consensus -- Leader rotation with weighted selection, jailing, and reputation scoring.
  3. VexBridge (Patent-Pending) -- Vaultless canonical token bridge using burn-and-mint and stateless/limbo resolution.
  4. VSA v2 -- Smart accounts with Ed25519 + Dilithium3 dual-signature quantum hardening. Includes VNS (.vex name service) as an identity extension.
  5. VexForge -- Five token standards (VSC-7, VSC-21, VSC-55, VSC-LAUNCH, VSC-REP) with protocol-level anti-rug protection.
  6. VexiDEX -- Native on-chain AMM with constant-product pools and LP token management.
  7. 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

WalletStatusRPC LayerSignature
VexSpark (native)Livevex_*Ed25519
MetaMaskLiveeth_*secp256k1/ECDSA
PhantomPlannedsvm_*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"

  1. IntentVM parses the natural language into Goal::Composite([Bridge, Swap])
  2. VexBridge verifies the SOL limbo proof (Tier 2 light client)
  3. VexForge credits canonical SOL token to the user's account
  4. VexiDEX routes the SOL to VXS swap through the best pool
  5. VSA v2 verifies the single Ed25519 signature over the entire bundle (VNS resolves chris.vex to the user's address)
  6. HyperSync includes the bundle in the next block (weighted leader selection)
  7. 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

ModulePurpose
Core TypesPrimitives, 60 transaction operation types, addresses, signatures
State MachineRocksDB-backed accounts, token registry, reputation, pools, validators
VXS EconomicsToken constants, supply schedule, block rewards
HyperSync ConsensusBlock production, finalization, voting, epoch management
RPC ServerJSON-RPC -- 72+ endpoints (vex_* + eth_* compatibility)
NodeBinary entry point -- genesis, P2P networking, block production
P2P Networklibp2p + QUIC transport, GossipSub, peer discovery
SDKWallet, validator, DEX client, intent parser, bundle builder
CLI13 command groups, 67+ subcommands
Quantum CryptoEd25519 + Dilithium3 (post-quantum) keypairs
VexBridgeCross-chain bridge -- deposit, withdraw, oracle verification
VexForgeToken validation (VSC-7, VSC-21, VSC-55 standards)
IntentVMIntent-based execution engine (patent-pending)
ElasticState3-tier hot/warm/cold state management

Network Parameters

ParameterValue
Chain ID1618032 (0x18b070)
Block time12 seconds (configurable)
Max transactions/block10,000 (configurable via --max-txs-per-block)
Mempool capacity100,000 bundles
Bundle TTL120 seconds
P2P transportQUIC (TLS 1.3 + multiplexing, UDP)
Gas price10 nanoVXS/gas (configurable)
Auto-checkpoint intervalEvery 1,000 blocks
Checkpoints retainedLast 5