Skip to content

Token Key Reset

woodwardmatt edited this page May 15, 2022 · 1 revision

This transaction updates the following keys on a token using an Admin Key: Supply, Pause, Free, Wipe.

Requirements

The following will be required:

  • You will need an operator account to pay for the update transaction (account ID and private key) - update the .env file with this info
  • You will need the token details of the token to update (token ID and admin key) - update the .env file with the admin key
  • This code runs under Node JS (and has the "npm start" script command already configured)

Getting Started

To use the Token Key Reset:

  • Update the package.json file (at line 12) to call the token_key_reset.js file: "start": "node token_key_reset.js"

Notes

The following are worth noting:

  • The Admin Key is not updated during this process.

References:

The following materials were referenced / used in creating this code:

Clone this wiki locally