Understanding Storage Deposits
Creating a Collection or Token on the Enjin Blockchain requires a certain amount of ENJ tokens to be deposited as a Storage Deposit. It's important to understand that these deposits are not fees, but rather, they serve as a temporary hold of ENJ tokens.
The key feature of these deposits is that they are refundable.
When the storage used for the Collection or Token is destroyed, the issuer will have the storage deposit returned.
For example, if a collection is destroyed, the collection storage deposit will be returned to the collection owner.
In this guide you will learn how to completely destroy a token and a collection
Preparation Steps
- Before proceeding, it's important to make sure that the token creator wallet is accessible through the Polkadot{.js} extension in your browser.
- It's also crucial that the wallet is configured correctly for use with the Enjin Blockchain Console. To make sure of that, please follow the steps in this link: Configuring Polkadot{.js} for use with the Enjin Blockchain Console
- Make sure you are connected to the Enjin Matrixchain to remove a collection/token on the Enjin Matrixchain.
Destroying a Token
Requirements
To destroy a token, the token must first meet these requirements:
- The token has no attributes
- The token has 0 supply
Step 1: Navigate to the "My Collections" page
Navigate to the Enjin Blockchain console: console.enjin.io. Make sure that you are connected to the Enjin Matrixchain. If not, switch to it by following the steps in this guide: Switching to the Enjin Matrixchain
In the Enjin Blockchain Console, hover over the "Network" tab, and click the "NFTs" button, followed by "My Collections"
Step 2: Destroying token attribute
Locate the token you wish to destroy attributes for and click on it.
Then, locate the attribute you want to destroy and click on the edit button to it's right.
Make sure to set the toggle to "remove the attribute", click the "Remove attribute" button and sign the transaction with your wallet.
⚠️ If you wish to destroy the token, make sure to destroy all token attributes or you won't be able to destroy the token!
Step 3: Destroying the token
Locate the token you wish to destroy and click on it, then, click on the "Burn" button.
Insert the "burn amount" (the entire token supply must be burned in order to destroy the token).
Make sure to set the toggle to [burn with "remove token storage" checks], then click on the "Burn" button and sign the transaction with your wallet.
⚠️ If you wish to destroy the collection, make sure to destroy all of the tokens in the collection or you won't be able to destroy the collection!
Destroying a Collection
To destroy a collection, the collection must first meet these requirements:
- The collection has no attributes
- There are no tokens in the collection (not even tokens with 0 circulating supply)
Step 1: Navigate to the "My Collections" page
Navigate to the Enjin Blockchain console: console.enjin.io. Make sure that you are connected to the Enjin Matrixchain. If not, switch to it by following the steps in this guide: Switching to the Enjin Matrixchain
In the Enjin Blockchain Console, hover over the "Network" tab, and click the "NFTs" button, followed by "My Collections"
Step 2: Destroying collection attribute
Locate the collection you wish to destroy attributes for and click on it.
Then, locate the attribute you want to destroy and click on the edit button to it's right.
Make sure to set the toggle to "remove the attribute", click the "Remove attribute" button and sign the transaction with your wallet.
⚠️ If you wish to destroy the collection, make sure to destroy all of the collection attributes or you won't be able to destroy the collection!
Step 3: Destroying the collection
Locate the collection you wish to destroy and click on it, then, click on the "Destroy Collection" button.
Confirm the collection destruction by clicking the "Destroy Collection" button and sign the transaction with your wallet.
Comments
0 comments
Please sign in to leave a comment.