Context
Developing Soroban contracts requires a manual compile -> deploy -> test loop that takes 30+ seconds per iteration, severely hampering productivity.
Current Limitation/Problem
No hot-reload for contract development. Each code change requires cargo build, deploy WASM to testnet, and invoke contract tests.
Expected Outcome
Watch mode: filesystem watcher automatically re-compiles contracts on source change, deploys to local Soroban standalone, and runs contract integration tests. Iteration time <3s.
Acceptance Criteria
Technical Scope
- scripts/contract-watch.sh - watch mode orchestrator
- scripts/contract-build.sh - incremental build with dependency graph
- contracts/Makefile - make watch target with hot-reload flag
- .github/workflows/contracts.yml - CI uses same build script
- docs/CONTRACT_DEV.md - hot-reload workflow documentation
Context
Developing Soroban contracts requires a manual compile -> deploy -> test loop that takes 30+ seconds per iteration, severely hampering productivity.
Current Limitation/Problem
No hot-reload for contract development. Each code change requires cargo build, deploy WASM to testnet, and invoke contract tests.
Expected Outcome
Watch mode: filesystem watcher automatically re-compiles contracts on source change, deploys to local Soroban standalone, and runs contract integration tests. Iteration time <3s.
Acceptance Criteria
Technical Scope