Skip to content

ChinmayNakwa/MintFlowAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Powered NFT Minter on the Sui Blockchain

Screenshot 2025-07-23 210034
  • 🤖 AI Image Generation: Users enter a text prompt, and a backend service uses the Gemini AI API to generate a unique image.

  • ☁️ Cloud Image Hosting: Generated images are automatically uploaded to Cloudinary for reliable, fast hosting before being minted.

  • ⛓️ On-Chain Minting: Seamlessly mints the generated art as a standard NFT on the Sui Testnet.

  • 🛍️ Batch Minting: Users can generate and mint multiple unique NFTs.

  • 🚀 Getting Started

Follow these instructions to get a local copy up and running for development and testing.

Prerequisites

  • Node.js (v18 or later recommended)
  • Sui CLI installed and configured with a devnet/testnet address.

Installation & Setup

  1. Clone the Repository

    git clone https://github.com/ChinmayNakwa/sui-workshop
    cd sui-workshop
  2. Install Dependencies This single command will install dependencies for both the root React app and the server.

    npm install
  3. Configure Environment Variables Create a .env file in the root of the project. This file holds all your secret keys and is ignored by Git.

    touch .env

    Now, open the .env file and add the following, replacing the placeholder values with your actual keys:

    # --- Keys for Google AI ---
    GOOGLE_API_KEY="YOUR_GOOGLE_AI_API_KEY"
    
    # --- Keys for Cloudinary ---
    CLOUDINARY_CLOUD_NAME="YOUR_CLOUDINARY_CLOUD_NAME"
    CLOUDINARY_API_KEY="YOUR_CLOUDINARY_API_KEY"
    CLOUDINARY_API_SECRET="YOUR_CLOUDINARY_API_SECRET"
  4. Run the Backend Server From the project root directory, run:

    node server/server.js

    You should see the confirmation message: ✅ AI Agent server listening at http://localhost:8000

  5. Run the Frontend Application In a new terminal, also from the project root directory, run:

    npm start

    This will open the application in your browser at http://localhost:3000.


About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors