Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 821 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 821 Bytes

Solc-dApp

A developing compiler for dApp featuring:

  1. generate dependency graph for dApp.
  2. automatically switch solc version for compiling.

A Sample Graph sample

Dependency

solidity-parser=0.1.1

solc-select

graphviz=0.20.1

Usage

Command Line Interface (CLI)

Usage: python3 ./main.py <options>

Options:
  -h, --help            
  -i, --inputDir <inputDir>           the dApp's folder
  -o, --outputDir <outputDir>         the output folder(default: ./output)
  -n, --contractName <contractName>   the name of file to be compiled
  -g, --graph                         generate the dependency graph

Example

#> python3 main.py -i ./example-inputDir -g
#> python3 main.py -i ./example-inputDir -n Migrations