Affiliate Program Overview
Earn fees by integrating Turbine.cash private transfers
Affiliate Program
Section titled “Affiliate Program”Earn a share of protocol fees by integrating Turbine.cash into your application.
How It Works
Section titled “How It Works”When users make deposits or withdrawals through your integration, you receive a percentage of the protocol fees.
Benefits
Section titled “Benefits”| Benefit | Description |
|---|---|
| Passive Income | Earn from every transaction your users make |
| No Custody | Fees accumulate in your affiliate account |
| Transparent | On-chain tracking of all earnings |
| Instant Withdrawal | Withdraw anytime to any wallet |
Fee Structure
Section titled “Fee Structure”| Fee Type | Protocol Rate | Affiliate Share |
|---|---|---|
| Deposit | [PLACEHOLDER: FEE_DEPOSIT_PCT] | [PLACEHOLDER: AFFILIATE_FEE_PCT] |
| Withdraw | [PLACEHOLDER: FEE_WITHDRAW_PCT] | [PLACEHOLDER: AFFILIATE_FEE_PCT] |
| Swap | [PLACEHOLDER: FEE_SWAP_PCT] | [PLACEHOLDER: AFFILIATE_FEE_PCT] |
Your share is calculated as:
affiliateEarnings = protocolFee * (affiliateFeeShareBps / 10000)Getting Started
Section titled “Getting Started”- Register - Create an affiliate account with a unique code
- Integrate - Pass your affiliate code with transactions
- Earn - Accumulate fees from user activity
- Withdraw - Claim earnings anytime
Requirements
Section titled “Requirements”| Requirement | Details |
|---|---|
| Wallet | Any Solana wallet |
| SOL | Small amount for transactions |
| Unique Code | Choose a memorable affiliate code |
Tracking Earnings
Section titled “Tracking Earnings”You can track your affiliate earnings:
- On-chain: Query your Affiliate PDA account
- Dashboard: Use the Turbine.cash affiliate dashboard (coming soon)
// Get affiliate account dataconst [affiliatePda] = PublicKey.findProgramAddressSync( [Buffer.from('Affiliate'), affiliateCode], PROGRAM_ID);
const affiliateAccount = await program.account.affiliate.fetch(affiliatePda);console.log('Total earnings:', affiliateAccount.totalEarnings.toString());console.log('Pending withdraw:', affiliateAccount.pendingWithdraw.toString());Token Support
Section titled “Token Support”Affiliate earnings are tracked per token:
- Each token requires a separate token account
- Create token accounts as needed for new tokens
Next Steps
Section titled “Next Steps”- Integration Guide - Technical integration steps
- Fee Structure - Detailed fee information