Aptos Velociraptr

Learn how Aptos processes 160,000+ transactions per second

Block River

Connecting...
TPS 0Peak 0Block 0
1-20 tx20-100 tx100-300 tx300-500 tx500+ tx
~??ms blocks

E2E Latency with Finality

p50 median · 0 samples · testnet

p50: 470msp95: 494ms470ms

Throughput Comparison

Theoretical max TPS (all chains)

Block-STM parallel execution

Why Each Chain Achieves Its Throughput

Block-STM160k TPS

Optimistic parallel execution without pre-declared dependencies

Key advantage:8-16x speedup over sequential

Block-STM Innovation: Unlike Solana's Sealevel which requires transactions to pre-declare dependencies, Block-STM speculatively executes all transactions in parallel and only re-executes on conflict. This eliminates upfront overhead while maintaining deterministic results.

Ethereum vs Aptos

Live Comparison
Speed Difference: 128x faster

The Blockchain Stress Story

Watch how traditional blockchains fail under load, and how Aptos handles it

Progress Bar with Strong Glow

Animated progress bar demonstrating multi-layer glow effects

Timeline

Evolution of consensus milestones

Consensus Rounds

Velociraptr 4-hop consensus speed

Round: 010 r/s

Transaction Pipeline

Raptr 4-hop consensus · Particles spawn from real blocks

The 4-Hop Journey

SUBMIT: TX enters mempool
PROPOSE: Leader bundles into block
VOTE: Validators verify & sign (2f+1)
CERTIFY: Quorum Certificate formed
COMMIT: Block finalized
Why so fast? Pipelining!~0ms finality

Multiple blocks process concurrently through all stages, not sequentially.

Validator Ring

Top 20 by Stake

Network Stats

EPOCH
---
ROUND
---
TPS
0
BLOCK TIME
0ms
Active Validators138
Vote Participation100%
Total Stake---
2

CONSENSUS: How Validators AgreeAptos Consensus Deep Dive

Before your transaction is final, ~140 validators must agree it's valid. These visualizations show the messaging protocol that makes that happen in ~400ms.

Raptr ConsensusDocs

4-hop BFT: Propose → Vote → Certify → Commit (~0ms)

Round: 0
PROPOSEHop 1/4

Leader broadcasts block proposal with signature to all validators

Leader multicasts ⟨PROPOSE, B, σ_L⟩ containing block B and leader signature. O(n) messages sent.

Based on HotStuff-2 with optimistic linear communicationO(n) message complexity · 2f+1 quorum

Block-STM Parallel ExecutionDocs

Software Transactional Memory with MVCC

0 commits0 conflicts
Waiting for transactions...
HOW BLOCK-STM WORKS
Execute

Run TX optimistically, record all reads & writes

Validate

Check if read versions are still current

Conflict?

Earlier TX wrote to key we read → abort & retry

Commit

Write new versions, TX is finalized

Key Innovation

Block-STM uses Multi-Version Concurrency Control (MVCC) where each key maintains multiple versions. TXs are pre-ordered (TX1 < TX2 < TX3...) and execute speculatively in parallel. If TX5 reads balance_A@v2 but TX3 later writesbalance_A@v3, TX5 must re-execute with fresh data. This achieves 8-16x speedup over sequential execution with typically <5% conflict rate.

Block-STM ParallelizationVS COMPARISON

Sequential vs parallel transaction execution

1 Thread
Ethereum EVM
32+ Threads
Aptos Block-STM
8-16×
Speedup
<5%
Conflict Rate

Why Block-STM is Revolutionary

ETH:EVM executes transactions sequentially — each waits for the previous
APT:Block-STM executes optimistically across all CPU cores in parallel
ETH:Shared state prevents parallelization without breaking consensus
APT:MVCC tracks versions — conflicts trigger surgical re-execution only
Result: Aptos achieves 160,000+ TPS vs Ethereum's 15-30 TPS — orders of magnitude faster while maintaining determinism.

Quorum StoreDocs

Batch dissemination for data availability (2/3 quorum)

Narwhal-based batching

Narwhal Protocol: Data Availability Layer

1DISSEMINATE

Worker broadcasts ⟨BATCH, d, data⟩ where d = H(batch)

2STORE-VOTE

Validators store batch, reply with ⟨STORE-VOTE, d, σ_i⟩ partial signature

3PROOF OF STORE

With 2f+1 signatures: PoS = ⟨d, σ_agg⟩ — aggregated threshold signature

