This repository contains smart contracts for an NFT collection. With this contract you can mint, transfer, manage non-fungible tokens on a blockchain.
I created a course for where i will explain in detail how all of this works in french. You can find the course here :
To use this repository, you will need:
- A blockchain development environment Hardhat
- Node Js >= 16.14.2
- Yarn >= 1.22.19 or npm >= 8.5.0
- Clone this repository to your local machine.
- Install the required dependencies using
npm install
oryarn
.
- Compile the smart contracts using
npx hardhat compile
. - Migrate the contracts to your blockchain network using truffle migrate.
- Interact with the contracts using a web3 provider such as MetaMask.
- MyBeautyNFT.sol: This contract defines the all the functionalities of an NFT, including minting, metadata and allowlist.
This project is licensed under the MIT License.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.