Skip to content

feat: add GaslessSwapMiner periphery (relayer-protected, production-tested)#507

Open
wyc-dev wants to merge 1 commit intoUniswap:mainfrom
wyc-dev:main
Open

feat: add GaslessSwapMiner periphery (relayer-protected, production-tested)#507
wyc-dev wants to merge 1 commit intoUniswap:mainfrom
wyc-dev:main

Conversation

@wyc-dev
Copy link

@wyc-dev wyc-dev commented Nov 23, 2025

This PR adds a battle-tested periphery contract that solves the single biggest pain point in gasless DeFi: relayer profitability.

Only swaps trigger rewards (LP ops = 0)
Gasless swaps require stablecoin involvement
Automatic % fee burning from USD volume
feeRate in EIP-712 signature (replay-proof)
Atomic execution in unlockCallback
Multiple high-TVL projects are already using this exact pattern.

New files:

  • GaslessSwapMiner.sol

This is currently the most advanced gasless swap implementation in production.

This contract implements the GaslessSwapMiner for Uniswap V4, allowing gasless swaps with reward distribution and liquidity management features. It includes functions for managing stablecoin whitelists, reward rates, and emergency pause functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant