Skip to content

Referral Program#

Earn rewards by referring users to Marinade staking.

Overview#

The Marinade Referral Program rewards integrators and partners who bring new stakers to the protocol.

Feature Description
Program MR2LqxoSbw831bNy68utpu5n4YqBH3AzDmddkgk9LQv
Reward Type mSOL
Tracking On-chain referral codes

How It Works#

graph LR
    A[User Stakes via Referral] --> B[Referral Tracked On-Chain]
    B --> C[Rewards Accumulate]
    C --> D[Claim mSOL Rewards]
  1. Register - Get a referral partner account
  2. Integrate - Add referral code to staking transactions
  3. Earn - Receive rewards based on referred stake
  4. Claim - Withdraw accumulated mSOL rewards

Integration#

Transaction Router#

Add your referral ID to Transaction Router requests:

Bash
curl "https://tx-router.marinade.finance/v1/route?\
user=USER_WALLET&\
asset_in=sol&\
amount_in=1000000000&\
asset_out=msol&\
referral_id=YOUR_REFERRAL_ID"

TypeScript SDK#

TypeScript
import { Marinade, MarinadeConfig } from '@marinade.finance/marinade-ts-sdk';

const config = new MarinadeConfig({
  connection,
  publicKey: userWallet,
  referralCode: new PublicKey('YOUR_REFERRAL_ACCOUNT'),
});

const marinade = new Marinade(config);
const { transaction } = await marinade.deposit(amount);

Becoming a Partner#

To join the referral program:

  1. Apply - Contact [email protected]
  2. Setup - Receive your referral account
  3. Integrate - Add referral tracking to your app
  4. Earn - Start receiving rewards

Reward Structure#

Referral rewards are calculated based on:

  • Amount of SOL staked through your referral
  • Duration stake remains active
  • Current reward rates

Reward Rates

Specific reward rates vary and are set by governance. Contact the team for current rates.

Claiming Rewards#

Rewards accumulate in your referral account and can be claimed anytime:

TypeScript
// Check pending rewards
const rewards = await marinade.getReferralRewards(referralAccount);

// Claim rewards
const { transaction } = await marinade.claimReferralRewards(referralAccount);

Use Cases#

Integration Description
Wallets Integrate staking with referral tracking
DeFi Protocols Earn on user deposits
Aggregators Track stake from your platform
Content Creators Share referral links

FAQ#

How much can I earn?

Reward rates vary based on governance decisions. Contact [email protected] for current rates and terms.

Is there a minimum volume requirement?

No minimum, but the program is designed for integrators with meaningful staking volume.

How long do rewards take to accumulate?

Rewards accumulate in real-time as referred users stake. You can claim anytime.

Resources#

Next Steps#

Action Link
Integrate SDK TypeScript SDK
View contracts Contract Addresses
Use Transaction Router API Reference