From aeb8c02bed7d2e75579d41b37540589c06a115bd Mon Sep 17 00:00:00 2001 From: Adam Sobotka Date: Sun, 28 Nov 2021 18:03:07 +0100 Subject: [PATCH] Update README.md Mention of the issue with SSL on some systems. --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 935876d3..58dcce2e 100644 --- a/README.md +++ b/README.md @@ -45,19 +45,31 @@ npm install yarn ``` -2. Start the local Hardhat node +2. Test the smart contracts + +```sh +npx harthat test +``` +Note that on some systems you'll need to set old SSL environment via + +```sh +export NODE_OPTIONS=--openssl-legacy-provider +``` + + +3. Start the local Hardhat node ```sh npx hardhat node ``` -3. With the network running, deploy the contracts to the local network in a separate terminal window +4. With the network running, deploy the contracts to the local network in a separate terminal window ```sh npx hardhat run scripts/deploy.js --network localhost ``` -4. Start the app +5. Start the app ``` npm run dev