scsr
v1.0.1
Published
Solidity Contract Size Reporter
Downloads
3
Maintainers
Readme
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.
Getting Started
sudo npm install scsr -g
CLI Arguments
- Path to truffle project (or similar) root.
string
- Show detailed report.
false
ortrue
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