这是indexloc提供的服务,不要输入任何密码
Skip to content

Victory/solidity-static-analysis

 
 

Repository files navigation

solidity-static-analysis

The goals of this project is to create a way to add Remix's static analysis to your Truffle workflow.

To get started make sure you are running node v8.6.0. The easiest way to do that is via nvm.

nvm install v8.6.0
nvm use v8.6.0

Once you have node v8.6.0 installed run

npm upgrade
node analyse SomeContract.sol

Replacing SomeContract.sol to the path of your contract.

There are some examples in ./contracts which you can run with

node analyse ./contracts/BadCode.sol

Or to run all the .sol files in a directory

node analyse --directory ./contracts

Currently the only stand alone contracts are supported but if there is interest we will support included contracts and libraries.

About

Run Remix Static Analysis with Truffle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%