Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
share-2

GitHub Action

Hedera Solo

v0.2

Hedera Solo

share-2

Hedera Solo

Run a Hedera Solo network

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Hedera Solo

uses: OpenElements/[email protected]

Learn more about this action in OpenElements/hedera-solo-action

Choose a version

hedera-solo-action

A GitHub Action for setting up a Hedera Solo network. The network contains one node that can be accessed at localhost:50211.

The action creates an account that contains 10,000,000 hbars. All information about the account is stored as output to the github action.

Inputs

The GitHub action takes the following inputs:

  • installMirrorNode: A boolean parameter that is false by default. If set to true, the action will install a mirror node in addition to the main node. The mirror node can be accessed at localhost:8080.

Outputs

The GitHub action outputs the following information:

  • accountId: The account ID of the account created.
  • privateKey: The private key of the account created.
  • publicKey: The public key of the account created.

Usage

- name: Setup Hedera Solo
  uses: OpenElements/[email protected]
  id: solo
  
- name: Use Hedera Solo
  run: |
    echo "Account ID: ${{ steps.solo.outputs.accountId }}"
    echo "Private Key: ${{ steps.solo.outputs.privateKey }}"
    echo "Public Key: ${{ steps.solo.outputs.publicKey }}"

Tributes

This action is based on the work of Hedera Hashgraph and Hedera Solo. Without the great help of Timo, Nathan, and Lenin this action would not exist.