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

# Share a link & earn

> [!WARNING]
>
> **The Megapot app no longer issues referral links, share images, or new signups.** Protocol referral fees for existing referrals continue on-chain and remain claimable. The app shuts down on December 1, 2026. [Read Announcement](https://megapot.io/blog/thank-you-for-playing).

When people you already referred buy tickets, you earn a cut of the fees, plus a cut of their winnings. That on-chain referral relationship does not depend on generating a new invite link in the app.

## Claim existing fees

1. **Sign in** at [megapot.io](https://megapot.io) with an existing account.
2. **Claim.** Fees of **8% of ticket fees** and **8% of winnings** from people you already referred accrue on-chain. Claim them from your winnings page until the app shuts down on December 1, 2026.

Want the exact earnings math, including how second-level referrals work? See [Referral economics](https://docs.megapot.io/learn/referral-economics-v2.md).

***

## Build on the protocol instead

Partners who buy tickets on-chain can still pass a referrer wallet in `_referrers`. See [Referrals & attribution](https://docs.megapot.io/developers/build/referrals-and-attribution.md).

### Build it with your AI agent

Paste any of these into your AI assistant (Claude, ChatGPT, Cursor, and others). Each one points the agent at [llms.megapot.io](https://llms.megapot.io), where it reads the live Megapot recipes and does the work. Swap in your own wallet where noted.

**A site that sells quick-pick tickets:**

```
Using llms.megapot.io, how can I build a website that sells quick-pick
Megapot tickets, using my wallet address (from megapot.io/dashboard) as the
referrer?
```

**Buy tickets for another wallet:**

```
Using llms.megapot.io, how can I buy Megapot tickets for another wallet,
paying for them from my own wallet and earning referral fees?
```

**A live jackpot dashboard or leaderboard:**

```
Using llms.megapot.io and the Megapot Data API, how can I build a leaderboard
that shows recent winners and the current jackpot size?
```

**Understand the protocol contracts:**

```
Using llms.megapot.io, tell me about the different Megapot protocol contracts
and their uses for developers. Include the mainnet address and a link to the
contract code on Basescan for each.
```

> [!NOTE]
>
> Once your agent has something running, keep prompting it for changes: your colors, your copy, your logo, extra sections. It already has the Megapot recipes loaded.

***

## For causes / 100% to you

White-label **funding pages** at `megapot.io/fund/{slug}` sent fees straight to a partner wallet. App checkout on those pages is closed. Existing organization referral fees stay claimable on-chain. See [Funding pages](https://docs.megapot.io/learn/funding-pages.md).

***

**Building this into your own app?** See [Referrals & attribution](https://docs.megapot.io/developers/build/referrals-and-attribution.md) for the on-chain referrer model.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.