XDX Exchange

John Chao

Blockchain Developer
Fullstack Engineer
Web Developer
Hardhat
React
Solidity

XDX is a decentralized exchange deployed on Avalanche with low swap fees and no price impact. It engages a liquidity shared mechanism called XDX to faciliate trades. XDX is the utility and governance token of the protocol. As lead developer, I was tasked with building a new DEX protocol to enable low-cost, high-volume crypto trading without network congestion.

For the frontend, I developed a sleek interface using React and Tailwind CSS for a seamless user experience across all devices. Web3 integrations via Ethers.js and Web3-React allow seamless wallet connectivity. Users can easily deposit funds, place limit orders against liquidity pools, and track holdings/performance.

In the backend, smart contracts powering the exchange were written in Solidity and rigorously tested using Hardhat. Special attention was given to security best practices like avoiding reentrancy issues. A liquidity sharing mechanism for XDX tokens was also implemented to minimize price slippage.

Extensive metadata on all trades and order book snapshots are indexed on a GraphQL subgraph for easy querying and deriving on-chain analytics. This data fuels customized widgets on the UI and third party integrations.

Comprehensive documentation supports developers integrating with public APIs. Automated deployments ensure the protocol remains up to date across many nodes robustly supporting high transaction volumes.

Since launch, XDX has grown rapidly to millions in monthly trading volumes and a vibrant trader community. Constant performance optimizations have reduced fees and enhanced the user experience. I remain actively involved contributing new features that strengthen the DEX as Avalanche's leading AMM protocol.

Partner With John
View Services

More Projects by John