# README
hedera-setup-go
Command line tool to perform basic setup on the hedera network.
Running locally
Using zenv setup environment source zenv hedera-sandbox
. Should have environment variables for the operator account id and private key.
create account
go run cmd/main.go create-account \
-network testnet \
-operator-account $ACCOUNT_ID \
-operator-private-key $PRIVATE_KEY
create topic
go run cmd/main.go create-topic \
-network testnet \
-operator-account $ACCOUNT_ID \
-operator-private-key $PRIVATE_KEY \
-memo <memo_for_topic>
account balance
go run cmd/main.go account-balance \
-network testnet \
-operator-account $ACCOUNT_ID \
-operator-private-key $PRIVATE_KEY \
-account-id <account_id_to_query>
submit message to given topic
go run cmd/main.go submit-topic-message \
-network testnet \
-operator-account $ACCOUNT_ID \
-operator-private-key $PRIVATE_KEY \
-topic-id $TOPIC_ID \
-message <message_to_publish>
# Packages
No description provided by the author