• DEX
  • Limit orders
  • Indexer

Blazeswap

Native DEX for Xion

Role
Senior Full-Stack Engineer
Company
Blazeswap
On board
Apr – Aug 2024
Chain
Xion
Blazeswap, the live product

What you’re looking at

  1. Built as the native exchange for Xion.
  2. Connect signs in through Abstraxion, no seed phrase.

The situation

Xion had no native exchange.

Xion is a chain where people sign in without a seed phrase. It had no exchange of its own to trade on.

The task

Build the exchange Xion was missing.

Swaps, liquidity and limit orders, all usable without a browser wallet.

I was lead developer from April to August 2024: I led the contract design, wired the frontend to it and built the indexer.

What I did

Proven contracts, plus what an AMM can't do.

Proven contracts, adapted

The core is Uniswap V2-style: a factory, a router and pair contracts, plus proxy contracts so the protocol could be upgraded. Starting from a design that has held billions meant the risk sat in what we changed, not in the basics.

Limit orders

An AMM only does market orders. Blazeswap added limit orders with an order book on top.

Volume across the chain

I built an indexer that tracks trading volume across the whole chain, not just our pools.

No seed phrase

The frontend signs users in through Abstraxion, Xion's account abstraction kit.

The result

Xion's own exchange.

Blazeswap gave Xion a native place to swap, provide liquidity and place limit orders, all signed in without a seed phrase, with volume across the chain tracked by its own indexer.