Skip to content

VageChain/VAGE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

VageChain

The First MEV-Resistant, Parallel EVM Layer 1

VageChain is a high-performance, next-generation Layer 1 blockchain designed to eliminate frontrunning, enable parallel execution, and deliver sub-second finality β€” without sacrificing Ethereum compatibility.


1. Executive Summary & Why VageChain Exists

Today’s blockchains have a hidden tax: MEV (Maximal Extractable Value). Every day, users lose millions to sandwich attacks, frontrunning bots, and arbitrage exploitation. Even the most advanced chains treat this as β€œnormal.” VageChain does not.

VageChain represents a paradigm shift in execution-driven Layer 1 networks. Current monolithic and modular architectures (e.g., Ethereum, Celestia, Solana) compromise on one edge of the scalability trilemma. VageChain bypasses traditional EVM bottlenecks by unifying parallel execution, commit-reveal mempool states, and advanced cryptographic accumulators into a cohesive state machine.

Why This Matters

For years, the bold promise of decentralized finance has been compromised by an ugly truth: the system is rigged against the average user. Every single day, everyday people trying to trade, invest, or just participate in Web3 are silently robbed. They submit a trade, and within milliseconds, a predatory bot spots their transaction in the dark forest of the public mempool, frontruns them, and maliciously siphons their hard-earned value.

This isn't a small bug; it's a colossal, structural exploitation that has cost users billions of dollars. Blockchains were supposed to democratize finance; instead, they enabled a new, ruthless class of institutional predators.

We got tired of waiting for external patches. We got tired of accepting the excuse that "MEV is just a part of how blockchains work." VageChain was built out of raw frustration and an unyielding belief that a blockchain should protect its users first. We ripped out the exploitative foundation and engineered a protocol where predatory attacks aren't just mathematically discouragedβ€”they are completely impossible.

Key Value Propositions

  1. Parallel EVM Compatibility: Combines the massive developer ecosystem of Ethereum with the high-throughput performance of Solana-like parallel execution.
  2. Advanced State Management: Uses Verkle trees to minimize state bloat and enable efficient light client verification, positioning it ahead of current Ethereum mainnet.
  3. Native MEV Mitigation: Implements a commit-reveal mempool mechanism to natively protect users from sandwich attacks and other frontrunning strategies.
  4. Rust-First Architecture: Built for performance and safety, using the industry-standard language for modern high-performance blockchains.

2. In-Depth Architecture

The VageChain architecture is functionally decoupled but horizontally integrated:

  • P2P Gossip Layer: Optimized for rapid mempool propagation and BFT voting messages.

  • Mempool Layer (Encrypted): Implements cryptographic commitments to shield transaction intents.

  • Execution Engine (Parallel EVM): Implements dynamic dependency tracking to execute disjoint transactions concurrently.

  • Consensus Engine (HotStuff BFT): Handles block ordering and deterministic finality independently from execution latency.

  • State Layer (Verkle Trees): Replaces legacy Merkle Patricia Tries (MPT) with Vector Commitment-based Verkle trees for $O(1)$ proof sizes.

              +---------------------+
              |   Wallet / dApps    |
              |  (Metamask / Web3)  |
              +----------+----------+
                         |
                      JSON-RPC
                         |
              +----------v----------+
              |       RPC Node      |
              +----------+----------+
                         |
                  P2P Gossip Layer
                         |
         +---------------v----------------+
         |                                |
    +----v----+                   +-------v------+
    | Mempool |                   |  Consensus   |
    |Commit   |                   |  HotStuff    |
    |Reveal   |                   +-------+------+
    +----+----+                           |
         |                                |
         +----------+-----------+---------+
                    |           |
            +-------v---+  +----v------+
            | Parallel  |  | Verkle    |
            | Execution |  | State     |
            | Engine    |  | Storage   |
            +-----------+  +-----------+
    

Native MEV Protection: Commit-Reveal Cryptography

Maximal Extractable Value (MEV) represents billions of dollars drained continuously by sophisticated searchers and builders operating on probabilistic mempools. VageChain neutralizes toxic MEV at the protocol level through a strict bipartite transaction lifecycle:

  1. Commit Phase: Users broadcast $C(Tx, r)$ where $C$ is a secure commitment scheme over the transaction data $Tx$ and a random blinding factor $r$. The HotStuff consensus engine sequences $C(Tx, r)$ into a block with absolute finality. No validator knows what $Tx$ implies.
  2. Execution Reveal Phase: Once ordered natively at Block $H$, users (or delegated relayer networks) reveal $(Tx, r)$ for Block $H+1$. The transaction executes exactly at the pre-determined index.

Information Asymmetry Elimination: Because the transaction ordering happens strictly before the transaction contents are revealed, searchers have zero data to calculate arbitrage. πŸ‘‰ No visibility = No frontrunning.

Parallel EVM Execution

