Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.2 KB

README.md

File metadata and controls

63 lines (45 loc) · 1.2 KB

My Best Photo (Minting an NFT with custom ERC20 Token)

This project is a practice project in order to learn more about working with NFT tokens (aka ERC721 tokens) and custom made ERC20 tokens.

Installation

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

Usage/Examples

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

🔗 Links

linkedin twitter