1.0.1 • Published 1 year ago
simplenft-marketplace v1.0.1
Sample NFT MARKETPLACE Hardhat Project
Table of contents
General info
This project demonstrates a basic NFT's Marketplace contract setup with Hardhat and Foundry.
Warning This smart contract repository was created for educational purposes only, to teach the basics of Solidity programming, testing with Hardhat and Foundry. It is not recommended for use in production as it has not undergone extensive testing and may contain undiscovered bugs and errors. Please use at your own risk.
Functionality
These contracts have these functionality:
- NFT listing
- token and address blacklist (for prevention of possible stolen nft)
- Roles (moderation, treasury and admin)
- ability to change transaction fees and withdraw them
Setup
Install Dependencies
npm install
Run test with Hardhat
npx hardhat test
List all Hardhat tasks
npx hardhat help
Run test with Foundry
forge test