Using MiniKit
For reference, MiniKit is easiest way to build mini apps on Base, allowing developers to easily build mini apps without needing to know the details of the SDK implementation. It integrates seamlessly with OnchainKit components and provides Base App-specific hooks.Quick Start with MiniKit
If you use MiniKit and/or follow the MiniKit quickstart guide, your mini app will work out of the box in Base App!
Debugging Guide
If you’re already using MiniKit and experiencing issues, you can refer to our debugging guide
Authentication
Below we will quickly cover the different methods of authentication offered for mini apps and how well each of them work in Base App:- Sign In with Farcaster/Quick Auth
- Wallet Auth
- Context Data
Base App natively supports Sign In with Farcaster(SIWF) in-app, so you can sign users in and get their social identity all without leaving Base App.We also support Quick Auth, which uses Sign In with Farcaster to issue developers a JWT that can be used to persist the user’s session in the mini app.This is the expected flow for end-users to Sign In with Farcaster in your mini app:
- Create Account Users: Users who created a net-new Farcaster account during Base App onboarding
- When signing into a mini app, the user will be prompted to see a “Login request” tray showing the SIWF message and can sign it right their with their passkey
- Connect Account Users: Users who connected an existing Farcaster account during Base App onboarding
- When signing into a mini app for the first time, the user will be prompted to deeplink to Farcaster(one-time only) and register their wallet as an auth address, which will then enable seamless in-app sign in — just like the above create account flow
Deeplinks and SDK Actions
The official mini apps SDK offers a set of actions (which MiniKit offers as well) so that users of your mini app can be led to do things back in clients like Base App (e.g. compose a cast, view a profile, etc). While some developers have used Farcaster-specific deeplinks in theopenUrl function as a workaround, this approach can create problems. Farcaster-specific deeplinks might not match Base App-specific deeplinks, potentially leaving users dead-ended and unable to take further action in your mini app.
Using the official SDK functions ensures your users have the best viewing experience possible across all supported clients, including Base App.
Wallet Interactions
Wallet interactions are a core part of the miniapp experience. We want to ensure both that building wallet interactions on top of the Base App is smooth for developers and that users can choose/have funds sent to their Base App when interacting with mini apps. As a mini app host, we expose an EIP-1193 Ethereum Provider that can be accessed in two primary ways:- OnchainKit Wallet Component (Recommended)
- Wagmi
- Browser Window
By using the Wallet component offered in OnchainKit/MiniKit
If you run
npm create onchain --mini, your mini app will have a “Connect Wallet” button already set upMetadata
Farcaster has recently extended the metadata spec for mini apps, which allows developers to add screenshot links, categories, and more to their manifest (farcaster.json) file. Making use of these new metadata fields is highly recommended for increasing the chance that your mini app could be featured throughout Base App. Below is a table of the new metadata fields introduced, what they mean/could potentially be used for, and an example of what a manifest file could look like with these new fields (all taken from the official spec)Note: We highly recommend that you set this metadata as it will give your mini app a better shot at being featured throughout Base App.
Mini App Store Listing
Mini App Store Listing
| Field | Purpose | Limitations | Design Guidelines |
|---|---|---|---|
iconUrl | Main icon | 1024x1024 px PNG, no alpha | Use a bold, recognizable logo. No text. Avoid photos or screenshots. |
name | Display name of the app | 30 characters, no emojis or special characters | Use brandable, unique names. Avoid generic terms. No emojis or trademark symbols. |
subtitle | Short description under the app name | 30 characters, no emojis or special characters | Should clarify what your app does in a catchy way. Avoid repeating the title. |
Mini App Store Page
Mini App Store Page
| Field | Purpose | Limitations | Design Guidelines |
|---|---|---|---|
description | Promotional message displayed on Mini App Page | 170 characters, no emojis or special characters | Use short paragraphs, headings, and bullet points. Focus on value, not features. Include social proof if possible. Avoid jargon. |
screenshotUrls | Visual previews of the app, max 3 screens | Portrait, 1284 x 2778 | Focus on showing the core value or magic moment of the app in the first 2–3 shots. Use device frames and short captions. |
Search & Discovery
Search & Discovery
| Field | Purpose | Options | Design Guidelines |
|---|---|---|---|
primaryCategory | Primary category of app | One of: games, social, finance, utility, productivity, health-fitness, news-media, music, shopping, education, developer-tools, entertainment, art-creativity | Choose the category that best represents your app’s primary use case |
tags | Descriptive tags for filtering/search | up to 5 tags | Use 3–5 high-volume terms; no spaces, no repeats, no brand names. Use singular form. |
Promotional Assets
Promotional Assets
| Field | Purpose | Limitations | Design Guidelines |
|---|---|---|---|
heroImageUrl | Promotional display image on top of the mini app store | 1200 x 630px (1.91:1) | 1200x630 px JPG or PNG. Should show your brand clearly. No excessive text. Logo + tagline + UI is a good combo. |
tagline | Marketing tagline should be punchy and descriptive | 30 characters | Use for time-sensitive promos or CTAs. Keep copy active (e.g., “Grow, Raid & Rise in Stoke Fire”). |
Sharing Experience
Sharing Experience
Example Manifest
Notifications
You will soon be able to send notifications from your Mini App that will appear in Base App. These notifications help re-engage users when something important happens, like a new drop, an update, or a reminder to complete an action. There are two ways to integrate:- Use Neynar (Recommended)
- Use Your Own Infrastructure
The fastest way to start sending notifications. Neynar provides:
- A hosted webhook interface
- Built-in user token management (opt-in / opt-out)
- CLI tools and a dashboard
- Analytics out of the box
Get Started with Neynar
Learn how to integrate notifications using Neynar
Mini Apps Compatibility in Base App
Base App is working towards full compatibility with the Farcaster Mini App SDK. While we continue to enhance support during the beta phase, there are currently some features that are not yet supported.AI-Powered Compatibility Checking
We provide a validate.txt file that can be used with AI tools to automatically check your codebase for Base App compatibility issues. Similar to llms.txt files, you can provide this validation file to language models to scan your Mini App code and receive a detailed compatibility report highlighting any unsupported features or patterns.Currently Unsupported Features
The following Mini App SDK features are not currently supported in Base App:Environment Detection (ETA 8/6)
sdk.isInMiniApp()
Haptic Feedback (ETA 8/13)
- All haptic related SDK methods
sdk.haptics.impactOccurred()sdk.haptics.notificationOccurred()sdk.haptics.selectionChanged()
Token Actions (ETA 8/6)
sdk.actions.swapToken()
Wallet Interactions
sdk.actions.getEthereumProvider()- Note: We still expose an EIP-1193 Ethereum Provider that you can auto-detect or use in a package such as MiniKit/Wagmi
Navigation & Links
- Direct HTML links to third-party websites (
<a href=,<Link href=)- Note: You can instead use
sdk.actions.openUrl()to safely open a third-party website in our in-app browser
- Note: You can instead use
- Warpcast/Farcaster composer intent URLs (
warpcast.com/~/compose,farcaster.com/~/compose)- Note: You can instead use
sdk.actions.composeCast()to compose a cast directly in Base App
- Note: You can instead use
Notifications are not yet supported
Mini App Actions Not Supported (ETA 8/13)
- .addMiniApp()
- .requestCameraAndMicrophoneAccess()
Context Features
- Share extensions
Supported Chains
- Base
- Mainnet
- Optimism
- Arbitrum
- Polygon
- Zora
- BNB
- Avalanche C-Chain
Development Notes
- Use
sdk.actions.openUrl()for external navigation instead of direct HTML links - Use
sdk.actions.composeCast()instead of Warpcast composer URLs - Implement visual feedback alternatives for haptic feedback
- Avoid relying on location context for core functionality
- To conditionally render functionality based on the user’s client, check
context.client.clientFid(Base App returns309857)