This project is a simple demo of an NFT mint web3 application.
- Run
npm install -g truffle - Install Ganache application on your machine
- Run
truffle initto create an empty truffle app - Run
npm install @openzeppelin/contracts - Create a mintable NFT smart contract inside the contracts folder
- Update the network properties in truffle-config.js file
- Run
truffle compileto compile the project - Create a deployment script in the migrations folder
- Run
truffle migrateto deploy the smart contract on Ganache
- Run
npx create-react-app nft-minter-frontendto create the web portal that users can interact with the smart contract. - Run
npm install web3 react-bootstrap bootstrapto install dependencies - Add the code to interact with the smart contract using web3 library
