> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tradeatlas.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Referral Guide

> How to create referral codes, share links, and claim affiliate rewards.

## How to become an affiliate

1. Connect your wallet.
2. Open the `/referrals` page.
3. Create a referral code.
4. Share your referral link.

Anyone can create a referral code. Referral attribution is on-chain and tied to qualifying vault deposits.

## How referral links work

Use this format when sharing your link:

`https://tradeatlas.xyz/?ref=YOURCODE`

When a user opens your link, Atlas stores that referral code locally. Referral attribution is applied on the user's first qualifying deposit for each vault.

### Qualifying deposit threshold

A referral is only bound when the user's deposit is at least **\$100 USDC**.

* Deposits below \$100 still execute successfully.
* Deposits below \$100 do not create referral attribution.

## How rewards are calculated

Referral rewards are sourced from protocol fees, not from user principal.

Current split:

* 75% to stakers
* 15% to treasury
* 10% to referrers

Within the referrer bucket, rewards are allocated proportionally based on referred deposit volume for each vault.

## When rewards are claimable

Each reward accrual enters a **7-day cooldown** before it can be claimed.

On `/referrals`, the Rewards section shows:

* accrued amount
* cooldown remaining
* cooldown end timestamp

## How to claim

1. Go to `/referrals`.
2. Open the Rewards section.
3. Click **Claim**.
4. Confirm the transaction in your wallet.

Claim history appears on the same page after successful claims.

## Important notes

* Rewards come from protocol fees, not from user deposits.
* Referred users get the same vault strategy exposure and performance as non-referred users.
* Attribution is first-touch and immutable per `(vault, trader)` pair once bound.
* Self-referral is blocked on-chain.