Key Innovation: Decouples data dissemination from ordering. Leader only sends batch digest d, not full data — validators already have it.
O(n) message complexity · Horizontal scaling12x throughput

Shoal++ Leader ReputationDocs

Dynamic leader selection by reputation score

Top 10 validators
Loading validators...
Top 3Current LeaderOthers

Why Reputation-Based Leaders?

The Problem

In traditional blockchains, leaders are chosen randomly. If a slow or offline validator is picked, everyone waits — wasting precious time.

The Shoal++ Solution

Track each validator's performance history. Reliable validators get picked more often. Bad actors get skipped automatically.

1
Track Performance:Each time a validator successfully proposes a block, their reputation score increases.
2
Weighted Selection:Higher reputation = higher probability of being selected as the next leader. It's like a "credit score" for validators.
3
Fast Anchors:Commit blocks in just 4 message hops instead of 10.5 — that's up to 60% faster!
Result:Network rewards good validators, punishes bad ones — automatically
60%↓

Shardines: Parallel Execution

Hypergraph partitioning for horizontal scalability

0k TPS
PARTITIONHypergraph Partitioning

Analyze transaction dependencies by shared resources

Build graph where TXs are nodes, shared resources are hyperedges

4
Shards
4
Threads
<5%
X-shard
1M+
Peak
3

EXECUTION: Running Your Smart ContractAptos Execution Deep Dive

Once consensus is reached, your transaction runs on the Move VM. These diagrams show how code goes from bytecode to state changes.

Move Execution Pipeline

Contract → Block-STM → Loader V2 → Chain

1/6Module Definition

Move module defines entry functions

16+
Workers
90%
L1 Hit
15%
Conflicts
16x
Speedup

Move VM Execution PipelineDocs

Complete transaction lifecycle through the Move virtual machine

Stage 1/7
TX ENTRYReceive

Transaction received and validated

Technical:

Transaction bytes decoded, signature verified, gas checked

Mechanics:

Entry point: execute_script() or execute_function(). Deserialize TransactionPayload, verify Ed25519 signature against sender's public key, check sequence number matches account state.

Receive
Parse
Validate

Pipeline: Each stage is optimized for minimal latency. Pipelining allows next block to start while current commits.

Safe Transaction ExecutionSECURE

Your transaction protected by Move VM safety guarantees

DEEP DIVE

Loader V2: Why 60% Faster?Aptos Execution Details

The secret sauce: multi-level code caching. Instead of reloading smart contract code for every transaction, Aptos keeps hot modules in memory — from per-thread (L1) to epoch-wide (L3) caches.

Loader V2: Code Caching

Multi-level bytecode caching

L1:0%
1/4Cache Lookup

TX needs module code

L1
90% · <1μs
L2
8% · 5μs
L3
2% · 50μs

AIP-107: ~90% L1 hit rate. L2→L3 promotion at block commit. Result: 60% faster, 14x faster module publishing.

Loader V2: Parallelization

How shared caching enables parallel contract execution

AIP-107
Phase 1/4Multi-Thread Module Loading

32 Block-STM threads request the same hot module simultaneously

Technical:

Legacy: Each thread deserializes + verifies independently → O(32 × module_size). Loader V2: First thread loads, others wait on lock-free read → O(1 × module_size).

Mechanics:

Thread T1 acquires L2 lock, loads module, stores in L2. Threads T2-T32 spin-wait briefly, then read from L2. All 32 get pointer to same verified module. Zero redundant verification.

Legacy Loader
  • • Per-thread cache (no sharing)
  • • 32x redundant loading
  • • Cache discarded per block
Loader V2
  • • Shared L1→L2→L3 hierarchy
  • • Lock-free reads (~90% L1)
  • • Epoch-persistent cache
4

OPTIMIZATIONS: Speed InnovationsAptos White Paper

What makes Aptos the fastest blockchain? These cutting-edge techniques work together: optimistic proposals, parallel pipelines, dynamic sharding, and observer nodes for scale.

Velociraptr: Optimistic ProposalsBlog

~40% faster block times via pipelined proposals (AIP-131)

Step 1/4Round N: Leader Proposes

Leader broadcasts ⟨PROPOSE, B_n⟩ immediately

T2
T2
Key Innovation: Vote aggregation for round N happens in parallel with proposal for round N+1. Block time = max(T₁, T₂) ≈ T₂
2026

Archon: Primary-Proxy ConsensusDocs

From 4 global WAN hops to fast internal BFT + 1 broadcast

