Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/getamis/sol2proto
Ethereum contract ABI to gRPC protobuf IDL transpiler
https://github.com/getamis/sol2proto
contracts ethereum go-ethereum grpc protobuf protocol-buffer solidity solidity-abi solidity-contracts
Last synced: 6 days ago
JSON representation
Ethereum contract ABI to gRPC protobuf IDL transpiler
- Host: GitHub
- URL: https://github.com/getamis/sol2proto
- Owner: getamis
- License: lgpl-3.0
- Created: 2017-10-14T12:26:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-06T02:52:05.000Z (over 6 years ago)
- Last Synced: 2024-06-19T02:04:15.383Z (5 months ago)
- Topics: contracts, ethereum, go-ethereum, grpc, protobuf, protocol-buffer, solidity, solidity-abi, solidity-contracts
- Language: Go
- Homepage:
- Size: 44.6 MB
- Stars: 47
- Watchers: 26
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sol2proto
[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
[![Go Report Card](https://goreportcard.com/badge/github.com/getamis/sol2proto)](https://goreportcard.com/report/github.com/getamis/sol2proto)
[![Contributions Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/getamis/sol2proto)The Ethereum ABI to gRPC protobuf transpiler
## Installation
```bash
go get github.com/getamis/sol2proto
```## Usage
```text
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`
```bash
sol2proto --pkg awesome --abi MyAwesomeContract.abi > my_awesome_contract.proto
```Output to a directory
```bash
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.