From cf9962f108caad84e1d9236441505bb02e3d0c9e Mon Sep 17 00:00:00 2001 From: Stefan Stefanov Date: Thu, 7 Dec 2023 09:55:15 +0200 Subject: [PATCH] Adding some documentation for hardhat networks config Signed-off-by: Stefan Stefanov --- TEST_SETUP.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TEST_SETUP.md b/TEST_SETUP.md index 9fdddba7f..17440df6a 100644 --- a/TEST_SETUP.md +++ b/TEST_SETUP.md @@ -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.