Core Concept

Plan Tiers

Each plan rounds to a different increment. Higher round-up = more invested per transaction = lower Buff fee.

The Four Plans

PlanRounds toBuff FeeBest for
Seed$0.051.00%Micro-investing, barely noticeable
Sprout (default)$0.100.75%Balanced, good starting point
Tree$0.500.50%Active investors
Forest$1.000.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

RuleBehavior
Exact match$2.00 with $0.50 increment → skip, no charge
CeilingMax round-up is $1.00 per transaction
Fee calculationAll fee logic is server-side — treasury address never exposed

Setting a Plan

plans.ts
typescript
1// Set during construction
2const buff = new Buff({
3 plan: "tree", // $0.50 round-up
4 // ...
5})
6
7// Or change at runtime
8buff.setPlan("forest") // switch to $1.00
9buff.setInvestAsset("ETH") // change target asset
10
11// Get all available plans from the API
12const 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.