> ## 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.

# Start Here

Megapot is a fully on-chain daily \$1 jackpot on Base. This section is for everyone who wants to refer, embed, build on, or read data from it. Pick the lane that fits and go.

> [!WARNING]
>
> **The Megapot app is winding down.** New account creation, invite links, share actions, `/gift`, campaigns, and Megapot Gold are no longer available in the app. Existing users can still sign in. Protocol referral fees and on-chain purchases continue. The app shuts down on December 1, 2026. [Read Announcement](https://megapot.io/blog/thank-you-for-playing).

## Set up once

**1. Sign in.** Existing users can still sign in at [megapot.io](https://megapot.io) with email or a wallet. New account creation is closed.

**2. Referral fees.** Protocol referral fees continue on-chain for existing referral relationships (8% of ticket fees + 8% of winnings). The app no longer issues referral links or share images, and it does not accept new signups. Claim existing fees from your winnings page.

**3. Do you need an API key?** Only if you plan to call the [Data API](https://docs.megapot.io/developers/pull-data.md). Existing users can mint one at [megapot.io/dashboard](https://megapot.io/dashboard) under Profile → API keys.

| What you want to do | What you need |
| - | - |
| Claim existing referral fees | An existing account |
| Buy tickets for another wallet (protocol) | A referrer **wallet** address, no API key |
| Read the Data API | An API key |

> [!NOTE]
>
> **Building with an AI assistant?** Point it at [llms.megapot.io](https://llms.megapot.io). It loads an entry-point skill and routes itself to the right addresses, ABIs, and patterns.

## Which describes you?

Pick your **primary** goal. The lanes link sideways where they meet, so you won't get stuck if your project spans two of them.

* **Share a link & earn.** Protocol referral fees for existing referrals remain claimable. → [Share a link & earn](https://docs.megapot.io/developers/share-and-earn.md)
* **Buy tickets for another wallet (protocol).** Call the contracts and pay the USDC yourself. → [Buy tickets for another wallet (protocol)](https://docs.megapot.io/developers/gift-tickets.md)
* **Add the jackpot to your site.** Embed buy, claim, and history flows into your existing app. → [Add the jackpot to your site](https://docs.megapot.io/developers/add-to-your-site.md)
* **Build something custom.** Call the contracts directly for bespoke purchase, subscription, or compounding flows. → [Build on the protocol](https://docs.megapot.io/developers/build)
* **Pull data.** Read round history, wallet stats, and per-round wins over a REST API. → [Pull data](https://docs.megapot.io/developers/pull-data.md)

> [!NOTE]
>
> White-label funding/partner pages were team-provisioned. 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).

***

## Built on Megapot

A sample of what builders have shipped on the protocol. Shipped something? [Get listed](https://docs.megapot.io/developers/get-listed.md) on megapot.io.

* **[Blink.cash](https://blink.cash)** - third-party UI
* **[Lotpot](https://lotpot.fun)** - third-party UI with a fun twist
* **[Tator](https://tator.quickintel.io/)** - buy Megapot tickets by just asking
* **[Potwars](https://potwars.fun)** - completely custom, ERC-20 based, purchases tickets from fees
* **[BasedMining](https://basedmining.xyz)** - BTC mining lottery pool that rewards you tickets with every purchase
* **[PennyPot](https://pennypot.xyz/)** - fractional tickets, play for just \$0.01
* **[Balkan Lotto](https://www.balkanlotto.com/)** - third-party UI made for the Balkans
* **Peoples Pot** - third-party UI with a clean dark-mode feel
* **[Megapot.Build](https://megapot.build)** - Instant marketing site or ticket sales app deployed to Vercel free
  * **[Megapot Templates](https://github.com/BuiltByGoat/megapot-templates)** - Fully built HTML templates. Edit, publish & earn

> [!NOTE]
>
> Megapot has been audited 3 times by top security firms and has run [\$200M+ in drawings since July 2024](https://stats.megapot.io/).


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