solidity-static-analysis

1.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i solidity-static-analysis

Weekly Downloads

3

Version

1.1.0

License

none

Last publish

Collaborators

  • victory