Skip to content
@BudgetGate

Budget Gate

CI-native resource-cost regression tracking for Soroban smart contracts

Budget Gate logo: a resource-cost gauge behind a gate bar

Budget Gate

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.

Repositories

Community

Questions and ideas: Discussions. Report security issues privately through each repository's Security tab.

Status

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.

Popular repositories Loading

  1. soroban-budget-core soroban-budget-core Public

    CLI that measures Soroban contract resource cost with simulateTransaction and flags regressions against a baseline. Early-stage, unaudited.

    Go 1

  2. soroban-budget-action soroban-budget-action Public

    GitHub Action that runs soroban-budget-core on pull requests and comments resource-cost changes. Early-stage, unaudited.

    TypeScript 1

  3. soroban-budget-dashboard soroban-budget-dashboard Public

    Charts Soroban contract resource-cost history written by the Budget Gate Action. Early-stage, unaudited.

    TypeScript

  4. .github .github Public

  5. docs docs Public

    Documentation for Budget Gate: Soroban resource-cost regression checks in CI.

  6. budgetgate-action-test budgetgate-action-test Public

    End-to-end test repository for soroban-budget-action (Budget Gate). Not a product.

    Shell

Repositories

Showing 6 of 6 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…