Readonly
mode: WhitelistMintModeDetermines how the whitelist token is used.
WhitelistMintMode.BurnEveryTime
: a whitelist token is burned every time an NFT is mint.WhitelistMintMode.NeverBurn
: whitelist tokens are kept after minting.Readonly
mint: PublicKeyThe mint address of the whitelist token.
Readonly
presale: booleanIndicates whether whitelist token holders can mint before the live date.
Readonly
discountThe updated price for whitelist token holders.
When provided, this discountPrice
will be used instead of the original price
for whitelist token holders only. When null
, everybody will pay the original price
.
Generated using TypeDoc
Whitelist settings provide a variety of different use cases and revolve around the idea of using custom SPL tokens to offer special rights to token holders. How these SPL tokens are distributed is up to you.
For example, you can offer a discount to token holders, you can allow token holders to mint NFTs before everyone else, or a combination of both.