Referral Program
The Referral Program is an open-source program used by Jupiter Programs (or any other programs) to enable developers to earn fees.
Open Source Repository: To understand and make use of the referral program better.
Jupiter API Integrators
The Jupiter Programs use the Referral Program to allow developers to earn fees when integrating with Jupiter. Below are some resources to help you quickly get started. There are a different ways to setup such as via the Jupiter Referral Dashboard or using the provided scripts.
- Jupiter Referral Dashboard: To view and manage your referral accounts used with Jupiter APIs.
- Add Fees to Ultra API: To add fees to your Ultra API integration.
- Add Fees to Swap and Trigger API: To add fees to your Swap and Trigger API integration.
- Add Fees to Jupiter Plugin: To add fees to your Plugin integration.
Other Program Integrators
Project Usage
If you have a project/product that runs a program on the Solana blockchain, you can integrate the Referral Program to allow/share revenue with the integrators of your program.
Similar to how Jupiter Programs uses the Referral Program to help developers earn fees and/or share the revenue with Jupiter. For example, Jupiter Ultra uses the Jupiter Swap program which relies on the Referral Program.
- Create a
Projectby callinginitialize_projectwith your chosenbasekey and a projectname(basekey refers to a key identifier of your project). - Set a
default_share_bpsto share the fees with your referrers (or integrators). - An example of a
Projectaccount: Jupiter Ultra Project
Referrer Usage
If you are a referrer such as a developer or integrator of a project that runs a program on the Solana blockchain, you can create the necessary accounts via the Referral Program to earn fees.
- The program must be integrated with the Referral Program.
- Create a
Referralaccount by callinginitialize_referral_accountwith the correctProjectaccount, theReferralaccount, and your ownPartneraccount (Partneraccount is the admin of this referral account). - Create the necessary
Referraltoken accounts for theReferralaccount to receive fees in.