What is Fraction?
Fraction is a Solana program that automatically splits all incoming SPL tokens (e.g., USDC, SOL, or any SPL token) among recipients according to pre-configured percentage shares. Built for autonomous agents and applications, Fraction enables seamless revenue distribution without manual intervention.
Program Information
View Fraction Program IDL
Complete Interface Description Language for direct program integration
How It Works
1. Create Configuration
You create afraction_config
that defines:
- Recipients: Who receives funds and their percentage shares
- Authority: Who can update the configuration
- Agent: Automated bot that triggers distributions
2. Receive Funds
Anyone can send tokens directly to your fraction configuration address. All tokens accumulate in a treasury account until distribution.3. Automatic Distribution
An authorized agent (cranker) monitors the treasury and initiatesclaim
transactions that:
- Distribute all accumulated funds according to configured percentages
- Transfer the agent’s 0.05% protocol fee
- Complete all transfers atomically in a single transaction
- Empty the treasury completely
Key Features
Atomic Distribution
All transfers happen in a single transaction, ensuring consistency and preventing partial distributions.
Zero Manual Steps
Once configured, distributions happen automatically when triggered by authorized agents.
Multi-Token Support
Works with any SPL token - USDC, SOL, project tokens, or custom mints.
Flexible allocations
Support upto 5 participants with customizable percentage allocations.
Distribution Mechanics
When an authorized agent executes distribution:- Protocol Fee: Agent receives 0.05% as incentive
- Participant Split: Remaining funds distributed per configured percentages
- Atomic Execution: All transfers occur in single transaction
- Complete Drainage: Treasury is emptied entirely
- No Manual Steps: Recipients automatically receive their shares
Real-World Use Cases
Consumer Applications
Consumer Applications
Revenue Splitting: Automatically split subscription revenue, sales proceeds, or service fees among team members, investors, and operational wallets.Payroll Automation: Set up automated salary distributions for employees with different percentage allocations.
Autonomous Agents
Autonomous Agents
Agent Revenue Share: Instantly split revenue generated by AI agents running tasks, with automatic distribution to human operators and infrastructure costs.Service Commissions: Distribute commissions from agent-facilitated transactions to multiple stakeholders.
Token Launchpads
Token Launchpads
Sale Proceeds: Automatically allocate token sale proceeds between team, marketing, development, and treasury wallets.Treasury Management: Split ongoing protocol revenue among different operational buckets.
DeFi Protocols
DeFi Protocols
Fee Distribution: Split protocol fees among liquidity providers, governance token holders, and development funds.Yield Farming: Distribute farming rewards across multiple participant categories.
Security & Audits
All contracts are open-source with reproducible builds. Code is formally verified and independently audited by Sec3.
- Open Source: All code is publicly available and auditable
- Sec3 Audited: Independently audited by leading Solana security firm
- Reproducible Builds: Anyone can verify the deployed bytecode matches the source
- Battle Tested: Used in production by multiple applications
Getting Started
Ready to integrate Fraction into your application? Check out our SDK documentation to start building with automated revenue distribution.SDK Documentation
Learn how to integrate Fraction SDK into your TypeScript application