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

    Install

    npm i methid

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.65 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar