solidity-visualizer

0.2.0 • Public • Published

solidity-visualizer

Solidity Visualizer

This is a solidity-visualizer which visualizes relationship of Inheritances and Uses between Solidity Smart Contracts.

Install

$ npm install -g solidity-visualizer

Usage

$ solvis <your truffle project root path> <solidity file's relative path from truffle project root >

Example1

$ solvis test/project/TGCrowdsale contracts/TGCrowdsale.sol

Example2

$ solvis test/project/TGCrowdsale node_modules/openzeppelin-solidity/contracts/crowdsale/validation/CappedCrowdsale.sol

Report

You can see a sample report. Please open "sample_report/TGCrowdsale_20180730120438.html" in browser.

Note

  • solidity-visualizer supports only truffle project format.
  • Please open this report file on Chrome or Firefox, or diagram may not appear.

License

MIT

Package Sidebar

Install

npm i solidity-visualizer

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

19.9 kB

Total Files

6

Last publish

Collaborators

  • tagomaru