Skip to main content
Comprehensive, production-ready examples for common MoonKey integration patterns. Each recipe includes complete code, styling examples, and best practices.

Authentication

Complete Authentication Flow

Full-featured email OTP authentication with error handling and loading states

Protected Routes

Protect routes and require authentication before access

Dashboard & User Interface

Dashboard with Wallet Operations

Complete user dashboard integrating authentication, wallet display, and transactions

Wallet Status Indicator

Display wallet connection status with visual indicators

Ethereum Transactions

ERC-20 Token Transfer

Send ERC-20 tokens using the embedded wallet

NFT Minting

Mint NFTs by calling smart contract functions

Multi-Step Transaction Flow

Handle complex multi-step flows like approve + swap

Solana Development

Solana Program Interaction

Interact with Solana programs using the embedded wallet

Styling & Design

Complete Styling Examples

CSS examples for authentication, dashboard, and UI components

What’s included

Each recipe provides:
  • Complete, working code - Copy and paste ready implementations
  • Best practices - Error handling, loading states, and user feedback
  • TypeScript support - Fully typed examples
  • Responsive design - Works on mobile and desktop
  • Styling examples - Ready-to-use CSS
  • Common patterns - Variations and advanced use cases

Getting started

  1. Choose a recipe that matches your use case
  2. Copy the code into your project
  3. Customize the styling and behavior
  4. Add your own business logic
All recipes are built with React and TypeScript, and work with Next.js, Create React App, Vite, and other React frameworks.

Need help?

Can’t find what you’re looking for? Check out our comprehensive documentation:

Quick Start

Get started with MoonKey

Authentication

Authentication methods

Wallet Operations

Wallet features