Skip to main content
The MiniKit template provides you with key features to get started quickly, which we highlight below. There are additional features which you can find in the MiniKit technical reference.

Providers

The MiniKitProvider wraps your app and provides MiniKit context to all child components. It configures wagmi, react-query, and the Farcaster connector automatically.
providers/Providers.tsx

Mini App initialization

When a user first opens your mini app, the MiniKitProvider will initialize the mini app context. This is done by calling the useMiniKit hook. context provides you with details about the user and the client (e.g. Base app).
app/App.tsx
To leverage the native browser of the Base app, you can use the useOpenUrl hook. Do not use raw links as it can cause breaks or force the user to leave the app.
components/ExternalLink.tsx

Close Mini App

Allows you to add native functionality to close the mini app.
components/CloseButton.tsx

Next steps

Add features based on your goals. Start here:

Launch Checklist

To get the most out of mini apps, follow the launch checklist.

Mini App Features

Comprehensive guides on all mini app features.