Author: Tantodefi.eth & Bhavya Gor
Date: October 26, 2025
Category: Developer Tooling
Funding Requested: 15,000 xDAI + 15,000 vested COW tokens
Gnosis Chain Address: 0x9B2FB7a8d227cDaA8002f80e8c8A99a19Bb1b969
GitHub: Tantodefi | Bhavya Gor
Contact: tantodefi.eth@proton.me | bhavya.gor9999@gmail.com
We are Tantodefi.eth , experienced developers specializing in blockchain integrations, API development, and trading systems. We've contributed to open-source DeFi projects, including smart contracts, algorithmic trading tools, and developer resources for platforms like BUIDLGuidl's Scaffold-ETH. Our expertise lies in creating accessible tools for DeFi ecosystems, with a focus on standardized APIs for development.
This proposal seeks funding from CoW DAO's retroactive funding round to develop a CCXT library connector for the CoW SDK, enabling seamless integration of CoW Protocol's intent-based trading into the widely used CCXT library. This will allow algorithmic traders to leverage CoW's MEV-protected executions through a unified API, reducing integration barriers and driving protocol adoption. The project builds on prior SDK efforts, such as the community-built Python SDK[^1], to enhance developer accessibility and ecosystem growth.
For full details, including feasibility, implementation, and impact metrics, see our Detailed Proposal.
The CoW Protocol's intent-based architecture, powered by the CoW SDK[^2], offers superior executions with MEV protection and gas efficiency. However, algorithmic traders using CCXT—the standard for 100+ exchanges—face integration hurdles. This connector will map CoW SDK functions (e.g., quoting, order management) to CCXT's API, enabling plug-and-play usage for trading bots and strategies.
Key Benefits:
createOrder and fetchOrder.CoW's batch auction model differs from order-book systems, but CCXT supports partial implementations. We assessed:
compareQuoteWithOtherExchanges for multi-venue benchmarking.This ensures 70-80% CCXT coverage, focusing on trading, similar to prior SDK integrations[^1].
We will implement a TypeScript-derived CCXT class leveraging the underlying CoW Protocol APIs (via the Order Book API at https://api.cow.fi/), which the CoW TypeScript SDK[^2] is built upon. This allows direct interaction with REST endpoints for maximum functionality while handling rate limiting (e.g., built-in throttling to 10-20 requests/min for /quote) and polling for asynchronous order status updates.
Key API routes for integration:
fetchQuote or pre-order price checks.createOrder (limit orders only, as market orders are simulated via quotes).fetchOrder.cancelOrder.fetchMyTrades.loadMarkets.Limitations Assessment: CoW Protocol's intent-based model (users submit preferences as signed messages, delegated to solvers for execution in batch auctions) introduces key differences from traditional exchanges:
Optimal Integration into CCXT Adapter:
has['fetchOrderBook'] = false, has['fetchTicker'] = false, has['fetchOHLCV'] = false, and websocket methods to false in the exchange's features config.fetchQuote for pre-trade simulation and compareQuoteWithOtherExchanges to benchmark against other CCXT venues (normalizing for fees, slippage, gas).This approach maximizes functionality by abstracting intent delegation, providing seamless algo trading while transparently handling CoW's batch-based limitations.
The project spans 8 weeks (October 26 - December 21, 2025):
| Milestone | Description | Timeline | Deliverable | Verification | |-----------|-------------|----------|-------------|--------------| | 1: Research and Setup | Analyze SDK/CCXT; review DEX connectors; prototype class. | Oct 26 - Nov 2 (Week 1) | Feasibility doc, prototype. | GitHub commit. | | 2: Core Implementation | Build order lifecycle, polling, rate limiting. | Nov 3 - Nov 16 (Weeks 2-3) | Functional connector, basic tests. | 80% test coverage. | | 3: Advanced Features and Testing | Add comparator/bot; tests/docs. | Nov 17 - Dec 7 (Weeks 4-6) | Beta version, docs. | 90%+ test coverage; draft README. | | 4: Submission and Review | Submit PR to CCXT; iterate. | Dec 8 - Dec 21 (Weeks 7-8) | Merged PR, usage guide. | CCXT merge; metrics report. |
Total: 15,000 xDAI + 15,000 vested COW (12-month vesting).
| Category | Amount (xDAI) | Justification | |----------|---------------|---------------| | Development | 10,000 | 200 hours @ $50/hr (research, coding). | | Testing/Documentation | 3,000 | 60 hours (polling, docs). | | Community Engagement | 2,000 | Feedback, PR reviews, features. | | Vested COW Tokens | 15,000 | Long-term alignment. |
Prefer xDAI for liquidity.
This builds on SDK grants[^1], expanding CoW's algo trading reach.
We welcome community feedback to refine this proposal. The project leverages insights from the Python SDK grant[^1] for robust integration practices.
By submitting this proposal, we agree to adhere to the terms outlined in the CoW DAO Grant Agreement. We commit to transparency, timely delivery of milestones, and open-source contributions to maximize value for the CoW ecosystem.
[^1]: Community-built Python SDK Grant
[^2]: CoW SDK GitHub
[^3]: CCXT Contributing
Full Proposal: HackMD
We look forward to your feedback!