LorenzoZaccagnini / Soulbound-NFT-foundry-slither

Soulbound NFT made in foundry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Soulbound NFT

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: code scanning Slither

Develop

Unit Tests

To run the unit tests suite (in Typescript), you'll need to run:

yarn install

then run the following:

npx hardhat test

System Tests

End-to-end tests have been written in Solidity, using Foundry.

To get set up:

  1. Install Foundry.
curl -L https://foundry.paradigm.xyz | sh
  1. Install external lib(s)
forge install
  1. Run tests:
forge test
  1. Update Foundry periodically:
foundryup

Resources:

Contributors ✨

Thanks goes to these wonderful people:


Lorenzo Zaccagnini

💬 📖

This project follows the all-contributors specification. Contributions of any kind are welcome!

LICENSE

Mozilla Public License Version 2.0

About

Soulbound NFT made in foundry

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 58.2%Language:Solidity 41.8%