scsr

1.0.1 • Public • Published

SCSR: Solidity Contract Size Reporter

This command-line utility calculates the bytecode length of your solidity contracts and warns you if you are approaching maximum contract size limit.

Solidity Contract Size Reporter

Getting Started

sudo npm install scsr -g

CLI Arguments

  1. Path to truffle project (or similar) root. string
  2. Show detailed report. false or true

How to Use Solidity Contract Size Reporter?

Edit your package json and add an entry under scripts section.

  "scripts"{
    "compile": "truffle compile && scsr ./ true",
  },

and run

npm run compile

Package Sidebar

Install

npm i scsr

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

216 kB

Total Files

6

Last publish

Collaborators

  • binod