How AgoráX Works
AgoráX is a decentralized limit order protocol that enables peer-to-peer OTC trading on PulseChain.
The Big Picture
Unlike traditional DEX swaps that execute immediately at market price, AgoráX allows you to set your own price and wait for someone to fill your order. This is similar to limit orders on centralized exchanges, but fully decentralized and non-custodial.
Create Order
Set your price & tokens
Wait for Fill
Order sits in marketplace
Collect Proceeds
Claim your tokens
Order Lifecycle
1. Order Creation
When you create an order, your sell tokens are transferred to the smart contract and held in escrow. The contract records your order details including:
- • What token you're selling and the amount
- • Which tokens you'll accept as payment (up to 50)
- • The amounts required for each payment token
- • Order expiration time
- • All-or-nothing preference
2. Order Discovery
Your order becomes visible in the marketplace where other users can browse and search for orders. Users can filter by:
- • Token pairs
- • Price (discount from market)
- • Order size
- • Status and expiration
3. Order Filling
When someone wants to fill your order, they choose one of your accepted buy tokens and provide the required amount. They receive your sell tokens proportionally.
Example:
Order: Selling 1000 HEX, accepting 5000 PLS
Buyer provides 2500 PLS → receives 500 HEX (50% fill)
4. Collecting Proceeds
After your order is filled (partially or fully), you can collect your buy tokens anytime. The proceeds accumulate in the contract until you claim them. You can also cancel unfilled portions of your order to reclaim your sell tokens.
Key Concepts
Multi-Token Orders
Accept up to 50 different tokens as payment for a single order. This increases the chances of getting filled and gives buyers more flexibility.
Partial Fills
Orders can be partially filled unless marked as "All or Nothing". This allows multiple buyers to fill portions of large orders.
Non-Custodial
Your tokens are held in the smart contract, not by any centralized party. Only you can cancel your order and reclaim your tokens.
No Price Impact
Unlike AMM swaps, filling limit orders doesn't move the market price. This makes AgoráX ideal for large trades without slippage.