This project is a practice project in order to learn more about working with NFT tokens (aka ERC721 tokens) and custom made ERC20 tokens.
To do all with one line run:
make all
Or do it all in steps
Install my-project with foundry (forge)
forge install https://github.com/JJScar/minting-my-best-photo.git
Run forge build to make sure all libraries are downloaded and everything works as it should
forge build
Use the MAKEFILE commands to make usage easier.
Run to test the code:
forge test
Run to see test coverage
forge coverage
Run to deploy ERC20 token contract:
make deployToken
Run to mint ERC20 token:
make mintToken
Run to deploy NFT contract:
make deployNFT
Run to mint an NFT
make mintNFT