Skip to content

daiwanwei/eth-data-coder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eth-data-coder

Description

command line for decode/encode function signature,input data and event log

Commands

  • abi
    • getFunctionSighash
    • getEventTopic
  • decode
    • decodeData
    • decodeLog
  • erc20
    • decodeData
    • getFunctionSighash
    • decodeLog
    • getEventTopic

How To Run This Project

Installation

yarn install

Run

#get info of command 
$ yarn start:cli {command} --help  
#get function sighash  
$ yarn start:cli abi getFunctionSighash --abiPath={YOUR_ABI_PATH}  
#get decoded data  
$ yarn start:cli decode decodeData {INPUT_DATA} --abiPath={YOUR_ABI_PATH}  

Test

yarn test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published