VageChain solves the sequential bottleneck of standard EVMs with an advanced Parallel EVM engine using Optimistic Concurrency Control (OCC).

  • Dynamic Dependency Analysis: Transactions within a newly ordered block execute optimistically in parallel threads. As transactions execute, the engine records their state reads and writes. If a conflict occurs, transactions are aborted, re-scheduled, and executed sequentially.
  • Solidity Compatibility: Developers do not need to learn a new parallel-centric language. Regular Solidity bytecodes execute normally. πŸ‘‰ Deploy without changing your code.

Consensus Engine: HotStuff BFT

VageChain leverages a pipelined variant of HotStuff BFT, a leader-based Byzantine Fault Tolerant protocol providing robust safety and liveness under partial synchrony.

  • Sub-Second Finality: Blocks are confirmed deterministically and immediately. There is no probabilistic rollback (unlike Nakamoto Consensus); a finalized block is absolute.
  • Phase Pipelining: Every proposal inherently carries the votes for the previous phases, ensuring optimal message complexity and blistering speeds.

Verkle Tree State Cryptography

VageChain abandons the MPT (Merkle Patricia Trie) standard in favor of Verkle Trees to achieve logarithmic storage and significantly succinct cryptographical proofs.

  • Polynomial Commitments: VageChain utilizes Inner Product Arguments (IPA) or KZG polynomial commitments. A proof covering hundreds of state accesses across multiple branches collapses into a single mathematical evaluation.
  • Statelessness: Witness proofs become so small (~2-3 KB for a large complex block) that validators can deterministically verify state transitions almost entirely mathematically.

ZK-Ready Infrastructure

VageChain's state transition function (STF) and Verkle state updates are architected to be representable within arithmetized circuits. Integrations utilizing Succinct Non-interactive Arguments of Knowledge (SNARKs/STARKs) like SP1 or Groth16 allow the STF to generate validity proofs natively.


3. Competitive Landscape Matrix

Feature VageChain Ethereum Solana Aptos/Sui
Primary Language Rust Solidity (via EVM) Rust / C++ Move / Rust
Throughput High (Parallel) Low (Sequential L1) Extremely High High
EVM Support Native (Parallel) Native (Sequential) Via Neon (Layer 2) Limited (Move-based)
Finality < 1-2 Seconds ~12.8 Minutes ~400ms - 12.8s < 1 Second
State Structure Verkle Trees Merkle Patricia Flat Account Maps Sparse Merkle Trees
MEV Strategy Native Commit-Reveal External (Flashbots) Priority Fees / Jito Built-in (Bullshark)
Proof System ZK-Ready (SP1) Moving to ZK L2s N/A (Mostly) N/A (Mostly)

4. Performance & Benchmark Targets

VageChain is engineered for high-throughput, low-latency execution. Below are our target metrics under stress-test conditions:

Metric Target Baseline (Legacy EVM)
Max TPS (Simple Transfers) 4,500+ ~100 - 300
Max TPS (Smart Contracts) 1,200+ ~15 - 50
Time to Finality 1.2 Seconds 12m (ETH) / 6s (BSC)
State Proof Size (Verkle) ~2.5 KB ~100 KB+ (MPT)
Block Time 1.0 Second 12s (ETH)
Parallel Efficiency 8.5x (8 Cores) 1.0x (Sequential)

Benchmarks are obtained from our internal metrics and visualized in the VageChain Explorer dashboard.


5. VageChain Gas Model

This schedule defines the baseline computations for the execution layer:

  • INTRINSIC_GAS = 210
  • VALUE_TRANSFER_GAS = 210
  • STORAGE_READ_GAS = 48
  • STORAGE_WRITE_GAS = 200
  • CALLDATA_GAS = 1 per non-zero calldata byte (0 costs 4)

The schedule is intentionally lower than Ethereum-style defaults to account for optimizations in Verkle states and parallel computations.


6. Getting Started: Developer Guide & DevNet

Prerequisites

  • βœ… Rust (for blockchain & backend)
  • βœ… Node.js (for frontend)
  • βœ… MetaMask browser extension
  • βœ… Git & ~10GB disk space

Quick Start: Running the Network

Option A: Using the Launch Scripts

# Windows
.\devnet_start.ps1

# Linux / macOS
./devnet_start.sh

