If a gym membership was an NFT, think of “revoke” as the gym canceling the membership on behalf of the user without their approval.
- Revoke an NFT from a user who has violated your Terms of Service.
- Revoke an NFT from a wallet that has been reported stolen.
Yep. The Minting Toolkit is able to revoke an NFT from any wallet holder, regardless of who’s holding it. It works because the contract always allows the collection owner (our deployer wallet in this case) to revoke the NFT at any time without the user’s approval.
Absolutely. The Minting Toolkit supports revoking NFTs with your own contract or with Paper's, with slight differences.
With NFT collection created with Paper’s Minting Toolkit: You’d use Paper’s dashboard or API to revoke the NFT from the holder.
- Pros: no user prompts
- Cons: must use the Paper-managed contract
The flow works like this:
- You will prompt the user to sign a transaction to get a signature (this doesn’t cost gas).
- You will then provide this signature to Paper in the
mintMethod. If this signature is valid, the NFT will get revoked.
- Pros: can use own contract
- Cons: harder to implement, requires prompting the user.
*Note: Since this is just a specific implementation of
mintMethod, it works with any Paper product that uses
mintMethod, e.g., Checkouts (the difference there being the user pays fees).