Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

junekimdev/generative-nft-demo

Repository files navigation

Generative NFT demo

June Kim's the First NFT app

HipCrypto Dev Week3-4 assignment

Installation

  1. Clone the repo

  2. Create a file named .env in the root directory

  3. Add keys and values

    1. MASTER_ADDR=xxx
    2. ALCHEMY_API_KEY=xxx
    3. ALCHEMY_PRV_KEY=xxx
    4. ETHERSCAN_API_KEY=xxx
    5. NFT_STORAGE_API_KEY=xxx
  4. Create a file named .env in the client directory

  5. Add keys and values

    1. ALCHEMY_API_KEY=xxx

Image Creation and Upload to NFT.storage

  1. Modify IMG_AMOUNT in imggen.js to the amount you want to create

  2. Execute the file

    node imggen.js
  3. This will create image files N000 in /images/

  4. This will upload the created images to NFT.storage

  5. This will create metadata file meta-uri.txt in /client/public/

Smart Contract Deployment

  1. Compile the contract

    yarn compile
  2. Deploy to local chain

    yarn deploy-local
  3. Deploy to Rinkeby Ethereum testnet

    yarn deploy-remote
    yarn verify

NFT Minting

  1. Change directory to client

    cd client
  2. Start dev server

    yarn dev
  3. Open browser and go to http://localhost:3000

  4. Connect wallet

  5. Click mint button

About

Generative NFT demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •