project screenshot 1
project screenshot 2
project screenshot 3

SwapX

SwapX is an innovative decentralized trading solution designed to incentivize traders with reduced fees to enhance trader engagement and optimize transaction costs through a secure and transparent mechanism.

SwapX

Created At

ETHGlobal Brussels

Winner of

The Graph - Best Use of Substreams

Project Description

SwapX integrates custom hooks into the Uniswap V4 protocol to dynamically adjust trading fees based on predefined conditions. These hooks allow for:

  • Dynamic Fee Adjustment: Traders receive reduced fees based on trading volume, activity, and other metrics.
  • Enhanced Trading Experience: By customizing fee structures, traders can enjoy a more cost-effective trading environment.

Utilizing zero-knowledge proofs (ZKPs), SwapX ensures the integrity and security of transactions without exposing sensitive information. Key benefits include:

  • Proof of Computation: Verify blockchain history and transaction computations efficiently and securely.

How it's Made

We used Solidity to implemented custom Uniswap V4 hook contract to control the swap fees and calculate the discounted fees and also used Axiom & Circom to create proofs that validate transaction history and fee calculations without revealing sensitive information. We also used The graph for data indexing for faster and more efficient processing of transaction data.

background image mobile

Join the mailing list

Get the latest news and updates