This is an DApp where you can mint NFTs using AI. Using Hugging Face, a text is converted to an image and then minted as an NFT and uploaded to IPFS. I followed this Tutorial for creating this project.
- Solidity (Writing Smart Contracts & Tests)
- Javascript (React & Testing)
- Hardhat (Development Framework)
- Ethers.js (Blockchain Interaction)
- React.js (Frontend Framework)
- NFT.Storage (Connection to IPFS)
- Hugging Face (AI Models)
-
- Clone the Repository
-
- Install Dependencies:
$ npm install
- Install Dependencies:
-
- Setup .env file: Before running any scripts, you'll want to create a .env file with the values as seen in .env.example:
Create an account on Hugging Face, visit your profile settings, and create a read access token.
Create an account on NFT.Storage, and create a new API key.
-
- Run tests
$ npx hardhat test
- Run tests
-
- Start Hardhat node
$ npx hardhat node
- Start Hardhat node
-
- Run deployment script
In a separate terminal execute:
$ npx hardhat run ./scripts/deploy.js --network localhost
- Run deployment script
In a separate terminal execute:
-
- Start frontend
$ npm run start
- Start frontend