For the complete documentation index, see llms.txt. This page is also available as Markdown.

Start Here

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

Set up once

Three steps. Most people only need the first two.

1. Create your account. Sign in at megapot.io with email, or an existing wallet. If you don't have a wallet, one is created for you automatically. This is the prerequisite for everything below.

2. Get your referral link. Generated automatically when you sign up. Your link is https://megapot.io/r/{CODE}. Find and copy it at megapot.io/invite. Sharing it earns you 8% of ticket fees + 8% of winnings from people you refer.

3. Do you need an API key? Only if you plan to call the Data API (and optionally for a higher-tier starter-kit deploy). Mint one at megapot.io/dashboard under Profile → API keys.

What you want to do
What you need

Share a link and earn

Your account (and its referral code)

Gift tickets, embed, or build

A referrer wallet address, no API key

Read the Data API

An API key

Building with an AI assistant? Point it at 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. Drop your referral link anywhere and earn a cut, no code required. → Share a link & earn

  • Gift tickets & run giveaways. Buy tickets for someone else's wallet and pay the USDC yourself. → Gift tickets & run giveaways

  • Add the jackpot to your site. Embed buy, claim, and history flows into your existing app. → Add the jackpot to your site

  • Build something custom. Call the contracts directly for bespoke purchase, subscription, or compounding flows. → Build on the protocol

  • Pull data. Read round history, wallet stats, and per-round wins over a REST API. → Pull data


Built on Megapot

A sample of what builders have shipped on the protocol:

  • Blink.cash - gives new users 3 free tickets just to try

  • Lotpot - third-party UI with a fun twist

  • Tator - buy Megapot tickets by just asking

  • Potwars - completely custom, ERC-20 based, purchases tickets from fees

  • BasedMining - BTC mining lottery pool that rewards you tickets with every purchase

  • PennyPot - fractional tickets, play for just $0.01

  • Balkan Lotto - third-party UI made for the Balkans

  • Peoples Pot - third-party UI with a clean dark-mode feel

  • Megapot.Build - Instant marketing site or ticket sales app deployed to Vercel free

Megapot has been audited 3 times by top security firms and has run $200M+ in drawings since July 2024.

Last updated