Grant Application - CoW Protocol Playground Block Explorer Integration

RFP Response: RFP: CoW Protocol Playground Block Explorer & Transaction Analysis

Disclaimer: We are aware that this proposal is being submitted past the original deadline. We are sharing it nonetheless in case the evaluation process remains open to late submissions. Should this proposal still be eligible for consideration, we would be grateful. If not, we fully understand and will participate in the next available round.

Author(s)

CoBuilders Team

GitHub: CoBuilders · GitHub

Website: cobuilders.xyz

Experiences and Qualifications

CoBuilders is a blockchain-native R&D and engineering studio focused on developer tooling, smart contracts, protocol, and L2 development, and DeFi/Dapp engineering. We take a research-driven, security-minded approach to building reliable systems across the Web3 stack. We’ve partnered with leading organizations such as Arbitrum, OpenZeppelin, Tools for Humanity, ZetaChain, SeedGov, and others across the ecosystem.

Grant Category

Developer Tooling / Infrastructure

This grant responds to the CoW Grants Program RFP for integrated block exploration and transaction analysis tools for the CoW Protocol Playground.

Grant Description

The CoW Protocol Playground currently lacks local tools for transaction inspection and debugging. Developers must rely on external services like Etherscan, which don’t work with local/forked chains.

Our Solution: Integrate Otterscan (a mature, open-source block explorer designed for local development chains) with the CoW Protocol Playground. Otterscan has native Anvil support and is actively maintained with 2.5k+ GitHub stars.

Current Status: We have a working PoC with Otterscan running, connected to the local Anvil chain with basic Docker integration.

This grant will complete the integration by:

  1. Otterscan Integration: Production-ready Docker Compose setup with contract verification support (local or default Sourcify)

  2. Frontend Integration: Modify CoW Swap and CoW Explorer frontends to replace Etherscan URLs with local explorer URLs (http://localhost:8003)

  3. Documentation: Complete user and developer guides

What Otterscan Provides (Built-in):

  • Block and transaction browsing

  • Transaction traces and call graphs

  • Gas profiling and analysis

  • Contract code viewing (when verified)

  • Address transaction history

  • Search functionality

  • Failed transaction debugging with revert reasons

What We’ll Build:

  • Production-ready Otterscan Docker Compose integration

  • Contract verification setup (local or default Sourcify)

  • Frontend URL modifications in CoW Swap and CoW Explorer

  • Configuration for seamless development experience

  • Documentation

Demo Screenshots:

Below are example views from our working Otterscan integration, demonstrating how developers will be able to inspect CoW Protocol transactions locally with full traces, logs, and decoded call data.

Figure 1 — Transaction Overview

Provides a high-level summary of the transaction: gas usage, calldata decoding, token flows, involved contracts, revert reasons (if any), and metadata.

Figure 2 — Transaction Logs View

Displays decoded event logs emitted during the settlement flow, including WETH transfers, CoW settlement events, Uniswap swaps, and USDT movements.

Figure 3 — Transaction Trace View

Shows the full call graph for a CoW Protocol settlement, including internal calls, token transfers, Uniswap interactions, and fallback executions.

Type of Grant

Milestone-based Grant

This is a milestone-based grant with clear deliverables at each stage, enabling verification of progress and quality before proceeding to subsequent phases.

Milestones

Milestone Title Due Date Funding Request
M1 Otterscan Integration Week 1 40% ($3,000)
M2 Frontend Integration Week 2 40% ($3,000)
M3 Documentation Week 2-3 20% ($1,500)

Total Timeline: 2-3 weeks from approval

Milestone 1: Otterscan Integration (40% - $3,000)

Deliverables:

  • Seamless Otterscan integration into existing Docker Compose (fork and non-interactive modes)

  • Production-ready configuration with optimized settings for Anvil

  • Configure service networking and dependencies.

  • Ensure all Otterscan features work correctly (traces, gas profiling, contract viewing)

  • Contract verification setup:

    • Configure Otterscan to support contract verification

    • Option to use local Sourcify service OR default Sourcify endpoints

    • Test verification works with both approaches

  • Documentation of configuration options and trade-offs

Success Criteria: Otterscan is fully functional with all debugging features available, and contract verification is working.


Milestone 2: Frontend Integration (40% - $3,000)

Deliverables:

  • Modify CoW Swap frontend to replace Etherscan links with local explorer URLs (localhost:8003)

    • Update transaction hash links

    • Update address links

    • Add environment variable configuration for the explorer URL

  • Modify CoW Explorer frontend to add “View on Blockchain” links pointing to local Otterscan

  • Implement dynamic URL generation based on deployment mode (local vs production)

  • Test all navigation flows work correctly

Note: This requires code changes in the CoW Swap and CoW Explorer repositories to replace production URLs with configurable local explorer URLs.

Success Criteria: One-click navigation from frontends to the local block explorer for all transactions and addresses


Milestone 3: Documentation (20% - $1,500)

Deliverables:

  • Complete user guide for using Otterscan with CoW Protocol

  • Developer documentation for maintaining and extending the setup

  • Troubleshooting guide

  • RFP compliance document showing all requirements met

Success Criteria: Documentation enables new developers to use and maintain the explorer without assistance


Duration

Commencement Date: Upon successful approval, we will set a kickoff date

Completion Timeline: 2-3 weeks for core deliverables

Funding Request

Total: $7,500 USD

  • Payment split: $5,000 in xDAI + $2,500 in COW

Breakdown by Milestone:

  • M1 (Otterscan Integration): $3,000 (40%)

  • M2 (Frontend Integration): $3,000 (40%)

  • M3 (Documentation): $1,500 (20%)

Justification: As mentioned above, this 2-3 week project delivers all RFP requirements by integrating proven open-source tools (Otterscan + Sourcify). The work includes Docker configuration, frontend modifications to replace Etherscan URLs, and comprehensive documentation.

Gnosis Chain Address

0x483Ee74762461981f2828Ded35E901B9B2424A01

Terms and Conditions

By submitting this grant application, we acknowledge and agree to be bound by the CoW DAO Participation Agreement and the CoW DAO Grant Agreement Terms.

Wow, this looks super cool! Can you please clarify if the figures are of a fork that you have running (whereby you then executed a settlement on anvil), or if it is a historical lookup of a transaction / settlement that had already been done (and just the block / execution data was looked up via anvil and otterscan ?

1 Like

Thanks! To clarify: the screenshots come from a locally executed settlement.
We started the Playground using the standard docker-compose fork setup, performed a swap directly on this local forked chain, and then captured the Otterscan views of that locally executed transaction.

So these figures are not historical lookups, they’re traces and logs from a fresh transaction executed on our local Anvil fork.

Hi @CoBuilders.xyz, after reviewing this grant application with the Grants Committee, I’m signalling my support of this grant. Given internal discussion with the grants committee, I think we can move this through to voting on Snapshot. For guidance on how to do so (if not familiar), please see the grant program docs and/or other grants that have been completed to see how they’ve gone about posting on Snapshot.

We kindly advise to advoid posting to Snapshot on a Friday afternoon as this then means that a lot of the time for the vote may be eaten by the weekend before quorum could potentially be reached.

1 Like

Hi @mfw78 thanks for your support! We already posted the application on Snapshot. Here is the link:

https://snapshot.box/#/s:cowgrants.eth/profile/0x640084a560B2a051d7D20933061D3cA3e8860B41

Let us know if you need anything else.

Regards,

CoBuilders Team

1 Like

CoW Grants: Grantee Onboarding

Congratulations! Your grant proposal has been approved by the CoW Grants Council via Snapshot. We’re excited to support your work on integrating Otterscan as a local block explorer for the CoW Protocol Playground.

Grant: CoW Protocol Playground Block Explorer Integration
Grantee: CoBuilders Team (CoBuilders.xyz)
Amount: $7,500 USD ($5,000 xDAI + $2,500 COW)
Approved: Snapshot on December 5, 2025


Your Grant Team

Sov - Process, payments, and approvals
@mfw78 - Technical review and quality standards

This is a milestone-based grant with a 2-3 week timeline. Your approved proposal governs all details.


Milestone & Delivery

Milestone Deliverable Due Date Payment
M1 Otterscan Integration (Docker Compose setup, contract verification, Anvil configuration) Week 1 $3,000 (40%)
M2 Frontend Integration (CoW Swap & Explorer URL modifications, environment config) Week 2 $3,000 (40%)
M3 Documentation (user guides, developer docs, troubleshooting) Week 2-3 $1,500 (20%)

Success metric: Otterscan fully functional with all debugging features (traces, gas profiling, contract viewing) and one-click navigation from CoW frontends to the local block explorer.

When you complete a milestone, post in this thread with links to deliverables (GitHub, docs) and tag @Sov and @mfw78. Your Reviewer responds within 7-14 days. Approved milestones enter the next end-of-month payout cycle, with funds arriving by the 15th of the following month.

Post progress updates every 2-4 weeks. Flag blockers early. Small changes can be approved directly by your team. Major changes need a Snapshot vote.


Your Responsibilities

Execute your proposal as approved and deliver on time to the quality standards you committed to. Post proactive progress updates in this thread - don’t wait for us to ask. When you hit issues, flag them early. When you complete milestones, post deliverable links and tag your team. If timelines shift, discuss in this thread.

Deliverables must be open source. You’re an independent contractor handling your own taxes. Review full grant terms here and here.


Please reply confirming that you’ve read this onboarding, provide your Gnosis Chain payment address (must match your Snapshot signing account), confirm that you understand your responsibilities, and acknowledge that you can reach your Steward and Reviewer via the contacts above.

Once confirmed, you’re clear to start building. Questions? Tag @Sov for process/payments or @mfw78 for technical issues. :cow_face:

1 Like

Hi everyone, and thanks for the warm onboarding. We’re grateful for the support and excited to contribute to the CoW Protocol ecosystem. The start date will be Monday, December 15th.

Here is the requested information:

  • Confirmation: We’ve read and understood the onboarding details, the milestone structure, and the delivery expectations.

  • Responsibilities: We acknowledge all grantee responsibilities, including timely delivery, open-source requirements, proactive updates, and clear communication in this thread.

  • Payment Address (Gnosis Chain): 0x640084a560B2a051d7D20933061D3cA3e8860B41

  • Points of contact: Confirmed. We’ll reach out to @Sov for process/payments and @mfw78 for technical review whenever needed.

We’re fully aligned with the approved proposal and ready to begin building next week.

Looking forward to collaborating closely and delivering high-quality work.

Thanks again for the trust.
CoBuilders Team :glowing_star: :cow_face:

1 Like

Milestone 1 completed – Otterscan Integration

Hey team, we’re happy to share that Milestone 1 is now complete, in line with the approved proposal and success criteria.

Milestone 1 deliverables

Otterscan integration

  • Seamless Otterscan integration into the existing Docker Compose setup (fork and non-interactive modes)

  • Production-ready Anvil configuration with optimized settings

  • Service networking and dependencies fully configured

  • All Otterscan features working as expected:

    • transaction traces

    • gas profiling

    • contract viewing

Contract verification setup

  • Otterscan configured to support contract verification

  • Flexible verification mode:

    • local Sourcify service or

    • default Sourcify endpoints (via SOURCIFY_MODE env var)

  • Verification working with both approaches

  • Configuration options documented

Local endpoints

PR with full implementation:
:backhand_index_pointing_right: https://github.com/cowprotocol/services/pull/4000

This satisfies the Milestone 1 success criteria: Otterscan is fully functional with all debugging features available, and contract verification is working.

Tagging @Sov and @mfw78 for review.

No blockers so far. Feedback is very welcome!

Thanks,
CoBuilders Team

Weekly progress update

Hey team, sharing a progress update for this week.

We’ve continued advancing the integration work and opened two PRs covering the next set of frontend deliverables.

PR:

:backhand_index_pointing_right: [M2] Integrate block explorer URL override for Otterscan by augustocollerone · Pull Request #4012 · cowprotocol/services · GitHub

Frontend

  • Added support for linking from CoW Swap to the local Otterscan instance

  • Updated explorer URL handling and environment-based configuration

  • Ensured smooth one-click navigation from frontend views to the local block explorer

PR:

:backhand_index_pointing_right: [M2] feat(common-utils): add REACT_APP_BLOCK_EXPLORER_URL environment variable override by augustocollerone · Pull Request #6774 · cowprotocol/cowswap · GitHub

Overall, this week’s work builds directly on the Otterscan setup delivered in Milestone 1 and advances the frontend integration required for Milestone 2.

No blockers at the moment.

As always, feedback is very welcome!

Thanks,

CoBuilders Team

1 Like

Thanks for the update and the follow up here. Keep us posted and let us know if anything we can do from this end to help as you move forward.

1 Like