Visualize your Solidity smart contracts
2 min readMay 3, 2022
The design of smart contracts is very sensitive. There must be no vulnerabilities. Security audits are of course the first tool to mitigate the risks. Generating documentation to visualize the control flow of the functions can also help to highlight possible vulnerabilities.
The solgraph
(https://www.npmjs.com/package/solgraph) the tool automatically generates a PNG image that is an important piece of documentation.
To simplify its use, we will use a Docker image (devopstestlab/solgraph
) that I built.