← Back to home

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.

Screenshots

SwapX screenshot 1
SwapX screenshot 2
SwapX screenshot 3

Problem Statement

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.

Solution

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.

Hackathon

ETHGlobal Brussels

2024

Prizes

  • 🏆

    Best Use of Substreams

    The Graph

Contributors