hashgraph / hedera-protobufs-go

Generated protobufs in Go for interacting with Hedera™ Hashgraph
Apache License 2.0
5 stars 6 forks source link
go hacktoberfest hedera protobuf

Hedera™ Hashgraph Go Protubufs

Generated protobufs in Go 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.

Install

$ go get github.com/hashgraph/hedera-protobufs-go

Usage

import "github.com/hashgraph/hedera-protobufs-go/services"

Example

to be written

Development

When updating the protobufs submodule, the generated code should be updated.

Prerequisites

Build

# update the proto/ directory from hedera-protobufs
$ git submodule update --init

# generate go code from protobuf definitions
$ go generate ./...

# ensure the projects build
$ go vet ./...

If you are experiencing generation difficulties:

License

Licensed under Apache License, Version 2.0 – see LICENSE in this repo