Megapot is a fully on-chain daily lottery protocol built on Base. Smart contracts manage ticket sales, prize distribution, and random number generation, using Pyth entropy to ensure verifiable fairness. Users can buy static-number or randomly generated dynamic tickets, with options for single purchases or auto-subscriptions across multiple draws. Winnings are claimed directly in USDC. The protocol also includes a referral reward mechanism and exposes contract interfaces and a data API for developers to integrate or build custom features.