I'm trying to build a tool for Solidity static analysis. As the AST can be generated for the compiler. So I wonder if there are already tools to generate the program dependency graph for the solidity smart contract.

2 Answers 2


The Solidity Visual Developer VSCode extension offers this feature, among many others:

VSCode Extension preview


you can use https://github.com/ConsenSys/surya .

Surya is an utility tool for smart contract systems. It provides a number of visual outputs and information about the contracts' structure. Also supports querying the function call graph in multiple ways to aid in the manual inspection of contracts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.