methid

1.0.0 • Public • Published

methid

ci

func & cli that computes an ethereum method id given its signature

usage

.js

var methid = require("methid")

methid("baz(uint32,bool)")
//> 0xcdcd77c0

cli

methid v1.0.0

Usage: methid [SIGNATURE]

Computes an ethereum method id given its signature.

Checks stdin for piped data, otherwise assumes SIGNATURE to be set.

Options:
  -h, --help            print help
  -v, --version         print version

Examples:
  methid "baz(uint32,bool)"
  echo "baz(uint32,bool)" | methid

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i methid

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

4.65 kB

Total Files

7

Last publish

Collaborators

  • chiefbiiko