docs: add rent costs table to README#157
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Compute Unit Report
Generated: 2026-06-04 |
Greptile SummaryThis PR adds a
Confidence Score: 5/5Documentation-only change; all rent figures and account names have been independently verified against the current Rust struct sizes. The change adds only a Markdown table and a prose note to the README. Every SOL value in the table was cross-checked against the compile-time-asserted account lengths in the Rust state files and the standard Solana rent formula — all five figures are exact. The account names match the actual struct names in the codebase, and the prerequisite note is correctly scoped to the three flows that require a SubscriptionAuthority. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
SA["Enable authority\nSubscriptionAuthority\n0.00162864 SOL"]
Plan["Merchant creates a plan\nPlan\n0.00430824 SOL"]
Sub["Subscribe to a plan\nSubscriptionDelegation\n0.00196968 SOL"]
Fixed["Grant fixed delegation\nFixedDelegation\n0.00219240 SOL"]
Recurring["Grant recurring delegation\nRecurringDelegation\n0.00235944 SOL"]
SA -->|prerequisite| Sub
SA -->|prerequisite| Fixed
SA -->|prerequisite| Recurring
Plan -->|prerequisite| Sub
Reviews (3): Last reviewed commit: "docs: add rent costs table to README" | Re-trigger Greptile |
443ac18 to
f68d873
Compare
Document per-flow account-creation rent (SOL), listing only the account each flow actually allocates, plus a note that delegation/subscribe flows require an existing SubscriptionAuthority.
f68d873 to
beb2051
Compare
Summary
## Rent Costssection to the README documenting approximate per-flow account-creation rent (in SOL), so integrators can estimate setup costs.Docs-only change.