2025-01-27 10:11:57 +00:00
2024-12-19 15:22:30 -05:00
2024-12-20 18:24:44 -05:00
2024-12-20 14:53:36 -05:00
2024-12-20 14:53:36 -05:00
2024-12-19 19:10:08 -05:00
2025-01-27 10:11:57 +00:00
2024-12-19 19:10:08 -05:00
2024-12-19 15:22:30 -05: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.
S
Description
No description provided
Readme
1.5 MiB
Languages
TypeScript 94.6%
Shell 2.5%
CSS 1.7%
Dockerfile 1%
JavaScript 0.1%
Other 0.1%