Skip to content

feat: add new networks to cowswap #356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cowdan
Copy link

@cowdan cowdan commented Jun 23, 2025

Summary

Adding new networks to the CoW Swap integration

  • Add Avalanche
  • Add Polygon

Screenshot 2025-06-23 at 14 08 55

Screenshot 2025-06-23 at 15 30 25

Testing

Setup the UI locally:

  1. Clone the repo and checkout this PR
  2. Install dependencies with yarn
  3. Start the local server with yarn dev

Steps:

  1. Open the SWAP interface and connect your wallet
  2. Set network to one of [Avalanche, Polygon]
  3. Pick sell token and sell amount
  4. CoW Swap should show as one of the options
  5. Pick CoW Swap and send the order
  6. Order should be placed
  7. Check the explorer link
  8. AppData should include:
  9. partnerFee with feeRecipient set to 0x1713B79e3dbb8A76D80e038CA701A4a781AC69eB
  10. quote with slippageBps set to whatever you chose in the UI
  11. Repeat from 3-5 selling the native token
  12. Same except that it's an ethflow order
  13. EthFlow contract used (on all chains) is 0xba3cb449bd2b4adddbc894d8697f5170800eadec
  14. Repeat 2-6 for the other network

Copy link

vercel bot commented Jun 23, 2025

@cowdan is attempting to deploy a commit to the llamaswap Team on Vercel.

A member of the Team first needs to authorize it.

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.

2 participants