Catch Soroban resource-cost regressions in pull requests.
Budget Gate simulates your contract's calls through the Soroban RPC (simulateTransaction), records CPU instructions, read and write bytes, and footprint entries as a baseline, and flags a pull request when a function costs more than it did or gets close to the network's per-transaction limits, which it reads live from the network.
It gates pull requests on cost measured for each function on a real network. It complements cost estimators, rent calculators and static analyzers rather than replacing them.
Demo: 75 seconds, with captions.
- soroban-budget-core: the Go CLI that measures and compares. Latest release: v0.2.3.
- soroban-budget-action: the GitHub Action that runs core on pull requests and keeps one report comment up to date. Latest release: v0.2.2.
- soroban-budget-dashboard: charts a contract's cost history over commits (live).
- docs: user documentation at budgetgate.github.io/docs.
Questions and ideas: Discussions. Report security issues privately through each repository's Security tab.
Early-stage. Not audited and not production-ready. Measuring changed contracts is verified on Stellar testnet; on mainnet, only a read-only call has been measured.