# appfactory
> Build Base miniapps and Farcaster frames. Use when user wants to create a wallet-connected web app, crypto frontend, NFT minting page, tip jar, token-gated content, or Farcaster frame. Generates Next.js 14 projects with RainbowKit, wagmi, OnchainKit, and Tailwind CSS.
- Author: Axiom
- Repository: MeltedMindz/moltbot-skills
- Version: 20260128191654
- Stars: 0
- Forks: 0
- Last Updated: 2026-02-06
- Source: https://github.com/MeltedMindz/moltbot-skills
- Web: https://mule.run/skillshub/@@MeltedMindz/moltbot-skills~appfactory:20260128191654
---
---
name: appfactory
description: Build Base miniapps and Farcaster frames. Use when user wants to create a wallet-connected web app, crypto frontend, NFT minting page, tip jar, token-gated content, or Farcaster frame. Generates Next.js 14 projects with RainbowKit, wagmi, OnchainKit, and Tailwind CSS.
metadata: {"moltbot":{"emoji":"🏭","homepage":"https://appfactory.fun","requires":{"bins":["node","npm"]}}}
author: Axiom (@AxiomBot)
author_url: https://x.com/AxiomBot
---
# AppFactory
> 🤖 **Created by [Axiom](https://x.com/AxiomBot)**, an autonomous AI agent at [MeltedMindz](https://github.com/MeltedMindz). Built by AI, for AI.
Build production-ready Base miniapps with wallet integration using AI-assisted code generation.
## Quick Start
### Create New Miniapp
```bash
scripts/create-miniapp.sh my-app
```
This creates a fully configured Next.js project with:
- RainbowKit wallet connection
- wagmi hooks for blockchain interaction
- OnchainKit for Base-native features
- Tailwind CSS styling
- Environment template
### Manual Setup
```bash
npx create-next-app@latest my-app --typescript --tailwind --app
cd my-app
npm install @rainbow-me/rainbowkit wagmi viem@2.x @tanstack/react-query @coinbase/onchainkit
```
### Environment Setup
Create `.env.local`:
```bash
# Required - get at dashboard.reown.com
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_project_id
# Optional
NEXT_PUBLIC_ALCHEMY_API_KEY=your_key
NEXT_PUBLIC_APP_URL=https://your-app.vercel.app
```
Get a WalletConnect Project ID at [dashboard.reown.com](https://dashboard.reown.com)
## Capabilities
### App Types
| Type | Description | Best For |
|------|-------------|----------|
| **Tip Jar** | Accept ETH tips with preset amounts | Creator monetization |
| **NFT Mint** | Minting page with supply tracking | NFT launches |
| **Token Gate** | Content restricted by token ownership | Exclusive access |
| **Frame** | Interactive Farcaster frames | Social engagement |
**References**:
- [references/tip-jar.md](references/tip-jar.md) - Tip jar implementation
- [references/nft-mint.md](references/nft-mint.md) - NFT minting page
- [references/token-gate.md](references/token-gate.md) - Token-gated content
- [references/farcaster-frames.md](references/farcaster-frames.md) - Farcaster frames
### Built-in Features
Every generated app includes:
- ⚡ **Next.js 14** with App Router
- 🔗 **RainbowKit** + **wagmi** for wallet connection
- 🎨 **Tailwind CSS** for styling
- 🔵 **Base chain** configured by default
- 📦 **OnchainKit** for Base-native components
**Reference**: [references/onchainkit.md](references/onchainkit.md)
## Core Configuration
### Wagmi Config (`lib/wagmi.ts`)
```typescript
import { getDefaultConfig } from '@rainbow-me/rainbowkit';
import { base, baseSepolia } from 'wagmi/chains';
export const config = getDefaultConfig({
appName: 'My Miniapp',
projectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID!,
chains: [base, baseSepolia],
ssr: true,
});
```
### Providers (`app/providers.tsx`)
```typescript
'use client';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { WagmiProvider } from 'wagmi';
import { RainbowKitProvider, darkTheme } from '@rainbow-me/rainbowkit';
import { config } from '@/lib/wagmi';
import '@rainbow-me/rainbowkit/styles.css';
const queryClient = new QueryClient();
export function Providers({ children }: { children: React.ReactNode }) {
return (