How to get your megapot.build site online

Get your site online

From zero to a live site — free, in about 10–15 minutes. No coding.

Pick the path that matches what you built in the builder:

FastestMarketing page → drag & dropStatic page. Drop it on vercel.com/drop. Jump ↓
Any site → GitHub + VercelEditable, version-controlled. Jump ↓
App site → 1-click deployThe on-chain app. Jump ↓

Step 1 · Get your Megapot details

Create a free account at megapot.io (email or wallet). Then grab the one or two values your site needs:

  1. Marketing page needs only your invite link — open megapot.io/invite and copy it. (The builder already baked it into your page if you pasted it there.)
  2. App site needs your wallet address — open megapot.io/dashboard and copy the address shown. That's where your fees land.
megapot.io/dashboard Your wallet 0x3aD9…1674 Copy ← copy this
Dashboard → copy your wallet address (illustrative).

Step 2 (fastest) · Marketing page → vercel.com/drop

If you built a marketing page, this is the quickest way live — no GitHub, no settings.

  1. Unzip the file the builder downloaded.
  2. Open vercel.com/drop and sign in (free).
  3. Drag the contents of the unzipped folder (index.html, README-DEPLOY.md, site.json) onto the page.
vercel.com/drop Drop your folder contents here index.html · README-DEPLOY.md · site.json
vercel.com/drop deploys static files instantly (illustrative).
That's it. Your page goes live on a your-name.vercel.app URL in seconds. (App sites can't use drop — they need a build; use Step 3 or the 1-click button.)

Step 3 · GitHub + Vercel (editable, any site type)

3a · Create a free GitHub account & repo

Sign up at github.com/signup and verify your email. Then make a repository for your site.

github.com/new Create a new repository Repository name lucky-rocket Create
GitHub → New repository → name it your site's address (illustrative).

3b · Upload your files

On the empty repo, click uploading an existing file, drag in the contents of your unzipped folder, then Commit changes.

3c · Import into Vercel

Sign up at vercel.com/signup with “Continue with GitHub”. Then Add New… → Project → Import your repo.

vercel.com/new Import “lucky-rocket” Environment variables (app sites only) VITE_REFERRER_ADDRESS 0x3aD9…1674 Deploy
Vercel → Import → (app sites) set your wallet env var → Deploy (illustrative).
Marketing page? Leave every setting at its default — it's a static site, nothing to configure. App site? set VITE_REFERRER_ADDRESS to your dashboard wallet before your first visitor.

Step 4 · App site → 1-click deploy

For an app site, the builder gives you a Deploy to Vercel button. It clones the template into your own GitHub and creates a Vercel project. When prompted, set VITE_REFERRER_ADDRESS to your wallet, then Deploy.

Test your earnings from a different wallet. The protocol doesn't credit a referral when the buyer is also the referrer — buy a test ticket from a wallet that is not your VITE_REFERRER_ADDRESS to confirm fees accrue.

Step 5 · (Optional) Use your own domain

In Vercel: Project → Settings → Domains → Add, then follow the DNS steps. Your *.vercel.app URL keeps working too.

Troubleshooting

  1. Vercel build failed (app site): make sure package.json is at the repo's top level — upload the folder contents, not the folder itself.
  2. Wallet modal / QR missing: add a free WalletConnect Project ID (cloud.walletconnect.com) as VITE_WALLETCONNECT_PROJECT_ID, then redeploy.
  3. Data slow / “rate limited”: add your Megapot API key as VITE_MEGAPOT_API_KEY, then redeploy.
  4. Marketing page shows old text: edit index.html (name, tagline, color, invite link are plain text near the top), save, and re-upload or re-drop.