omnes-tech / abi

Golang package that encodes parameters similarly to Solidity's `abi.encode`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

abi: Easy to use ABI encoding and decoding functionalities from EVM blockchains

Go Reference Go Report Card Coverage Status Latest Release

Encode to and decode from bytecode easily with abi package. Usage is similar to Solididy's abi.encode, abi.encodePacked, and abi.decode functions.

go get github.com/omnes-tech/abi

At a Glance

Encode functions:

  • Encode
  • EncodePacked
  • EncodeSelector
  • EncodeWithSignature
  • EncodeWithSelector

Decode functions:

  • Decode
  • DecodePacked
  • DecodeWithSignature
  • DecodeWithSelector

About

Golang package that encodes parameters similarly to Solidity's `abi.encode`

License:MIT License


Languages

Language:Go 100.0%