getamis / sol2proto

Ethereum contract ABI to gRPC protobuf IDL transpiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sol2proto

License: LGPL v3 Go Report Card Contributions Welcome

The Ethereum ABI to gRPC protobuf transpiler

Installation

go get github.com/getamis/sol2proto

Usage

Usage of sol2proto:
      --abi stringArray   ABI files generated by solc
  -o, --output string     Output destination, could be 'stdout', 'stderr' or a directory (default "stdout")
      --pkg string        go package name for the generated proto (default "pb")

Output to stdout

sol2proto --pkg awesome --abi MyAwesomeContract.abi > my_awesome_contract.proto

Output to a directory

sol2proto --pkg awesome --abi MyAwesomeContract.abi -o .

License

sol2proto is licensed under the GNU Lesser General Public License v3.0, also included in our repository in the LICENSE file.

About

Ethereum contract ABI to gRPC protobuf IDL transpiler

License:GNU Lesser General Public License v3.0


Languages

Language:Go 100.0%