Proof & Trace

Verify Percolator sharded architecture implementation with reproducible proofs

Independent Implementation

Independent implementation of the Percolator sharded perpetual design (research by Anatoly Yakovenko). This exchange uses a deterministic sharding system that distributes orders across 32 parallel shards for increased throughput and reduced latency.

How to Verify in 3 Steps

1

Paste your wallet public key

Enter your Solana wallet address below and click "Compute Shard" to see which shard your orders are assigned to.

2

Place a tiny test order

Go to the trading page and place a small order. Copy the transaction signature from your wallet after confirmation.

3

Paste transaction signature

Enter your tx signature below to view which ShardAccount was updated on-chain, proving the sharded settlement.

Shard Calculator

Compute which shard your wallet is assigned to for a given market.

Transaction Tracer

Trace a transaction to see which shard(s) were updated on-chain.

What to Look For:

  • ShardAccount address in the transaction accounts
  • Settlement nonce in the instruction data
  • Per-shard funding and open interest updates
  • Multiple ShardAccount updates in batch settlements

Sample Proof Vectors

Pre-computed test vectors demonstrating deterministic shard assignment. You can verify these independently.

Public KeyMarketShardAction
9WzDXwBbmkg8ZTbNMqUx...SOL-PERP
7
CmYvL8B9nPFPqcfBrjUv...SOL-PERP
23
5Q544fKrFoe6tsEbD7S8...SOL-PERP
15
HN7cABqLq46Es1jh92dQ...SOL-PERP
3
4k3Dyjzvzp8eMZWUXbBC...SOL-PERP
29

Technical Documentation

Shard Assignment Algorithm

Each user's orders are deterministically assigned to a specific shard based on their wallet address:

function selectShard(pubkey: string, marketId: string): number {
  const data = pubkey + marketId;
  const hash = SHA256(data);
  return parseInt(hash, 16) % SHARD_COUNT;
}

Benefits of Sharding

  • Parallel processing of orders across multiple shards
  • Reduced contention and improved throughput
  • Deterministic assignment ensures consistent routing
  • Periodic settlement aggregates global state

On-Chain Verification

All shard updates are recorded on-chain in ShardAccount structures. Each settlement produces a verifiable transaction with a unique settlement_nonce. You can trace any order through the blockchain to confirm it was processed in the assigned shard.