Warning: Submitting AI slop PRs will result in your submission being immediately closed. All PRs if you wish to submit PRs must be submitted to GitHub - cowdao-grants/cow-rs · GitHub **.
Grant Title:** Community-built Rust SDK for CoW Protocol
Author:
- GitHub: mfw78
About You:
- Experienced in technical systems analysis, design and implementation with a strong emphasis on risk management / gap analysis.
- Experienced technical writer in mission-critical, highly regulated, and technical industries.
- Active Core Contributor to CoW Protocol and CoW Grants Committee Shepherd.
Grant category: Protocol Order Flow / Developer tools
Grant Description
Problem: Builders and developers come from many different technical backgrounds. Rust has become the predominant language for blockchain infrastructure, yet CoW Protocol lacks a Rust SDK. While JavaScript has cow-sdk and Python now has cow-py, there is no maintained, up-to-date Rust equivalent. A previous grant for a Rust SDK was awarded in November 2025 but has been cancelled due to non-delivery.
Solution: Following the successful community contributor model pioneered by cow-py, this grant sets aside funding within the Grants DAO to fund contributors to a CoW Protocol Rust SDK (cow-rs). Rather than funding a single developer, we open this to the herd – any contributor can submit code, and the Grants Committee will distribute funds based on assessed contribution.
Grant Goals and Impact
- Extend CoW Protocol tooling to the widely-used Rust programming language.
- Enable integration with Rust-based solver infrastructure, MEV tooling, and blockchain clients.
- With WASM compilation support, enable use of the SDK in web application contexts.
- Foster community engagement through collaborative, open development.
- Provide a foundation for Rust-based trading bots, analytics tools, and protocol integrations.
Milestones
Phase One (Feature Parity):
Contributors commit code to the cowdao-grants/cow-rs repository and progressively work together to achieve feature parity with:
@cowprotocol/cow-sdk– order creation, signing, and submission@cowprotocol/contracts– hashing utilities and contract interaction@cowprotocol/app-data– metadata encoding and CID pinning
Additionally:
- Subgraph querying capabilities
- Blockchain data fetching and decoding
- WASM compilation target for web application use
- Comprehensive unit tests, integration tests, and examples
- Published to crates.io
Phase Two (Maintenance):
Contributors maintain the CoW Protocol Rust SDK over the course of one year from Phase 1 completion. This includes bug triage, dependency updates, feature requests, and keeping pace with upstream protocol changes.
Grant Timeline
- Phase One: Open-ended. No fixed deadline – contributors work at their own pace. Funding is released upon the Grants Committee’s assessment that feature parity has been reached.
- Phase Two: One year from Phase 1 completion.
Funding Request
$8,500 xDAI for Phase One. Based on the Grants Committee’s assessment (whose decision is final), funding will be divided amongst contributors to the Rust SDK proportional to their contribution.
Once the Rust SDK reaches feature parity, orders routed via the SDK will become eligible for the Volume Grants Program. Funds from the Volume Grants Program (if any) will be distributed to original developers and maintainers on a ratio basis to be solely determined by the Grants Committee.
Budget Breakdown
- $8,500 xDAI: Development and labour costs, distributed across contributors.
- Volume Grants Program: Ongoing sustainability mechanism post-delivery.
Gnosis Chain Address
TBD (Grants Committee multisig)
Other Information
As an active member of the CoW Grants Committee, I hereby refrain from voting / signing on this proposal so as to eliminate conflicts of interest. This grant supersedes the previously cancelled Rust SDK grant. All contributors, including the previous grantee, are welcome to participate on equal footing.
The repository will be hosted at: GitHub - cowdao-grants/cow-rs · GitHub
Terms and Conditions
By applying for this grant, I agree to be bound by the CowDAO Participation Agreement and the CowDAO Grant Terms and Conditions.