Core Concept
Plan Tiers
Each plan rounds to a different increment. Higher round-up = more invested per transaction = lower Buff fee.
The Four Plans
| Plan | Rounds to | Buff Fee | Best for |
|---|---|---|---|
| Seed | $0.05 | 1.00% | Micro-investing, barely noticeable |
| Sprout (default) | $0.10 | 0.75% | Balanced, good starting point |
| Tree | $0.50 | 0.50% | Active investors |
| Forest | $1.00 | 0.25% | Maximum investment per tx |
Interactive Calculator
Enter a transaction value to see how each plan rounds it up differently.
$
Seed
$0.02
$27.63 → $27.65
Invested$0.0198
Buff fee$0.0002
Sprout
$0.07
$27.63 → $27.70
Invested$0.0695
Buff fee$0.0005
Tree
$0.37
$27.63 → $28.00
Invested$0.3681
Buff fee$0.0019
Forest
$0.37
$27.63 → $28.00
Invested$0.3691
Buff fee$0.0009
Rules
| Rule | Behavior |
|---|---|
| Exact match | $2.00 with $0.50 increment → skip, no charge |
| Ceiling | Max round-up is $1.00 per transaction |
| Fee calculation | All fee logic is server-side — treasury address never exposed |
Setting a Plan
plans.ts
typescript
1// Set during construction2const buff = new Buff({3 plan: "tree", // $0.50 round-up4 // ...5})67// Or change at runtime8buff.setPlan("forest") // switch to $1.009buff.setInvestAsset("ETH") // change target asset1011// Get all available plans from the API12const plans = await buff.getPlans()13// [{ tier: "seed", roundToUsd: 0.05, feePercent: 1.00 }, ...]Note
Users should choose their plan based on how aggressively they want to invest. Seed is barely noticeable ($0.02-$0.05 per tx), Forest can add up to $0.99 per transaction. Plan details are available via the getPlans() API.