Round up.
Auto-invest.
Buff rounds up every onchain transaction and auto-invests the spare change into crypto assets. A drop-in SDK for any platform — works for human users and AI agents alike.
Every fee
builds a portfolio
Four steps. Zero friction. Every transaction fee becomes an investment in crypto assets.
Human or agent transacts
A user swaps tokens, an AI agent calls an API, or a bot sends a payment — any onchain action. Buff hooks into the transaction lifecycle silently.
Zero UX frictionFee gets rounded up
The gas fee is rounded up to the nearest dollar (or configurable threshold). The difference is captured automatically.
Avg. $0.47 per txSpare change gets invested
The round-up difference is auto-invested into crypto assets — ETH, BTC, SOL, or a custom mix. Portfolio grows with every tx.
Auto-diversifiedPortfolio compounds
Users build a diversified crypto portfolio passively. Fully withdrawable, fully transparent, fully onchain. Every tx counts.
100% non-custodialBuilt on
Solana.
Live on Solana today. More chains coming soon.
Built for
AI agents
Headless, programmatic, zero-friction. Let your agents round up and invest autonomously.
Headless SDK
No popups, no browser wallets. Just pass a keypair and go. Built for server-side and autonomous agents.
Buff.init({ agentKeypair })x402 Middleware
Round up API payments automatically. Every HTTP 402 payment your agent makes can generate spare change for investing.
middleware: "x402-roundup"Agent Wallets
Programmatic, deterministic, and exportable. Derive wallets from agent IDs with no browser or user interaction required.
wallet: "deterministic"Fetch this file from any agent to integrate Buff
Five lines.
That's it.
Buff is a lightweight TypeScript SDK that wraps any transaction provider. It rounds up the fee, invests the difference, and builds your users a portfolio — all behind the scenes.
Framework agnostic
Works with React, Vue, Svelte, or vanilla JS. No opinions, no lock-in.
Configurable thresholds
Round to nearest dollar, $5, or let users set their own ceiling.
Solana native
Built for Solana. Lightning fast, sub-cent fees. More chains coming soon.
Revenue sharing
Earn a cut of every round-up your platform generates. Aligned incentives.
npm install @buff/sdkInvesting in
every field
Trusted by leading protocols
Start investing
spare change
Help your users build crypto portfolios from every transaction. Integrate Buff in minutes, not months.
Free to integrate — Revenue share on round-ups