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 integrates custom hooks into the Uniswap V4 protocol to dynamically adjust trading fees based on predefined conditions. These hooks allow for:
Utilizing zero-knowledge proofs (ZKPs), SwapX ensures the integrity and security of transactions without exposing sensitive information. Key benefits include:
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.