p33rX Protocol

Zero-slippage decentralized trading with real-time oracle pricing

What is p33rX?

p33rX is a next-generation decentralized peer-to-peer trading platform that implements an on-chain order book DEX with zero slippage. Unlike traditional AMM-based DEXs, p33rX guarantees execution at exact oracle prices powered by Pyth Network.

Zero Slippage

All trades execute at exact oracle prices, no matter the order size

💰

Earn as a Maker

Sellers receive a 0.15% bonus above oracle price

🔄

Real-Time Pricing

Pyth Network provides sub-second price updates

📊

FIFO Order Book

Fair, transparent first-in-first-out order matching

How It Works

1

Order Book Architecture

p33rX uses a FIFO (First-In-First-Out) order book where orders are stored on-chain in a linked list queue. When you create a sell order, your tokens are locked in the smart contract and added to the end of the queue.

2

Oracle Price Integration

Every trade uses real-time prices from Pyth Network, a pull-based oracle system. The protocol fetches fresh price data (updated every few seconds) and ensures prices are less than 15 seconds old. This prevents stale price exploits.

3

Order Matching

When a buyer wants to fill orders, the contract processes orders from the head of the queue (oldest first). Up to 50 orders can be filled in a single transaction. If your order can't be fully filled, unused tokens are returned automatically.

4

Zero Slippage Execution

All trades execute at the exact oracle price (adjusted by fees). There's no AMM-style price impact, so buying 1 ETH has the same unit price as buying 100 ETH.

Fee Structure

p33rX features a unique maker-friendly fee model that incentivizes liquidity provision:

Taker Fee
0.20%
Buyers pay oracle price × 1.002
Maker Rebate
+0.15%
Sellers receive oracle price × 1.0015
Protocol Fee
0.05%
Protocol captures the spread

Example Trade

Scenario: Buy 1 WETH with USDC

Oracle Price: 1 WETH = 2,000 USDC

Buyer Pays: 2,000 × 1.002 = 2,004 USDC

Seller Receives: 2,000 × 1.0015 = 2,003 USDC

Protocol Keeps: 1 USDC (0.05%)

How to Trade

📝Creating a Sell Order (Maker)

  1. Select a trading pair (e.g., WETH/USDC)
  2. Connect your wallet to Base Sepolia
  3. Approve the token you want to sell
  4. Enter the amount to sell (minimum $10 USD worth)
  5. Optionally set min/max price limits
  6. Submit your order (includes small ETH fee for oracle update)
  7. Your tokens are locked and added to the order queue
  8. Earn 0.15% bonus when your order is filled!

💸Buying Tokens (Taker)

  1. Navigate to the desired trading pair
  2. Connect your wallet with sufficient balance
  3. Approve the token you want to spend
  4. Enter the amount you want to spend
  5. Execute the trade at oracle price + 0.20%
  6. Receive your tokens instantly!

⚙️Managing Orders

  • View all your active orders in "My Orders"
  • Cancel orders anytime
  • Track fills and trade history in real-time
  • Monitor market prices with live charts

Technical Details

Smart Contract

Address:0x4F7e...C149

Network: Base Sepolia Testnet

Framework: Foundry (Solidity 0.8.30)

Oracle Integration

Provider: Pyth Network

Update Frequency: Sub-second

Staleness Check: < 15 seconds

Supported Tokens

WETH, USDC, USDT, LINK, cbBTC, cbDOGE, SHIB, AERO, cbXRP, PEPE

All tokens have Pyth price feeds

Order Limits

Minimum Order: $10 USD worth

Max Orders/Fill: 50 orders

Partial Fills: Supported

Why Choose p33rX?

Predictable Execution

Know exactly what price you'll get before trading. No surprises from slippage or price impact.

Better for Large Orders

Unlike AMMs where large orders suffer massive slippage, p33rX treats all order sizes equally.

Earn by Providing Liquidity

Market makers earn a 0.15% bonus instead of paying fees, incentivizing deep order books.

Transparent & Fair

FIFO matching ensures early orders get filled first. No preferential treatment or hidden mechanisms.

Real-Time Oracle Pricing

Pyth Network's pull-based oracle provides accurate, up-to-date prices with sub-second latency.

Ready to Trade?

Experience zero-slippage trading on Base Sepolia testnet

Explore Markets