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

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/hedera-solo-action@v0.1

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. The node can be accessed at localhost:50211.

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

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/hedera-solo-action@v1
  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 }}"