An AI-powered platform for generating and deploying meme tokens on Base and baseSepolia networks. Create unique tokens with AI-generated names, symbols, and images through an intuitive interface.
- AI-powered token name and symbol generation
- AI-generated token images
- Automatic smart contract deployment
- Multi-chain support (Base and baseSepolia)
- MetaMask integration
- Farcaster Frame SDK integration
- Automated liquidity pool creation
- React.js with TypeScript
- TailwindCSS for styling
- wagmi for Ethereum interactions
- Farcaster Frame SDK for social integration
- shadcn/ui components
- Solidity ^0.8.13
- OpenAI Oracle for AI integration
- OpenZeppelin contracts
- Custom Token Factory
- Node.js
- npm or yarn
- MetaMask wallet
- Some ETH on Base or Optimism network
- Clone the repository:
git clone https://github.com/aipop-fun/MemeToken
cd MemeToken
- Install dependencies:
npm install
# or
yarn install
- Set up environment variables:
NEXT_PUBLIC_WALLET_CONNECT_ID=your_wallet_connect_id
NEXT_PUBLIC_CONTRACT_ADDRESS=your_contract_address
- Run the development server:
npm run dev
# or
yarn dev
- Connect Wallet: Connect your MetaMask wallet to either Base or Optimism network
- Generate Token: Enter a description for your meme token
- AI Processing:
- Generates token name and symbol using LLaMA model
- Creates token image using Stable Diffusion
- Smart Contract: Automatically deploys your token with:
- Fixed supply of 1 million tokens
- Automatic liquidity pool creation
- Custom token metadata
- Handles token generation requests
- Interacts with AI Oracle
- Manages token deployment
- Creates initial liquidity
Key functions:
function createMemeToken(
string calldata namePrompt,
string calldata imagePrompt
) external payable nonReentrant
- Name generation fee (AI Oracle)
- Image generation fee (AI Oracle)
- Deployment fee (0.0008 ETH)
- NonReentrant protection
- Owner-only admin functions
- Gas limit controls
- Secure callback handling
- Responsive design
- Dark/light mode support
- Interactive token preview
- Real-time network switching
- MetaMask integration
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
MIT License - see LICENSE.md
- Ora.io
- OpenAI for AI models
- Farcaster team for Frame SDK
- shadcn for UI components
- Base
- Clanker Codebase
For support, please open an issue in the repository or reach out to our community on Discord.