# Megapot Developer Toolkit > Agent skills for building on Megapot, an on-chain lottery protocol on Base (USDC-denominated). Fetch the entry point, then deep-link to task skills as needed. ## Entry Point - [Megapot entry point](https://llms.megapot.io/): overview, decision tree, quick-reference addresses ## Contract Reference - [Full contract reference](https://llms.megapot.io/contracts/reference): all 13 contracts, parseAbi blocks, addresses, constants ## Task Skills - [Buy tickets (1–10)](https://llms.megapot.io/tasks/buy-tickets) - [Buy random tickets (up to 10)](https://llms.megapot.io/tasks/buy-random) - [Buy in bulk (11+)](https://llms.megapot.io/tasks/buy-bulk) - [Subscribe (recurring daily purchases)](https://llms.megapot.io/tasks/subscribe) - [Claim winnings](https://llms.megapot.io/tasks/claim-winnings) - [Claim referral fees](https://llms.megapot.io/tasks/claim-referral-fees) - [LP deposit](https://llms.megapot.io/tasks/lp-deposit) - [LP withdraw (two-step)](https://llms.megapot.io/tasks/lp-withdraw) - [Auto-compound (claim + re-buy atomically)](https://llms.megapot.io/tasks/auto-compound) - [Read protocol state (multicall)](https://llms.megapot.io/tasks/read-state) - [React + wagmi setup for Megapot](https://llms.megapot.io/tasks/react-setup) ## Data API - [Megapot Data API skill](https://llms.megapot.io/data-api): off-chain reads (rounds, tickets, wins, wallet stats) via REST API at api.megapot.io/v1 ## Raw ABI Endpoints - [Contract addresses](https://llms.megapot.io/abi/index.json): all 13 contract addresses across mainnet, staging, and Base Sepolia - Per-contract JSON: `https://llms.megapot.io/abi/.json` - Per-address JSON: `https://llms.megapot.io/abi/<0xContractAddress>.json` - Plaintext parseAbi form: `.txt` in place of `.json` ## Optional - [Source repository](https://github.com/coordinationlabs/megapot-developer-toolkit) - [Runnable examples](https://github.com/coordinationlabs/megapot-developer-toolkit/tree/main/examples) - [Megapot docs](https://docs.megapot.io)