Grant Application: Community-built Python SDK

Hey folks! I’m excited to share that we’ve just merged a bunch of outstanding PRs in cow-py, the Python version of the CoW SDK! Check it out here.

Also, we’re currently working on one final piece - porting the composable module to Python. You can take a peek at what’s in the works in this draft PR.

With this, we’re nearing completion of porting the SDK to Python. Here’s what we’ve accomplished so far:

  • Interacting with CoW contracts across chains
  • Interacting with CoW OrderBook API, including signing orders and the complete e2e order flow
  • Implementing backoff and rate limiting strategies for the APIs (in case you need it :wink:)
  • Querying CoW subgraph (although it’s down right now)
  • Generating/reading AppData in orders
  • Automated testing using pytest, including an e2e test for the order creation flow (quote, create order, cancel order)
  • Implementing type hints and pydantic models to enhance developer experience
  • And probably a bunch more I’m forgetting! :sweat_smile:

Next steps include:

  • Finishing the composable module port
  • Implementing schema validation functions from the appdata module
  • Adding more comprehensive examples and documentation

We’re thrilled about the progress and can’t wait to see what the community builds with cow-py! If you’re interested in contributing or have any questions or feedback, feel free to respond to this thread, open an issue or PR on the GitHub repo, or reach out to us directly in TG @rpunktj.

Happy coding, and may the herd be with you! :cow::rocket:

2 Likes