Install the repo and dependencies by running:
yarn
These contracts can be deployed to a network by running:
yarn deploy <networkName>
These contracts can be verified on Etherscan, or an Etherscan clone, for example (Polygonscan) by running:
yarn etherscan-verify <ethereum network name>
Run the unit tests locally with:
yarn test
Generate the test coverage report with:
yarn coverage
A simple proof of concept for NFTs that disappear after a certain amount of time. Anyone can create a NFT Snap and share with the world. Anyone is able to collect (mint) a Snap but the image and metadata visibility will expire.
- Collecting a Snap is only open for 24 hours after creation
- A Snap is only visible for 48 hours after creation
- Allows for a mint fee
- Allows for a mint price
- Token can be burned permissionlessly after visibility expires
Inspired by John Palmer https://twitter.com/john_c_palmer/status/1635303079880040450
It's just a Factory that creates Snaps ❤
Disclaimer: This was a quick hack, use at your own risk