Skip to content

Commit

Permalink
Adding some documentation for hardhat networks config
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Stefanov <[email protected]>
  • Loading branch information
stefan-stefanooov committed Dec 7, 2023
1 parent cf41c3b commit cf9962f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TEST_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ At root, create a `.env` file using the `example.env` as the template and fill o

Adjust the `defaultNetwork` field in the [hardhat.config.js](hardhat.config.js) file based on the network your accounts (specified in the .env file) are associated with.

Available Networks:
- local for reference and how to setup a local besu node please follow the [link](https://docs.hedera.com/hedera/sdks-and-apis/sdks/set-up-your-local-network)
- testnet
- previewnet
- besu_local for reference and how to setup a local besu node please follow the [link](https://besu.hyperledger.org/)

#### 4. Installing the `foundry-rs` toolkit for the `forge` testing framework

**_Motivation_**: This step is necessary for the project as it utilizes the `hardhat-foundry` plugin, enabling Hardhat to use dependencies from the `./lib` folder, which are installed using `forge`. Consequently, the plugin attempts to execute `forge install` to make these dependencies accessible to Hardhat. Therefore, it is crucial to install the `forge` testing framework, which is a part of the `foundry-rs` toolkit.
Expand Down

0 comments on commit cf9962f

Please sign in to comment.