Hedera Generate Account Tool

Introduction

The Hedera Generate Account Tool is a process tool plugin that allows you to create an account on the Hedera Distributed Ledger Technology (DLT) and store the account details in a form.

Remember that newly created accounts must be funded before any actions are performed on the Hedera DLT. If you are using Previewnet or Testnet, check the Fund Test Account plugin property.

Get started

Where to get the plugin

Download the Hedera Genera Account Tool from the JogetOSS GitHub repository.

How to install

  1. Click Download on this plugin screen (It will be a .jar file).
  2. Go to your Joget localhost or server. In the Joget Console, go to Admin Bar > Systems Settings > Manage Plugins and click the Upload Plugins button.
  3. Under Upload Plugin, select the plugin .jar file you downloaded and click Upload.
  4. Depending on the plugin type, you can now view your new plugin in your form, List, or UI Builder.
  5. Remember to uninstall the old plugin before uploading a new version.
  6. The Joget Knowledge Base has more information on managing and developing plugins.
Note:
If you use the Hashgraph Application Studio, the plugin pack and the sample app are already included by default.

Configure hedera generate account tool Properties

  • Operator ID: This corresponds to your Hedera Operator ID. For further details, see the Hedera Default Backend Configuration.
  • Operator Key: Enter your Hedera Operator Key to create an account.
  • Network Type: Choose Previewnet, Testnet, or Mainnet based on your environment.
  • Account Memo: Add a custom note for the generated account. This field accepts hash variables.
  • Fund Test Account: Only available if Previewnet or Testnet is selected for Network Type property.
    Check this option to fund the test account upon account creation automatically.
  • Set As Multisig Account: Check this option to generate multi-signature accounts instead of regular single-key accounts.
  • Form To Retrieve Account Data From: Only available if Set As Multisig Account property is checked.
    Select a form to retrieve form data for the would-be signer's account data for this multi-sig account.
  • Signer Account Mnemonic Field: Only available if Set As Multisig Account property is checked.
    Fields available here depend on the form selected from Form To Retrieve Account Data From property.
    Select the form field that stores the signer's mnemonic phrase.
    Depending on the Signer Account IDs configured, their respective mnemonic phrase is retrieved automatically to generate this multi-sig account.
  • Signer Account IDs: Only available if Set As Multisig Account property is checked.

    Typically, a Hash Variable is used here.
    Expect a string value of multiple Hedera account IDs, delimited by a semicolon (;), to represent the would-be signers for this multi-sig account.

Store account data to form

  • Form: Select a form to store the account data.

    All fields from the selected form will be available for field mapping in the section below.

Field Mapping
  • Account ID: The Hedera account's unique identifier. This value will be stored as the record ID of the chosen form.
  • Account Mnemonic Phrase: This secret key is used to access the generated account.
    This phrase can be used on a qualified wallet to recover the account if account data is lost.
    This value is stored as an encrypted value in the database.
    Caution: Ensure that the Account Mnemonic Phrase is always kept secure. Anyone with access to this phrase has complete control over the account and can cause irreparable damage.
  • Account Owner Field: The field to store the owner of the newly generated account.
  • Account Owner Value: To set the account owner value to the field selected on the Account Owner Field property.
    The Hash Variable is accepted here. Typically, it points to an actual Joget user, such as a Joget username.
  • Is Test Account Flag: To indicate if this is a real or test account.
  • Is Multisig Account Flag: To indicate if this is a multi-signature or regular single-key account.
  • Multisig Account Signers: Only available if Set As Multisig Account property is checked.
    The field to store the signer IDs of the newly generated multi-sig account.

Store data to workflow variable

  • Response Status: Indicates whether the account was successfully generated.
  • Is Test Account Flag: Identifies whether the account is a real or test account.

Download plugin

Created by Julieth Last modified by Aadrian on Nov 19, 2024