hedera-protobufs-local

module
v1.0.0-beta.11083 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: Apache-2.0

README

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/CaioLuColaco/hedera-protobufs-local

Usage

import "github.com/CaioLuColaco/hedera-protobufs-local/services"

Example

to be written

Development

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

Prerequisites
  • Go v15+

  • Protobuf Compiler

  • Go plugins for the protobuf compiler

    $ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.27.1
    $ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1.0
    
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 ./...

License

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

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL