Skip to content

An informal collection of example transactions coded against the Hedera JS SDK.

License

Notifications You must be signed in to change notification settings

woodwardmatt/hashgraph-tools

Repository files navigation

hashgraph-tools

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.
  • Account Key to Threshold Key - An example of how to update your account to be a Multi-signature account (more docs to come).
  • Burning NFTs - (burn.js) An example of the burn transaction used to burn NFTs.
  • 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 quick utility to generate new key pairs for working with NFTs
  • Generate Token with Threshold Keys - An example of creating a HTS token with threshold keys for the tokens supply / admin (more docs to come)
  • Generate Topic with Threshold Keys for Submitting Messages - An example of creating a HCS topic with threshold keys for submittign messages to the topic (more docs to come)
  • 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 the transaction used to reset the keys on your Tokens.

Getting Started

To use these scripts:

  • Download / Clone the repo to your local machine
  • Install NodeJS - https://nodejs.dev/learn/how-to-install-nodejs
  • Install all dependencies using npm install (using the terminal inside VSCode for example)
  • Configure the script that you want to run in package.json
  • Run npm start

Further Information

Please see the wiki for further notes / information on each transaction.

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).

Donations

If you've found these scripts useful and you'd like to donate to support my work, please send your donation to Hedera Account ID: 0.0.508156

About

An informal collection of example transactions coded against the Hedera JS SDK.

Topics

Resources

License

Stars

Watchers

Forks