#[HGP-79] Add CoWSwap Router Connector to Gateway

9 messages · Page 1 of 1 (latest)

untold prairie
#

Summary

Seeking support for integrating CowSwap as a Router connector in Gateway. CowSwap is an intent-based DEX aggregator with MEV protection. The integration is complete with partner fee functionality, enabling Hummingbot to earn revenue on trades.

What is CowSwap?

  • MEV Protection: Protection from front-running/sandwich attacks
  • Gasless Trading: Users sign off-chain; solvers pay gas
  • Multi-Network: Ethereum, Arbitrum, Base, Polygon, Avalanche, BSC

Partner Fee Revenue

CowSwap's Partner Program pays up to 1% on volume. Per DefiLlama:

Quarter Fees Paid
Q4 2025 $3.45M
Q3 2025 $2.71M
Q2 2025 $710K

2025 Total: ~$7.8M to partners. Paid weekly in WETH.

Status

Complete: Issue #593 | Branch

  • Router endpoints, partner fees, 7 networks, 98 tests passing

Benefits

  • Revenue for Foundation/DAO
  • MEV Protection for traders
  • Better Execution via solver competition

Request

  1. Technical concerns?
  2. Fees to Foundation, DAO, or configurable?
  3. Snapshot vote required?
  4. 200K HBOT: Need sponsor for HIP if required—awaiting other grant payments.

Author: @untold prairie | Status: Complete

Documentation for CoW Protocol, CoW AMM, MEV blocker and other CoW DAO products.

GitHub

Feature Suggestion Summary I propose adding a new CoW protocol router connector to the Hummingbot Gateway. CoW is a decentralized exchange protocol that utilizes a MEV-resistant batch auction mecha...

GitHub

Middleware that standardizes DEX API endpoints on different blockchain networks - GitHub - tantodefi/gateway at feat/cowswap

craggy dome
#

hey thanks for the submission. The code looks fine, but given how good AI is these days, that's the easy part about maintaining a connector. The hard part is keeping up with API improvement from both exchange and Gateway, creating documentation that explains how users should configure the CowSwap specific params, and ensuring that the connector works with all strategies that utilize it.

#

Will you be doing that work?

#

Note that the DEX router standard is new and may require changes down the line

untold prairie
#

hey @craggy dome thanks for your reply here and on the CoW grants forum as well - i replied more indepth there and pinged some grants council members on it for their feedback: https://forum.cow.fi/t/retro-round-hummingbot-gateway-connector-for-cow-sdk/3333/3?u=tantodefi

CoW DAO

Hey @fengtality Thank you for replying here as well as to the proposal I made in Hummingbot Discord re: this connector here Assuming that this is a desirable addition for both protocols then I would plan to be doing whatever work is required to maintain the CoW/hummingbot connector for the next year - including and not limited to: maintain t...

craggy dome
#

Are you the PumpSwap AMM dev?

untold prairie
craggy dome
#

As far as I know, no one in the Hummingbot community has asked for a CowSwap connector. I think the Partner Program might be interesting, but you didn't define how the partner fee works in appCode. I'd expect to see a more fleshed out implementation.

#

I'd also like to see evidence like screenshots, videos, etc of you running AMM-ARB or other Hummingbot strategies on this connector before our team puts in effort reviewing this. Anyone can generate code with AI these days.