This repo is about a Soulbound NFT, an NFT that can be only minted and not traded or transferred, it is bounded to the first owner. The project environment is foundry with hardhat integrated. The GH workflow tests (foundry solidity and hardhat typescript) the contracts and uses Slither to statically analyze the code, trying to find the most common vulnerabilities. When found they are notified in the GH security code scanning area, as you can see in this screenshot:
To run the unit tests suite (in Typescript), you'll need to run:
yarn install
then run the following:
npx hardhat test
End-to-end tests have been written in Solidity, using Foundry.
To get set up:
- Install Foundry.
curl -L https://foundry.paradigm.xyz | sh
- Install external lib(s)
forge install
- Run tests:
forge test
- Update Foundry periodically:
foundryup
Resources:
Thanks goes to these wonderful people:
Lorenzo Zaccagnini 💬 📖 |
This project follows the all-contributors specification. Contributions of any kind are welcome!