Skip to content

The True Best Rate Engine

Most swap interfaces route through one aggregator and call it the best rate. Pennysia Exchange routes through all of them — and lets them compete to deliver the best rate.

A single swap request is broadcast to all aggregators simultaneously. The best result wins.

Pennysia Exchange is an Aggregator of Aggregators (AoA) — it doesn't pick one aggregator and trust it. It runs them in parallel, takes the best result, optimize it further, and handles everything else so users don't have to.

1. How It Works

> Step 1: Broadcast

When a user initiates a swap, the request is broadcast simultaneously to multiple DEX aggregators. Each one independently computes its best available route using its own algorithm, liquidity sources, and pricing data.

> Step 2: Compare

The AoA protocol receives all quotes and evaluates them on the dimensions that matter — not just output amount, but also gas cost and execution viability. A quote that looks better but costs significantly more in gas, or is likely to revert, is ranked lower.

> Step 3: Optimize

Before execution, the protocol applies a final optimization pass with its own algorithm. In most cases, combining partial routes from multiple aggregators produces a better outcome than any single aggregator alone. The execution path is split accordingly to achieve the best possible result.

> Step 4: Execute

The best path is submitted on-chain. The protocol handles slippage protection, deadline enforcement, and revert safety. If conditions change between quote and execution, the protocol will handle the failure and retry with the next best option sequentially until a successful execution is achieved or the slippage threshold is exceeded, to ensure smooth and reliable transactions.

2. User Flow

From a user's perspective, none of the above is visible. The experience is:

  1. Enter the swap — select tokens and amount
  2. See the best rate — the protocol has already queried all aggregators and surfaced the optimal result
  3. Confirm — sign once; the protocol handles routing and execution
  4. Done — tokens received at the best available rate at that moment, guaranteed

There is no need to compare platforms, monitor aggregators, or know which one is best for a given trade size. The protocol does this continuously, on every swap.

3. What Makes It Different

Single AggregatorAoA Protocol
Quote sourceOne algorithmAll major aggregators, in parallel
Best rateBest that one source can findBest across the entire market
Gas optimizationPer-aggregatorCross-aggregator, with net cost factored in
Execution safetyVariesRevert protection and slippage enforcement built in
User effortPick the right aggregatorNone

4. Prototype

🔗 AoA Prototype — Ethereum Mainnet
We built a working prototype of the AoA Protocol to demonstrate real-time rate performance. Enter any swap and see how the AoA result compares against individual aggregators. No wallet connection required.
Open Prototype →

Released under the MIT License.