Velociraptr (AIP-131)
Leader rotates globally. Each hop crosses WAN (~15ms).
4 hops × ~15ms = ~60ms
Archon
Cluster runs internal BFT (<5ms). Then 1 broadcast.
5ms internal + 5ms broadcast = ~10ms

Key insight: The co-located cluster (same datacenter) runs full PBFT-style consensus in microseconds, then broadcasts the certified block once to external validators.

Why Archon Is 18× Faster Than Mysticeti

Sui Mysticeti v2 (180ms) vs Aptos Archon (10ms)

Sui
Aptos
Mysticeti v2 (Sui)
DAG: 3 rounds × ~60ms WAN = 180ms
~180ms
Archon (Aptos)
Cluster BFT ~5ms + broadcast ~5ms
~10ms

Key insight: Both need ~3 message rounds for BFT. But Mysticeti's rounds cross the WAN (60ms each), while Archon's internal rounds happen in microseconds (same datacenter).

Zaptos: Parallel PipelineDocs

Multiple blocks processed simultaneously at different stages

Round:1
CONSENSUS

Block proposed and voted on

EXECUTION

Block-STM parallel processing

CERTIFY

State root signatures aggregated

STORAGE

State committed to disk

Key Innovation: Unlike sequential processing, Zaptos overlaps consensus, execution, certification, and storage. While block N is being stored, block N+1 is certifying, N+2 is executing, and N+3 is in consensus.

Shardines: Sharded ExecutionDocs

Dynamic partitioning for horizontal scalability

Shards:
Phase 1/4Dynamic Partitioning

Hypergraph partitioner analyzes transaction dependencies to find optimal shard assignments

Algorithm:

Build hypergraph G = (V, E) where V = transactions, E = shared resource accesses. Run min-cut algorithm to partition V into k shards minimizing |E_cross| (cross-shard edges).

How It Works:

For each transaction: (1) Extract read/write set from Move bytecode, (2) Map resources to hypergraph nodes, (3) Add edges for overlapping accesses. Partitioner uses Kernighan-Lin or spectral methods to find balanced cuts with minimal cross-shard communication.

PARTITION
DISTRIBUTE
EXECUTE
MERGE

Key Innovation: Shardines combines hypergraph partitioning (minimize cross-shard edges) with Block-STM per shard (optimistic parallel execution). Workloads automatically rebalance: shards split when overloaded, merge when idle. Cross-shard coordination uses lock-free MVHashMap with versioned reads—conflicts are rare (<5% for typical DeFi workloads) and resolved by deterministic re-execution.

Consensus ObserverDocs

Parallel fullnode sync for 30-50% lower latency

AIP-93
Step 1/4Block Proposed

Leader proposes block to validator set and simultaneously forwards to observer network

Protocol Messages:

⟨PROPOSE, B_n, σ_L⟩ broadcast to all validators. Observers receive via P2P gossip layer with block hash + parent linkage for ordering verification.

How It Works:

Leader sends: (1) Block data + transactions, (2) Leader signature σ_L, (3) Parent block reference. Observers validate block hash chain before processing.

Key Innovation: Observers receive ordered blocks directly from validators via P2P gossip and execute speculatively. Since block ordering is guaranteed by the consensus layer, observers can safely process blocks before finalization—rolling back only in rare fork cases (<0.01%).

5

GAS FEES: Stable Under LoadAptos Gas & Fees

Fee auction models can spike dramatically during demand surges. Aptos uses governance-set pricing—no gas wars, no priority auctions, just predictable fees regardless of network load.

Live Orderbook Stress Test

IDLE
Throughput
100tx/s
Latency
25ms
Threads
1/64
Size
Price
Total
Spread: 2.0¢
Recent Trades
Waiting for trades...
Block-STM Lanes0/64
📊 DID YOU KNOW?

Block-STM executes orderbook transactions in parallel across 64 threads. At 500K tx/s peak load — no congestion, no fee spikes, sub-second finality.

Chain Comparison

Same orderbook load, drastically different outcomes

2K/s
Orders
$0.01
Other Chain Fee
0
Failed TXs
Loading visualization...

Other Chain (15 TPS)

50K orders = 3,333x capacity. Fees spike to $100s, 50%+ transactions fail.

Aptos (160K TPS)

50K orders = 31% capacity. Fees stay at $0.0001, 100% success rate.

Block-STM Parallel Execution

How Aptos achieves 160,000+ TPS

0/8
Seq Done
0/8
Par Done
~800ms
Seq Time
~30ms
Par Time
Loading visualization...

