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": ,
and run
npm run compile