Go to file
2025-01-28 21:45:45 +05:30
src Use USDC mint from env 2025-01-28 21:45:45 +05:30
.env.example Display decimals in UI 2025-01-28 19:18:13 +05:30
.gitignore Add replay protection to meme generation API (#5) 2025-01-27 14:02:12 +00:00
index.html Handle responsiveness in mobile browser (#6) 2025-01-27 14:08:02 +00:00
next-env.d.ts Handle responsiveness in mobile browser (#6) 2025-01-27 14:08:02 +00:00
next.config.mjs build fixes 2024-12-20 18:24:44 -05:00
package-lock.json Display decimals in UI 2025-01-28 19:18:13 +05:30
package.json Simplify function to display price with decimal point 2025-01-28 19:56:41 +05:30
postcss.config.js cool 2024-12-19 19:10:08 -05:00
README.md Add readme with setup steps (#2) 2025-01-27 10:11:57 +00:00
styles.css Handle responsiveness in mobile browser (#6) 2025-01-27 14:08:02 +00:00
tailwind.config.ts cool 2024-12-19 19:10:08 -05:00
tsconfig.json Handle responsiveness in mobile browser (#6) 2025-01-27 14:08:02 +00:00

sol-mem-gen

This project is a Solana-based meme generator that allows users to connect their wallets, pay with MTM tokens, and generate memes using AI models.

Features

  • Connect to Solflare and Phantom wallets
  • Pay with MTM tokens
  • Generate memes using various AI models

Prerequisites

  • Node.js
  • npm
  • Solflare or Phantom wallet

Setup

  1. Install dependencies:

    npm install
    
  2. Copy the .env.example file to .env.local and add your FAL AI key:

    cp .env.example .env.local
    
  3. Add your FAL AI key to the .env.local file:

    # Get key from https://fal.ai/
    FAL_AI_KEY=your_fal_ai_key
    
  4. Run the development server:

    npm run dev
    
  5. Open your browser and navigate to http://localhost:3000.

Usage

  1. Connect your Solflare or Phantom wallet using the "Connect Wallet" button.
  2. Select an AI model and enter a prompt to generate a meme.
  3. Pay the required MTM tokens and wait for the meme to be generated.