protocol / nft-website

NFT School: Community education platform for developers in the non-fungible token space.
https://nftschool.dev
MIT License
361 stars 98 forks source link

[SUGGESTION] Lazy Bulk Minting NFTs using IPFS #262

Closed cspence001 closed 2 years ago

cspence001 commented 2 years ago

I want to batch mint a set of files on ERC-1155 at moment of user purchase

Bulk upload PNG files to IPFS.
Generate JSON files containing metadata for our NFTs.
Bulk upload JSON files to IPFS.
Bulk mint NFTs at time of purchase.

The first three steps would be process of scripting. The bulk minting upon purchase of file stored on IPFS and streamed to user through application interface would be determining accessibility post-mint. My confusion here exists around storing/hosting the NFT post-mint, they essentially would be one-time use- so no long term-storage would be necessary post purchase and would be set to an expiration. These could essentially sit on the node and be accessible for a certain duration of time until GC. Perhaps I'm missing something here - in that the underlying IPFS uri would be set to an expiration time (GC) from time of purchase for 24 hours. For the most part I just want to avoid-third party hosting outside of the scope of IPFS nodes (i.e. no nft.storage/centralized pinning service).