Skip to content

An Application where users can create A-I generated artworks by writing a description, using stable diffusion model and can store those images on IPFS (InterPlanetary File System).

Notifications You must be signed in to change notification settings

utkarsh-1602/Morpheus-AIminting

Repository files navigation

A.I NFT Minting Application

An application where users can create generative artworks by typing a detailed description. It uses stable diffusion technique to create AI-generated artworks. We can mint those artworks as NFT's and store them on IPFS.

Screenshots

AINFT AINFT

⚙️ Working

  • Writing smart contracts in solidity programming language, using Ethereum Blockchain.
  • Using stable diffusion model for A.I Image generation, hugging Face API Provides that.
  • Upload the images to IPFS on nft.storage (free storage for NFT's), post images to IPFS, it will give you hash values, and we can store those on On-chain.
  • Using Hardhat development framework, for creating smart contracts, deploying scripts, etc.
  • using ether.js where the JavaScript applications can talk directly to the blockchain from client-side application.
  • using HUGGING_FACE_API and NFT_STORAGE_API key.
  • Used Oppenzeppelin framework to build secure smart contracts, using ownable.sol contract from openzeppelin which helps you to manage the ownership of the contract. ownable.sol let's you transfer and renounce ownership.

Article

Checkout my Article on Hashnode

portfolio

🚀 About Me

A pre-final year student underGrad. My major is Computer Science and I do Problem Solving(Data Structures and Algorithms) for fun. I currently practise at Leetcode and participate in Leetcode contests using java. I have solved over 300 problems on LeetCode. I am well versed with Computer Science fundamentals like OOPS, Operating Systems, Database Management Systems, Computer Networks and also have keen interest in High Level System Design. I have built few projects on Web Development using MongoDB, Express, ReactJS and Node.js, and currently exploring Web3 & Blockchain development and building DApps. I am interested and open to interview as an intern in Software Engineering domain.

🔗 Links

portfolio linkedin twitter NFT Collection

Badges

Add badges from somewhere like: shields.io

MIT License GPLv3 License AGPL License

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

About

An Application where users can create A-I generated artworks by writing a description, using stable diffusion model and can store those images on IPFS (InterPlanetary File System).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published