(Wait for RPC endpoint: http://127.0.0.1:8080/rpc and Chain ID: vage_devnet_1)

Option B: Manual Cargo Build

cargo build --release
cargo run --release -- --config configs/devnet.json

7. RPC API & MetaMask Configuration

VageChain is built to completely abstract its underlying computational complexity from the developers, presenting an identical interface to traditional EVM environments. Behind the scenes, the RPC node intrinsically wraps payloads in the Commit-Reveal MEV protections.

Add VageChain Network to MetaMask

Setting Value
Network Name VageChain DevNet
RPC URL http://127.0.0.1:8080/rpc
Chain ID 2018131581 (or 0x78637a7d)
Currency Symbol VAGE

Pre-funded Test Accounts

You can view the pre-funded DEVNET validators and test accounts dynamically via the CLI:

./target/release/vage-cli account list-devnet

Output:

 DEVNET PRE-FUNDED ACCOUNTS
═══════════════════════════════════════════════════════════

Validator #1
───────────────────────────────────────────────────────────
Address:     0x0000000000000000000000000000000000000000000000000000000000000001
Public Key:  0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
Balance:     1000000000000000000000000000 vc (1000000000.000000 tokens)

Import private key 0x0000000000000000000000000000000000000000000000000000000000000001 directly into MetaMask to access the funds of Validator #1.

Caution

A Code of Honor for DevNet Test Tokens These pre-funded assets are strictly for development, stress-testing, and breaking the boundaries of what is possible on VageChain. They hold absolutely zero real-world value. Any attempt to sell, misuse, or scam users with these testnet tokens is a direct violation of the builder ethos.

Real greatness is forged in the code you write, the systems you architect, and the problems you solveβ€”not in exploiting test networks. VageChain is built by and for true innovators. Take pride in your work, honor the open-source rules, and execute with absolute integrity.


8. CLI & Account Management Guide

The VageChain CLI provides extensive commands for managing accounts and states.

Verify Node Status:

curl -X POST http://127.0.0.1:8080/rpc \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}'

Common vage-cli Commands:

  • vage-cli account list-devnet
  • vage-cli account generate
  • vage-cli query balance 0x0000000000000...001
  • vage-cli transaction send --from <address> --to <address> --value <amount> --private-key <key>

9. Block Explorer & Analytics Dashboard

VageChain includes a built-in block explorer that provides a real-time visualization of the network's health, throughput, and state transitions.

Running the Explorer

  1. Ensure the VageChain Node is running (.\devnet_start.ps1).
  2. Start the explorer service:
    cd vage
    cargo run -p vage-explorer
  3. Open your browser and navigate to: http://127.0.0.1:3000

The explorer features a high-performance indexer that crawls the local RPC and populates a relational database for instant dashboard updates, showing live TPS, network height, and latest transactions.


10. Launch Gates & Readiness Status

The workspace builds successfully, and the test suite passes. The DevNet is fully suitable for local evaluation, CLI testing, RPC integrations, and protocol development.

Readiness Summary

Area Status Notes
Build Ready Workspace compiles cleanly
Tests Ready Workspace library tests pass
Node Startup Ready DevNet launcher available (devnet_start.ps1)
RPC Ready JSON-RPC endpoint is available and responsive
Genesis Ready Pre-funded allocations are successfully loaded
Mempool Ready Priority handling and MEV commit-reveal wired in
Light Client Needs Review Sync flows must be verified prior to public launch
Security Needs Review Formal external audit is required

11. Vision & Contributing

We believe the future of blockchain is Fair, Fast, and Invisible. VageChain is not just another L1. It is a new execution standard.

We welcome developers, researchers, and builders:

  • Open issues
  • Submit PRs
  • Share ideas

12. Contact & Community

Have questions, want to partner with us, or looking to build on VageChain? Reach out through our official channels:

13. Core Developers & Authors

VageChain was created and is actively maintained by a dedicated group of systems engineers, cryptographers, and blockchain researchers who are passionate about scaling the decentralized web honestly.

  • Lead Developer & Architect: Praful V Raj
  • Core Contributors: The VageChain Open Source Community

I am incredibly grateful to every open-source contributor who has submitted PRs, reported issues, or helped shape the architecture of VageChain.

14. Flexibility & Future Horizons

VageChain isn't just a static protocol; it is an evolving ecosystem designed for maximum adaptability and long-term utility.

  • Modular Architecture: Our decoupled execution and consensus layers mean VageChain can adapt to new technological breakthroughs. Whether it's upgrading to a newer consensus protocol or integrating advanced state-storage solutions, the core foundation remains robust and replaceable.
  • Enterprise & App-Chain Ready: The infrastructure is designed to support "Vage-Slices"β€”customizable sub-networks that allow developers to launch their own specialized app-chains with specific governance or performance parameters while inheriting VageChain's security.
  • Stateless & Mobile-First Future: By leveraging Verkle trees and succinct proofs, we are paving the way for a future where a full validator node can run on a mobile device, ensuring true decentralization that fits in your pocket.
  • High-Compute & AI Infrastructure: As the world moves toward AI-driven decentralized economies, VageChain's parallel execution engine is uniquely positioned to handle the high-throughput, low-latency demands of AI inference verification and automated high-frequency agents.
  • Global Interoperability: VageChain is built with a cross-chain-first mindset, ensuring seamless liquidity and data flow between our network and the broader Web3 ecosystem.

Status: VageChain is currently in active development / testnet phase. Expect rapid changes, improvements, and breaking updates. License: MIT License


Built for fairness. Built for the future.

About

Built for fairness. Built for the future.

Topics

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages