Project Name & Description
Project Name: RPCDrift
Tagline: Catch the drift before it breaks your dapp.
Category: Developer Tooling & Infrastructure
Project Description
RPCDrift is an open-source developer toolkit that helps applications and infrastructure providers identify RPC compatibility issues before they affect production systems on Rootstock.
Wallets, decentralized applications, block explorers, indexers, analytics services, and other blockchain applications depend on predictable JSON-RPC behavior. Changes to transaction receipts, transaction formats, error handling, or other RPC responses can affect downstream integrations even when the application’s own code has not changed.
RPCDrift will provide a command-line interface (CLI), configurable RPC regression tests, compatibility reports, and a reusable GitHub Actions workflow. Developers will be able to execute the same tests against supported Rootstock environments and compare the results to identify unexpected behavior changes.
The initial test profile will investigate high-priority compatibility scenarios associated with the proposed Cardamom upgrade, particularly RPC transaction-receipt behavior, while establishing a reusable framework for future Rootstock releases.
RPCDrift will complement existing Rootstock node and integration testing infrastructure. Its focus will be downstream application-consumer testing, reusable compatibility checks, and CI workflows that individual development teams can integrate into their release process.
1. Team Background
Project Lead
-
Name: Carl
-
Role: Product direction, requirements, developer outreach, pilot coordination, documentation, and grant reporting.
-
GitHub: duongja (Mad G) · GitHub
-
Relevant experience: ENSCLI: A TypeScript command-line tool for resolving, inspecting and debugging Ethereum Name Service (ENS) names. It includes diagnostic commands, CCIP Read tracing, JSON output, and a declarative configuration workflow. This is especially relevant to RPCDrift’s proposed CLI and developer experience.
-
VeilSafe: A reference implementation exploring privacy-preserving multisig ownership using zero-knowledge proofs, Solidity and Noir. Its documented local workflow includes deployment, proof generation, and Safe transaction execution. This demonstrates exposure to smart-contract architecture and blockchain development.
-
COOLTOKEN: A public project exploring an ERC-20 token implementation using Rust and Arbitrum Stylus. This is relevant to EVM-compatible blockchain development, though the public repository alone does not establish production deployment or adoption.
-
Compound Finance documentation PR #109: A publicly visible pull request proposing
llms.txtand Markdown documentation mirrors for LLM and agent consumption. It is relevant to developer documentation and open-source collaboration. The pull request is marked open, so we should not describe it as a merged contribution.I’m limited to providing more links; i can share the links to the chat anytime upon request
Technical Lead
-
Name: Kitsune
-
Role: Software architecture, TypeScript development, Rootstock RPC integration, automated testing, and CI/CD implementation.
-
GitHub: 0xKitsune · GitHub
-
Relevant experience: Kitsune’s public GitHub work demonstrates experience with EVM developer tooling, smart-contract analysis, and testing workflows.
Solstat project is a Rust-based Solidity static analyzer designed to identify potential contract vulnerabilities, gas inefficiencies, and code-quality issues. It includes configurable analysis options and generates structured reports, providing relevant experience in building developer-facing analysis tools.
Foundry-Vyper project provides a template for compiling, deploying, and testing Vyper contracts through Foundry. It demonstrates work on reusable development workflows and automated smart-contract testing.
Kitsune has also published EVM-Gas-Optimizations, a collection of EVM gas-optimization techniques, and EVM-Book, a technical reference covering EVM internals, developer tooling, testing frameworks, and security resources.
This background is relevant to RPCDrift’s planned architecture, particularly the development of a modular CLI, configurable regression tests, reproducible test results, and developer-friendly reporting. Kitsune will lead the technical implementation, adapting these software engineering and EVM development skills to Rootstock’s JSON-RPC interfaces and downstream application compatibility requirements.
Additional Contributors
-
Name ; Zynnor
-
GitHub; zynorr (zynor) · GitHub
2. Total Grant Amount
Total grant requested: $8,500 USD equivalent.
The denomination, payment asset, and conversion terms will be confirmed with RootstockCollective before submission.
Milestone 1 request: $2,125, representing 25% of the proposed grant total.
The proposed allocation is:
| Milestone | Amount | Share |
|---|---|---|
| Milestone 1: Specification and initial prototype | $2,125 | 25% |
| Milestone 2: Expanded test suite and CI integration | $3,825 | 45% |
| Milestone 3: Pilot release and impact measurement | $2,550 | 30% |
| Total | $8,500 | 100% |
The initial on-chain proposal will request only the approved Milestone 1 tranche. Later funding will be requested through the required milestone-review process after the relevant deliverables have been completed and verified.
The final payment schedule will follow the Collective’s applicable terms, including any post-completion impact-review requirements.
Indicative budget breakdown
Milestone 1: $2,125
-
Existing-tool review and technical specification: $350
-
CLI foundation and RPC client: $1,050
-
Initial compatibility tests: $400
-
Test infrastructure: $125
-
Documentation and prototype demonstration: $200
Milestone 2: $3,825
-
Expanded regression test suite: $1,700
-
Baseline comparison and reporting: $850
-
GitHub Actions integration: $550
-
Integration testing and QA: $475
-
Documentation and examples: $250
Milestone 3: $2,550
-
External pilot support and testing: $750
-
Stable release and packaging hardening: $500
-
Documentation and maintenance guide: $350
-
Pilot feedback and issue resolution: $400
-
Impact metrics and final reporting: $350
-
Infrastructure and release support: $200
3. Milestone 1 Deliverables
Milestone 1: Technical Specification and Working CLI Prototype
Target duration: Weeks 1–3 after the approved project start.
The objective of Milestone 1 is to establish a clearly differentiated, usable prototype that can execute a first set of RPC compatibility checks against Rootstock environments.
Deliverable 1: Requirements and Existing-Tool Analysis
Review Rootstock’s published RPC documentation, the Cardamom proposal, and the existing Rootstock integration-test repository.
Define which scenarios are already covered by existing infrastructure and which downstream application compatibility checks merit a separate, reusable tool.
KPIs:
-
One published technical specification.
-
One documented competitive and duplication analysis.
-
At least five developer interviews targeted.
-
At least two prospective pilot users or integration commitments sought and documented.
-
A public issue tracker and initial development roadmap.
Deliverable 2: Initial RPCDrift CLI
Implement the initial TypeScript-based CLI, configuration handling, RPC client, and a starter collection of deterministic compatibility tests.
The first checks will focus on RPC connectivity, chain identification, block queries, transaction lookup, transaction receipt retrieval, and validation of response structures.
Tests for proposed Cardamom-specific behavior will be clearly marked as provisional until the applicable specifications and release behavior are confirmed.
KPIs:
-
At least 10 documented, reproducible automated test cases.
-
Successful execution against a documented Rootstock development or test environment.
-
Read-only compatibility checks demonstrated against a supported Rootstock mainnet endpoint.
-
A clear pass/fail output for every implemented check.
-
Installation instructions and sample configuration published in the repository.
Deliverable 3: Reproducible Prototype Demonstration
Demonstrate a developer running RPCDrift against a configured environment and receiving a structured compatibility report.
KPIs:
-
One recorded working demonstration.
-
One sample JSON or Markdown compatibility report.
-
One documented procedure for reproducing the results.
-
Basic automated tests for the CLI and test runner.
Milestone 1 acceptance criteria: A reviewer can access the source repository, install the prototype, execute the initial tests in a documented environment, and inspect the results.
4. Milestones 2 & 3
Milestone 2: Expanded Regression Suite and CI Integration
Target duration: Weeks 4–6.
The objective is to turn the CLI prototype into a reusable developer workflow that projects can adopt in their existing release pipelines.
Deliverables
-
Expand the RPC compatibility suite across the confirmed behavior categories.
-
Implement configurable expected-result checks and comparison against documented baselines.
-
Produce human-readable and machine-readable reports.
-
Provide a reusable GitHub Actions workflow.
-
Publish example integrations and developer documentation.
The tests will investigate relevant RPC behavior, including transaction and receipt responses, supported transaction formats, gas estimation, error handling, and other upgrade-related behaviors where the finalized specification makes them applicable.
KPIs:
-
At least 25 documented automated test cases.
-
Coverage of at least five defined RPC behavior categories.
-
A working GitHub Actions example.
-
Reproducible results across at least two documented environment configurations, where supported.
-
Clear reporting of failed checks and unexpected response differences.
-
Published setup, configuration, and troubleshooting documentation.
Acceptance criteria: An independent developer can configure RPCDrift, run the compatibility checks, and obtain a report locally or through a documented CI workflow.
Milestone 3: Pilot Adoption, Stable Release and Impact Review
Target duration: Weeks 7–9, followed by the required post-completion impact-review period.
Deliverables
-
Publish a versioned release of RPCDrift.
-
Complete pilot integrations with downstream Rootstock developers.
-
Resolve critical issues found during testing.
-
Publish comprehensive documentation, contribution guidance, and a maintenance plan.
-
Produce a report containing verifiable adoption and quality metrics.
KPIs:
-
At least three external pilot integrations targeted.
-
At least 50 recorded CI test runs across participating pilots targeted.
-
At least one public example repository demonstrating integration.
-
A documented account of compatibility issues found and resolved.
-
Public release notes, contribution guidance, and issue tracker.
-
A post-completion impact report covering continued use, repeat test execution, developer feedback, and remaining limitations.
All targets represent proposed objectives, not current usage or achieved results. Final targets will be adjusted to reflect validated demand, pilot access, and the technical capabilities confirmed during Milestone 1.
The impact review will focus on the project’s usefulness to Rootstock developers rather than manufacturing transactions or reporting unrelated on-chain activity.
5. Timeline
Proposed development period: Nine weeks after project commencement.
| Period | Workstream | Expected output |
|---|---|---|
| Weeks 1–3 | Requirements, repository review, CLI prototype | Technical specification and at least 10 tests |
| Weeks 4–6 | Expanded regression suite and CI | At least 25 tests and automated reports |
| Weeks 7–9 | Pilot integrations and stable release | Public release, pilot results and documentation |
| Post-completion | Continued-use measurement | Final impact report |
The schedule will begin only after formal grant approval and project commencement.
Cardamom’s proposal and release schedule may change. RPCDrift will therefore use confirmed specifications for its initial upgrade-related test profile and retain a reusable architecture that can support subsequent Rootstock releases.
6. Technical Specs
Technology Stack
-
Language: TypeScript.
-
Runtime: A supported Node.js LTS release.
-
RPC client: A suitable EVM client library, subject to compatibility testing.
-
Test runner: A TypeScript-compatible automated test framework.
-
CI/CD: GitHub Actions.
-
Reporting: JSON and Markdown reports.
-
Source management: Public Git repository with versioned releases.
The final package and repository names will be confirmed before publication.
Architecture
1. Configuration Layer
Reads configured Rootstock RPC endpoints, validates network settings, and loads the selected test profile.
2. RPC Execution Layer
Sends JSON-RPC requests to the configured node and records normalized outcomes, errors, response times, and relevant response fields.
3. Compatibility Test Engine
Executes modular test cases against expected behavior. Stable checks and provisional upgrade-specific checks will remain distinguishable.
4. Baseline Comparison Engine
Compares results from configured environments or saved reference outputs. Reports will distinguish potential incompatibilities from expected differences caused by network state or timing.
5. Reporting and CI Layer
Produces structured reports and a non-zero CI exit status for configured failures. Developers can use the results to investigate changes before merging or releasing their applications.
Initial Test Scenarios
The initial suite will investigate:
-
RPC connectivity and chain identification.
-
Block and transaction lookup.
-
Transaction receipt shape and relevant field semantics.
-
Gas-estimation responses and error handling.
-
Compatibility with supported transaction formats.
-
Differences between documented baselines and configured environments.
-
Additional Cardamom-related behaviors where the final specifications and environment support them.
Cardamom-specific cases will be based on confirmed release specifications rather than assumptions that all proposed RSKIPs will be adopted.
Security and Operational Boundaries
RPCDrift will default to read-only operations against mainnet.
Any tests requiring state changes or transaction submission will use controlled test environments and test-only accounts. The tool will not collect or store users’ private keys, custody funds, or modify live contracts.
RPCDrift will report the results of its defined compatibility tests; it will not claim to prove full consensus correctness, guarantee application security, or replace an independent security audit.
Existing-Tool Differentiation
Rootstock maintains an open-source integration-test repository that covers core network and bridge testing.
RPCDrift will not replicate that suite. Its proposed differentiation is reusable downstream consumer contract testing: configurable checks for the RPC behavior relied on by independent applications, saved-result comparison, actionable reports, and a CI workflow that teams can integrate into their repositories.
Milestone 1 will verify this distinction and narrow the implementation if existing tools already cover some of the proposed features.
7. Value Proposition for Rootstock
RPCDrift aims to make Rootstock application integrations more reliable by providing developers with a consistent way to test their RPC dependencies before and after network changes.
Developer Reliability
Repeatable compatibility tests can help detect integration failures earlier in the release cycle and reduce the need for each project to build its own isolated testing scripts.
Network Upgrade Readiness
A reusable test profile gives downstream developers a common workflow for preparing for upgrades and validating their applications against documented Rootstock behavior.
Open-Source Ecosystem Value
The CLI, test cases, CI workflows, and documentation will be openly available for reuse and contributions by independent developers.
Measurable Adoption
The project will track:
-
Number of independent repositories integrating RPCDrift.
-
Number of successful and failed automated test runs.
-
Repeat use across releases.
-
Documented compatibility issues found.
-
Developer feedback and contributions.
-
Time required to execute the compatibility checks compared with the pilot baseline.
For this developer-tooling project, verifiable tool usage and integration metrics are the primary adoption measures. We will not claim direct increases in TVL, transaction volume, or active wallets unless evidence demonstrates that RPCDrift contributes to those outcomes.
Long-Term Sustainability
RPCDrift will support community contributions, versioned test profiles, and maintenance updates based on confirmed Rootstock changes. Its modular architecture will make it possible to add new compatibility cases without rebuilding the entire tool for every network upgrade.