Page cover image

πŸ–ΌοΈNFT Drop

Smart contract for minting NFT collections

Summary

This is a contract that allows NFT project creators to create a β€˜drop’ event similar to popular NFT launches on other chains. Users can mint NFTs up to a count specified by the creator (e.g., 10,000) for a price specified by the creator (e.g., 200 IST). Users mint NFT IDs in a first-come-first-served manner until the full count has completed. The contract allows the contract creator to specify: total count of NFTs in the series to be minted, price per NFT, and the start time (or block) of the offering (before which minting cannot occur).

Details

NFT β€œdrops” have been popularized on Ethereum and other chains. In these drops, an NFT creator will offer a series of NFTs that are tied to their theme, but have differing properties - with the prevalence and desirability of specific properties leading to differing rarities and values for individual NFTs in the series. For example, all Bored Ape Yacht Club (BAYC) NFTs have a value for the β€œhat” property, but only 65 have the β€œTrippy Captain’s Hat,” making apes with Trippy Captain’s Hat rarer and more valuable than average BAYCs - currently the lowest offer for a Trippy Hat BAYC is over twice the β€˜floor’ BAYC. Actual properties for the specific NFTs minted are typically only updated after the full minting is complete (not covered in this contract). At the time of the launch, users will interact with the contract (either through the creator’s dedicated UI or directly in some other manner) to mint one or multiple NFTs at the specified price.

Explore on GitHub

https://github.com/simpletrontdip/dapp-nft-drop

Last updated