From beb205112b29ee6ba42e4867c706a436b60e09bb Mon Sep 17 00:00:00 2001 From: Jo D Date: Thu, 4 Jun 2026 09:53:04 -0400 Subject: [PATCH] docs: add rent costs table to README 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. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 89bcf36..025e2c5 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,20 @@ This repository contains: - A local demo webapp in `webapp/` - CI pipeline with build, test, lint, and CU benchmarking +## Rent Costs + +Rent is recoverable: closing a delegation, plan, or subscription authority returns its rent to the original payer. + +| Flow | Account(s) created | Rent for new account(s) (SOL) | +| --------------------------- | ---------------------- | ----------------------------- | +| Enable authority for a mint | SubscriptionAuthority | 0.00162864 | +| Merchant creates a plan | Plan | 0.00430824 | +| Subscribe to a plan | SubscriptionDelegation | 0.00196968 | +| Grant fixed delegation | FixedDelegation | 0.00219240 | +| Grant recurring delegation | RecurringDelegation | 0.00235944 | + +> Subscribe and delegation flows require an existing `SubscriptionAuthority`. If starting from scratch, add **0.00162864 SOL** for the "Enable authority" step. + ## Program ID ```