Navigate key documentation sources and understand when to use each resource for specific development needs
Documentation | Helps with | When to use it | Example prompt |
---|---|---|---|
Base Docs | Base Chain, Base Account, Base App, OnchainKit, Cookbook | Finding MiniKit templates; sponsoring transactions via Base Account | Using the Base documentation at docs.base.org, help me implement wallet connection in my Mini App. I need to: 1) Connect to a user's wallet, 2) Display their Basename if available, 3) Show their account balance. Provide complete React code using MiniKit SDK with TypeScript and explain each step. |
Coinbase Developer Platform (CDP) | Wallet services, Paymaster, onramps | Obtaining API keys; using the Paymaster endpoint; creating fiat onramps | I want to sponsor transactions for my Mini App users using Coinbase Paymaster. Based on the CDP documentation, provide: 1) Setup instructions for API keys, 2) Complete code example for sponsoring a transaction, 3) Error handling best practices. Include both frontend and any required backend code. |
Next.js Docs | App router, page rendering, project structure | Deciding where to store assets; understanding routing and SSR/SSG | Using Next.js 14 App Router, help me structure my Mini App with: 1) A main app page, 2) A settings page, 3) API routes for data fetching, 4) Proper file organization for components and assets. Provide the complete folder structure and explain routing patterns. |
Wagmi / Viem | Wallet integration and on-chain data access | Retrieving connected wallet address; reading on-chain data | Using Wagmi v2 and Viem, create a React hook that: 1) Connects to the user's wallet, 2) Reads their ETH balance on Base, 3) Fetches their last 5 transactions, 4) Handles loading and error states. Include TypeScript types and proper error handling. |
Vercel V0 Docs | AI-powered UI generation with V0 | Adding environment variables; downloading generated code | I generated a Mini App UI with V0 and want to deploy it. Help me: 1) Add environment variables for my API keys, 2) Download and integrate the V0 code into my local MiniKit project, 3) Deploy to Vercel with proper configuration. Provide step-by-step instructions. |