Code Monkey home page Code Monkey logo

ai-nft-minter's Introduction

AI NFT Minter

The purpose of this project is to allow the user to mint an AI generated image using ERC 721 protocols. The application also allows for the user to add new appraisals on specific minted images. This image is AI generated!

AI

Technologies

This application uses the OpenAI API service to generate AI images, Solidity for the minting of the ERC 721 token and appraisal functions, Remix IDE website for smart contract editing, compiling, testing, and deploying, another API service from Pinata for pinning data using IPFS, Streamlit interface for user interaction, and the Web3 python package to complete our dApp. We will use Ganache as our personal Ethereum blockchain provider and will utilize MetaMask as the wallet viewer.

Installation Guide

Run the following code in your terminal.

pip install web3==5.17
pip install streamlit

As always, make sure python is updated to its most current version.

brew update
brew upgrade
conda update conda

Usage

First things first, the ArtRegistry contract will need to be deployed to your local Ethereum network (Ganache). This is done by using Ganache and Remix. Make sure the Web provider's URI in your .env matches the Ganache network and deploy via Remix. Once deployed, copy and paste the smart contract address inside your .env. OpenAI and Pinata keys and secrets will need to be placed inside .env, as well.

You are now able to run the command below:

streamlit run app.py

Inside the app.py, you are able to prompt the generative model for the NFT you would like to mint. Once the image generates you will have to manually save to the desired location. You can then proceed to drag and drop or upload to mint and even transfer the token to a friend.

Contributors

Connor Boots
Cale McDowell

License

N/A

ai-nft-minter's People

Contributors

bootsish avatar gcm107 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.