Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/launchbadge/hedera-sdk-go
Hedera™ Hashgraph SDK for Go
https://github.com/launchbadge/hedera-sdk-go
Last synced: about 2 months ago
JSON representation
Hedera™ Hashgraph SDK for Go
- Host: GitHub
- URL: https://github.com/launchbadge/hedera-sdk-go
- Owner: launchbadge
- License: apache-2.0
- Fork: true (hashgraph/hedera-sdk-go)
- Created: 2021-05-04T20:52:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-30T03:24:29.000Z (over 3 years ago)
- Last Synced: 2024-08-01T03:14:10.309Z (5 months ago)
- Homepage: https://docs.hedera.com/docs/hedera-sdks
- Size: 4.63 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hashgraph - Hedera Go SDK - the community-maintained Go SDK for interacting with Hedera Hashgraph. ([Hedera Open Source](#hedera-open-source))
README
![](https://img.shields.io/github/v/tag/hashgraph/hedera-sdk-go)
[![Actions Status](https://github.com/hashgraph/hedera-sdk-go/v2/workflows/Go/badge.svg)](https://github.com/hashgraph/hedera-sdk-Go/actions?query=workflow%3AGo)
![](https://img.shields.io/github/go-mod/go-version/hashgraph/hedera-sdk-go)
[![](https://godoc.org/github.com/hashgraph/hedera-sdk-go/v2?status.svg)](http://godoc.org/github.com/hashgraph/hedera-sdk-go/v2)# Hedera™ Hashgraph Go SDK
> The Go SDK for interacting with [Hedera Hashgraph]: the official distributed consensus
> platform built using the hashgraph consensus algorithm for fast, fair and secure
> transactions. Hedera enables and empowers developers to build an entirely new
> class of decentralized applications.[Hedera Hashgraph]: https://hedera.com/
Hedera Hashgraph communicates using [gRPC]; the Protobufs definitions for the protocol are
available in the [hashgraph/hedera-protobuf] repository.[gRPC]: https://grpc.io
[hashgraph/hedera-protobuf]: https://github.com/hashgraph/hedera-protobuf## Install
```sh
$ go get github.com/hashgraph/hedera-sdk-go/v2
```## Running Integration Tests
```bash
$ env CONFIG_FILE="" go test -v _Execute
```or
```bash
$ env CONFIG_FILE="" OPERATOR_KEY="" OPERATOR_ID="" go test -v _Execute
```or
```bash
$ env OPERATOR_KEY="" OPERATOR_ID="" go test -v _Execute
```The config file _can_ contain both the network and the operator, but you can also
use environment variables `OPERATOR_KEY` and `OPERATOR_ID`. If both are provided
the network is used from the config file, but for the operator the environment variables
take precedence. If the config file is not provided then the network will default to testnet
and `OPERATOR_KEY` and `OPERATOR_ID` **must** be provided.[Example Config File](./client-config-with-operator.json)
## Contributing to this Project
We welcome participation from all developers!
For instructions on how to contribute to this repo, please
review the [Contributing Guide](CONTRIBUTING.md).## License Information
Licensed under Apache License,
Version 2.0 – see [LICENSE](LICENSE) in this repo
or [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)