This project corresponds to the tutorial Creating an NFT with solmate and foundry from the Foundry Book and includes the implementation of a basic Opensea compatible NFT using the foundry framework to test and deploy your contract. Furthermore it offers an implementation using both Solmate's gas optimised ERC721 library as well as Open Zeppelin's ERC721 library.
forge test
forge test --gas-report
Set the following environment variables
export RPC_URL=<Your RPC endpoint>
export PRIVATE_KEY=<Your wallets private key>
npm run deploy <constructor-args>
npm run send <contractAddress> <functionSignature> <args>