> For the complete documentation index, see [llms.txt](https://docs.aftermath.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aftermath.finance/getting-started/navigating-aftermath/referrals.md).

# Referrals

Because sharing is caring

Referrals let you invite others to trade, stake, or provide liquidity on Aftermath. A referral has two parties. The referrer is the current Aftermath user, who generates a referral link and shares it. The referee follows the referral link to Aftermath and begins using the dApp.

To open referrals, choose **Rewards** in the menu bar, then **Referrals**, or go to [aftermath.finance/referrals](https://aftermath.finance/referrals). The Share & Earn Rewards banner at the top of the page shows how many users you have referred and the ref code linked to your account. To manage your code, authorize once with a signed message.

Click **Create Ref Code** and choose a unique code. Then click **Share Ref Code** to copy your code, copy your referral link with **Copy Link**, or share it with **Share on X**. Referral links use the format `https://aftermath.finance?ref=<code>`. The table on the page lists the users you have referred and when they linked your code.

When a referee opens your link, Aftermath opens the referrals page with the **Link Ref Code** dialog filled in with your code. Linking uses a signed message, not a transaction. A referee who was given the code directly can enter it under **Were you referred?** and click **Link Ref Code**.

A wallet can only link one referrer, and you cannot link your own code. Once linked, the referral applies to that wallet's activity on any device.

Referral codes are tied to the referrer's Sui address and are valid across all products on Aftermath.

For referral commissions and discounts, see [Referrals](https://docs.aftermath.finance/perpetuals/referrals.md).
