Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 970 Bytes

File metadata and controls

37 lines (26 loc) · 970 Bytes

HCS CLI

This is a command line tool to interact with Hedera Consensus Service.

To get started, you must either have a mainnet or a testnet account. You can register at portal.hedera.com to get an account. You must update hedera_env.json with your account info before running the tool.

Installation

$ GO111MODULE=on go get github.com/hashgraph/hcscli

Configure your Hedera environment

  • Open the hedera_env.json file
  • Enter your Hedera account (x.z.y format)
  • Enter your private key
  • Save the file

Get your account balance

$ hcscli account balance 0.0.100

Example output:

account: 0.0.100, balance: 10000 ℏ

License Information

Licensed under Apache License, Version 2.0 – see LICENSE in this repo or apache.org/licenses/LICENSE-2.0