Skip to content

Commit

Permalink
Update README.md for hardhat support
Browse files Browse the repository at this point in the history
  • Loading branch information
camden-smallwood committed May 5, 2022
1 parent 543e8f9 commit 7b51236
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ Some legacy versions of Solidity are inherently supported (0.5.X-0.7.X), but the
cargo run --release -- [--todo_list] [--contract=<contract_name>] [--analyzer_name1] [--analyzer_nameN] <project_directory>
```

Currently, SolAST requires utilization of either a [truffle](https://www.trufflesuite.com/) project or a [brownie](https://eth-brownie.readthedocs.io/en/stable/) project.

Please file an issue if you would like support for another build system.
Currently, SolAST requires utilization of one of the following build systems:
* [Brownie](https://eth-brownie.readthedocs.io/en/stable/)
* [Hardhat](https://hardhat.org/)
* [Truffle](https://www.trufflesuite.com/)

If you only have `.sol` files, you can create a quick truffle project by performing the following:

Expand All @@ -34,15 +35,15 @@ truffle init
cp ~/Downloads/awesome-contracts/*.sol contracts/
```

Use your favorite text editor to change the `solc` version in `truffle-config.js` to `0.8.10` (or the relevant `0.8.X`).
Use your favorite text editor to change the `solc` version in `truffle-config.js` to `0.8.13` (or the relevant `0.8.X`).

```Json
module.exports = {
networks: {},
mocha: {},
compilers: {
solc: {
version: "0.8.10",
version: "0.8.13",
}
}
};
Expand Down

0 comments on commit 7b51236

Please sign in to comment.