lbqds / eth-abi

generate scala code from solidity contract

GitHub

eth-abi

Build Status

generate scala code from solidity contract

codegen

download from the release page, then execute:

$ tar -xf abi-codegen.tar.gz
$ scala abi-codegen.jar --help

it will show usage as follow:

abi-codegen 0.1
Usage: abi-codegen [options]

  -a, --abi <abiFile>          contract abi file
  -b, --bin <binFile>          contract bin file
  -p, --package <packages>     package name e.g. "examples.token"
  -c, --className <className>  class name
  -o, --output <output dir>    output directory
  -h, --help                   show usage

there are some generated examples

ABIEncoderV2

eth-abi support experimental ABIEncoderV2 feature, tuple will map to TupleTypeN, the generated exchange use this feature heavily.

Sonatype

eth-abi can also be used to interact directly with ethereum, please wait to publish