Cardano Account Load Binder

Introduction

The Cardano Account Load Binder is a form load binder plugin that allows you to load data from a Cardano blockchain address directly into a form. This plugin can be used either at the form level or at the form section level, making it flexible for various application designs.

Get started

Prerequisites

  • You must have a valid Cardano blockchain address.
  • You need a Blockfrost Project Key to access Cardano blockchain data.

Where to get the plugin

You can download the Cardano Account Load Binder 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.

Configure cardano account load binder properties

To configure Cardano Account Load Binder properties, in the Form Builder, select + to create a section, click in the Section to open properties, go to Data > Load Data Fromand in the dropdown, select the Cardano Account Load Binder.

Fields to configure:

  • Network Type: Select the type of Cardano network:
  • Backend Service: Configure the backend service. 
    Type
    • Blockfrost
    • Koios
  • Blockfrost Project Key: Use the Blockfrost Project Key to connect your app with the Cardano blockchain.
  • Account Address: Account base address. Hash variable is also accepted.

Map value to form fields

Fields to configure:

  • ADA Balance: The current available ADA balance in the account.
  • Token Balance Display Mode: Select the token balance display mode:
    • Show Selected
    • Show All
  • Asset Balances:
    • Asset ID: Paste in the asset ID of the native token.
      To learn more about native tokens in Cardano, see Native tokens.
    • Map To Form Field: Selections here will show all available fields in the current form.
      Select the field to load this native token balance to.
  • Asset Balance Field (JSON): This property will only appear when the Token Balance Display Mode is Show All.
    Every asset ID exists in the account will be retrieved and displayed in JSON format.
  • Hide Asset(s): This property will only appear when Token Balance Display Mode is Show All.
    Paste in the asset ID that you want to hide. You can use a Hash Variable or hardcoded.
  • Account Type: The address type of this account.

    To learn more about Cardano address types, see Cardano address types.

Download plugin

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