Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 1.51 KB

README.md

File metadata and controls

56 lines (33 loc) · 1.51 KB

NFT Snaps Sol Contracts

Test TS MIT license

Installation

Install the repo and dependencies by running:

yarn

Deployment

These contracts can be deployed to a network by running:

yarn deploy <networkName>

Verification

These contracts can be verified on Etherscan, or an Etherscan clone, for example (Polygonscan) by running:

yarn etherscan-verify <ethereum network name>

Testing

Run the unit tests locally with:

yarn test

Coverage

Generate the test coverage report with:

yarn coverage

What is this ??

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

Under the Hood

It's just a Factory that creates Snaps ❤

Share Your Story

https://www.nftsnaps.xyz/

Disclaimer: This was a quick hack, use at your own risk