ccxt icon indicating copy to clipboard operation
ccxt copied to clipboard

Add CoW Protocol Exchange Integration

Open bhavyagor12 opened this issue 1 month ago • 2 comments

Summary This PR adds full support for the CoW Protocol decentralized exchange (DEX) to CCXT, enabling gasless trading with MEV protection across Ethereum mainnet, Gnosis Chain, Arbitrum One, Base, and Sepolia testnet. CoW Protocol is a batch auction-based DEX aggregator that provides best execution prices through solver competition, with zero gas fees for traders (solvers pay gas).

Exchange Details:

Website: https://cow.fi API Documentation: https://docs.cow.fi/cow-protocol/reference/apis/orderbook

Networks Supported: Ethereum Mainnet (chainId: 1) Gnosis Chain/xDAI (chainId: 100) Arbitrum One (chainId: 42161) Base (chainId: 8453) Sepolia Testnet (chainId: 11155111)

bhavyagor12 avatar Nov 17 '25 14:11 bhavyagor12

would absolutely love a review folks @kroitor @frosty00 @carlosmiei

the guys over at Cow Dao are keen on getting this merged too!!

bhavyagor12 avatar Nov 23 '25 18:11 bhavyagor12

Hi, as an active member of the CoW DAO Grants Committee and former CoW Protocol core contributor, I'd like to indicate our support of this PR being for consideration for inclusion into ccxt :pray:

mfw78 avatar Nov 24 '25 15:11 mfw78

@mfw78 can you please ping us on discord/telegram?

carlosmiei avatar Dec 12 '25 09:12 carlosmiei

@carlosmiei addressed changes

bhavyagor12 avatar Dec 16 '25 10:12 bhavyagor12

@carlosmiei have added polling

bhavyagor12 avatar Dec 17 '25 08:12 bhavyagor12

@bhavyagor12 Is it possible to add the partner fee logic ? https://docs.cow.fi/governance/fees/partner-fee you can add a dummy wallet and we can update it later

carlosmiei avatar Dec 17 '25 11:12 carlosmiei

@carlosmiei yes checking and adding that

bhavyagor12 avatar Dec 17 '25 11:12 bhavyagor12

@carlosmiei added partner fee - hardcoded the values for now

bhavyagor12 avatar Dec 17 '25 12:12 bhavyagor12

@carlosmiei have pushed stuff that fixes go build

bhavyagor12 avatar Dec 18 '25 08:12 bhavyagor12