1.0.4 • Published 2 years ago

@marcocastignoli/bytecode-utils v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

bytecode-utils

Decode a contract's bytecode

Install

yarn add @marcocastignoli/bytecode-utils

Usage

decode(bytecodeRaw);

Result

{
  "cbor": {
    "bytes": "0xa2646970667358221220dceca8706b29e917dacf25fceef95acac8d90d765ac926663ce4096195952b6164736f6c634300060b",
    "length": 51
  },
  "ipfs": "QmdD3hpMj6mEFVy9DP4QqjHaoeYbhKsYvApX1YZNfjTVWp",
  "solcVersion": "0.6.11"
}