CRYPTO NEWS

How to write an NFT mint function incorportaing subsidized, free and paid mint?

I’m wondering if it’s possible to implement a minting function with the following mechanism:

  • 20% chance users will receive 0.1 ETH per mint (subsidized)
  • 50% chance free mint
  • 30% chance users will need to pay 0.15 ETH per mint. But they will get NFTs with rarer traits as a compensation.

The questions I have are:

  1. How to implement the feature such that users with paid mints can get NFTs with rarer traits?
  2. What is the best way to implement randomization?
  3. Is it possible that this mechanism may be exploited in some manner?
  4. How many ETH need to kept in the contract to ensure the minting experience is smooth? (i.e. no lack of funds in case users are receiving 0.1 ETH)

Thanks for your help in advance.

Foe2oh Huss

#Foe2oh Huss #TheSupremeTeam Artist Name: Foe2oh Huss Who are you? I’m somebody who tries his best to be contiguous about the message and how I paint the picture Where are you from? Im from Oakland California By way of San Francisco How can we follow you? Instagram: @wavemakerhuss Twitter: @ foe2ohhuss TickTock: foe2ohhuss Song Title:::Listen

#Foe2oh Huss #TheSupremeTeam
Artist Name: Foe2oh Huss

Who are you?

I’m somebody who tries his best to be contiguous about the message and how I paint the picture

Where are you from?

Im from Oakland California By way of San Francisco

How can we follow you?

Instagram: @wavemakerhuss
Twitter: @ foe2ohhuss
TickTock: foe2ohhuss

Song Title: Agression

Listen to Foe2oh Huss:

Source: https://supremepr.us/

How to write an NFT mint function incorportaing subsidized, free and paid mint?

Shopping cart
There are no products in the cart!
Continue shopping
0