Optimistic Parallel Execution

1. Execute ALL transactions in parallel (assume no conflicts)
2. Detect conflicts automatically during execution
3. Re-execute only conflicting transactions
4. Repeat until all resolve (usually 1-2 rounds)

Fee Market Economics

Why capacity matters more than fee market design

10%
Network Demand
$0.01
Auction Fee
$0.0001
Aptos Fee
Loading visualization...
📊 DID YOU KNOW?

Fee Auction Model

When demand approaches capacity, users bid against each other. Fees spike exponentially with EIP-1559.

Fixed Floor Model

When capacity vastly exceeds demand, no auction is needed. Governance sets a flat minimum fee.

Gas Auction vs Flat FeeMONEY FLOW

Ethereum priority fee auctions vs Aptos $0.0001 flat fee

$15-50+
ETH Gas (Busy)
$0.0001
Aptos Fee
$1-20+
MEV Extracted
0
Aptos MEV

Where Does Your Money Go?

ETH:Base fee burned + priority fee to validator + MEV to bots = unpredictable costs
APT:Flat $0.0001 fee to validator = predictable, fair costs for everyone
MEV:Bots front-run your trades, extracting value by seeing pending transactions
Encrypted:Aptos encrypted mempool prevents MEV — your transaction is hidden until execution
For Prediction Markets: High gas + MEV makes small bets uneconomical on Ethereum. Aptos flat fees enable micro-betting and fair market making.

Encrypted Mempool

GOVERNANCE-PENDING

MEV protection via threshold encryption

VISIBLE
Intent
ACTIVE
MEV Bots
<20ms
Decrypt Time
~14%
Overhead
Loading visualization...

How It Works

1. Users encrypt transactions as ciphertext before submission
2. Validators see only encrypted payloads - no MEV extraction
3. After ordering, validators batch-decrypt using threshold shares
4. Order first, reveal later - fair execution guaranteed
Governance-pending. Sources: Aptos Foundation + TrX paper (IACR 2025/2032)

Encrypted Mempool ProtectionMEV SHIELD

Threshold encryption prevents front-running by ordering before revealing

<20ms
Decrypt Overhead
2f+1
Threshold
100%
MEV Blocked
Batched
Decryption

How Encrypted Mempool Prevents Front-Running

1.Transactions enter mempool encrypted—content invisible to all
2.Validators receive and propagate only ciphertext
3.Consensus finalizes ordering on encrypted data
4.Threshold decryption reveals content only after order is locked
Result: MEV bots cannot front-run because they can't see transaction content until execution order is immutable.

MEV Protection: Side by SideCOMPARISON

Same transaction, different outcomes — see why encryption matters

$1.5B+
MEV Extracted (2023)
60%
Sandwich Attacks
100%
Blocked on Aptos
<20ms
Encryption Overhead

Why This Matters

Traditional: MEV bots see your transaction and extract value through front-running and sandwich attacks
Aptos: Transactions are encrypted until order is finalized — attackers can't see what to front-run

Perp DEX Stress Test

BTC flash crash with mass liquidations

STABLE
$67,000
BTC Price
5K/s
Orders
0
Liquidations
$0.00012
Gas Fee
Loading visualization...
📊 DID YOU KNOW?

Flash Crash Resilience

47,000 orders/sec during a -13% BTC crash with 12,000+ liquidations. On Aptos: fees stay at $0.00012, zero failed transactions, 0.02% slippage. Block-STM handles the chaos at 30% capacity.

Live Gas

CONNECTING
Block #0
Session Low
octas
Current
100
median
Session High
peak
Priority Scale
1001K10K100K1M
Initializing chart...
How Aptos Gas Works

Market Rate — Median gas price from recent blocks. What most transactions pay.

Priority Fee — Pay more for faster inclusion. Buckets: 100 → 1M octas.

Unlike Ethereum, Aptos fees stay remarkably stable—no surge pricing during congestion.

Transaction Flow Under Load

How each chain handles increasing transaction demand

0K
TPS Demand
030K
0
Solana Processed
0
Solana Dropped
0%
Drop Rate
Loading...
Solana Under Load
  • • Transactions queue at scheduler
  • • 4-6 execution threads process queue
  • • Heavy load → 15-30% drops
  • • Dropped txs must be retried
Aptos Parallel Execution
  • • Block-STM: no scheduling queue
  • • 32+ threads execute in parallel
  • • Handles load without drops
  • • Conflicts resolved automatically
Loading...