Promos
What Are Promos?
The simple idea is you can reward the holder of a token with another token. You can do whitelists, free claims, discounts and ultra rare copies. There are two different types of promos. One is contract wide, and works for all ERC-721 tokens. The second type works just for 721J tokens and allows more specific promos to be set.
Promos are:
Any token gated mint
Whitelists, free claims, discounts, and expensive rare variants
Can use any token from a contract, or any song and/or rarity of a 721J
Gives more freedom in how something gets distributed by token gating the audience and rewarding holders.
Promos (short for promotions) are special token gated mints.
Any token from an ERC-721 collection can be eligible for a promo. The artist can set a promo to require any NFT in the collection, or use song and rarity to further specify the requirement.
Free Claims
Promos can reward a free claim, so it's 0 friction to collect new tokens.
Whitelists
Using promos for whitelists results in an old fashioned token gated mint.
Price Variations
Using a discounted or inflated price for minting is an option too. Make an extra common low price rarity, or a high price extra rare option.
Promo Code
The promo system includes its own mappings in the smart contract code to keep track of all the active promos, and which tokens have used up their claim. The mappings can be read with the functions promoCheck and promoCheckSpecific, to see what the reward is for a promo. The functions tokenClaimCheck and tokenClaimCheckSpecific will return yes or no to if a token has used up its claim.
The functions setPromo and setPromoSpecific are used to set the 2 different types of promos.
The functions promoMint, promoMintSpecific, promoMintSong, and promoMintRarity are used to mint promos. PromoMint deals with normal contract wide promos. promoMintSpecific has to do with a promo that requires both a specific song and rarity. PromoMintRarity is for minting promos that require any song of a certain rarity. PromoMintSong is for minting promos that require any rarity of a specific song.
Examples of promos:
An example of a normal discount promo is to reward any holder of a MAYC (an NFT collection) with a 69% discount of song 2 rarity 3.
An example of a normal whitelist promo is to allow all holders of a BAYC (an NFT collection) whitelist to mint a rarity 69k token of the most recent song. Regular mint price, but the rarity is outside of normal distribution.
An example of a specific song free claim is to reward holders of any rarity of song 1 (on your contract) with a normal edition of song 2.
An example of a specific free claim is to reward holders of generation 3 of song 2 on your buddy's contract with generation 3 of song 5 on your contract.
Old Video
Last updated