/ai_nft_generator

A build to learn project with step by step instructions to create an AI NFT generator

Primary LanguageJavaScript

AI NFT Generator

Technology Stack & Tools

Requirements For Initial Setup

Setting Up

1. Clone/Download the Repository

2. Install Dependencies:

$ npm install

3. Setup .env file:

Before running any scripts, you'll want to create a .env file with the following values (see .env.example):

  • REACT_APP_HUGGING_FACE_API_KEY=""
  • REACT_APP_NFT_STORAGE_API_KEY=""

You'll need to create an account on Hugging Face, visit your profile settings, and create a read access token.

You'll also need to create an account on NFT.Storage, and create a new API key.

4. Run tests

$ npx hardhat test

5. Start Hardhat node

$ npx hardhat node

6. Run deployment script

In a separate terminal execute: $ npx hardhat run ./scripts/deploy.js --network localhost

7. Start frontend

$ npm run start