NFT project template.
Contains various template implementations of ERC721A
, alongside a complete suite of unit tests.
Depends on:
-
Install
foundry
-
Executing
forge -V
should output something likeforge 0.2.0 (6ad60c8 2022-12-20T00:04:58.584892Z)
-
Clone this repository
-
Extend
ERC721ACore
, or modifyERC721ARelease
orERC721AWhitelistRelease
and implement your custom functionality.
-
Update
/solidity/test/shared/BaseTest.t.sol
to test your custom implementation. -
Add new tests that extend
BaseTest
to leverage existing functionality. -
Execute
forge test
to run all tests in/solidity/test
, orforge test --match-path <testFilePath>
to run a specific file
Note: Extending ERC721ACore will allow you to run your code againt basic functionality tests. Complete test coverage is the ONLY way to be confident in your smart contract's functionality.
- Add deploy script
- Add documentation for tests & deployer