1.0.7 • Published 3 years ago
contract-allow-list v1.0.7
ContractAllowList
Pull requests are accepted from all web3 engineers!!
Usage
npm i contract-allow-listor
yarn contract-allow-listWhy
We want to put in place a system to minimize the damage from NFT fraud.
How
- Only accept approve from a limited number of contract addresses.
 - Lock token and prevent transfer.
 
Target Contracts
contracts>libs>ContractAllowList.sol *icontracts>interface>iContractAllowList.sol
Use Sample
contracts>TestNFTcollection.sol