Skip to content
Matt Woodward edited this page Mar 14, 2024 · 3 revisions

This repo is an informal collection of example transactions coded against the Hedera JS SDK.

Contents

The following are currently included:

  • Account Key Reset - (account_key_reset.js) An example of the transaction required to update an account's mnemonic phrase, and derived private & public keys.
  • Burning NFTs - (burn.js) An example of a transaction that will burn either all serials for an NFT, or just the serials you specify.
  • Generate Accounts - (generate_accounts.js) An example of a transaction that will create a list of new accounts and output all credentials.
  • Generate Keys - (generate_keys.js) An example of how to create a list of new keys for use with accounts, or NFT keys etc.
  • Minting NFTs - (mint.js) An example of the transactions required to mint NFTs underneath a parent Token ID (i.e. collection) - More info coming....(bear with me)
  • Token Key Reset - (token_key_reset.js) An example of a transaction that updates the following keys on a token (that uses an Admin Key): Supply, Pause, Free, Wipe.

Disclaimer

The following disclaimers are noted:

  • Use of this code is at your own risk.
  • No warranty is implied in the sharing of this code.
  • No liability is assumed in the sharing of this code.
  • This code has been created for a development environment use-case only (i.e. not for production grade applications).