âī¸Freeze Non-Fungible Tokens
Simple script to freeze a token for an account. Requires FREEZE Key to be set at time of mint. This allows the creator to make tokens 'soulbound' as soon as sent then run freezeNFT to soulbound.
Usage
Edit your .env file (rename .env.example to .env) with the following items:
We recommend to remove the private key from the .env file after use. Extra precaution.
Then, in your Node.js command prompt terminal, you can use
Arguments
-acc for the account where the NFT to freeze is
-unfreeze to free/unfreeze a token (default is a freeze operation)
Last updated