Token and Account Gating
Last updated
Last updated
Gating is a concept where to purchase or access one thing, you have to own another. DPub enables creators to gate the purchase or airdrop of NFTs by:
Account ID
Token ID
Start Date
For example, to purchase token 0.0.651316, you must own token 0.0.642225.
For buyers, to purchase your NFT they must log in. They will be presented with a button that states "Connect Wallet to Purchase."
After the buyer has logged in, the buyer will be able to purchase through the standard process if they pass the gating test (token id, account id, or start date)
To Token Gate an NFT, go to Published NFTs and click the NFT you would like to gate.
Go the Restrictions and enter the token id and click "Add Token ID" button.
To delete a token, simply click on the token id that you would like to delete
Account ID gating is done the same way as token gating. Simply type (or paste) the account id of the party you wish to be able to purchase (or airdrop) the token to and click "Account ID".
To delete, simply click on the account id (x).
For airdrops, especially, you don't want one buyer to be able to keep refreshing and take all of your airdrops. Set the number per buyer to restrict how many a user can purchase.