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 init
to 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 compile
to compile the project - Create a deployment script in the migrations folder
- Run
truffle migrate
to deploy the smart contract on Ganache
- Run
npx create-react-app nft-minter-frontend
to create the web portal that users can interact with the smart contract. - Run
npm install web3 react-bootstrap bootstrap
to install dependencies - Add the code to interact with the smart contract using web3 library