From c627a9f4009fac1bce03f17e65159c32d4c9cf88 Mon Sep 17 00:00:00 2001 From: Rowin van Amsterdam <33234293+RvanAmsterdam@users.noreply.github.com> Date: Fri, 12 Aug 2022 17:38:30 +0200 Subject: [PATCH] Updated lesson7 with note for TypeScript Added a small note to define blockConfirmations inside the `helper-hardhat-config.ts` file when using TypeScript. See [issue#1707](https://github.com/smartcontractkit/full-blockchain-solidity-course-js/issues/1707) --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index c4681ff..325e731 100644 --- a/README.md +++ b/README.md @@ -1030,6 +1030,9 @@ yarn add --dev @typechain/ethers-v5 @typechain/hardhat @types/chai @types/node @ ## Testnet Demo - Hardhat Fund Me *[⌨️ (10:55:45) Testnet Demo - Hardhat Fund Me](https://youtu.be/gyMwXuJrbJQ?t=39345)* - Hardhat Deploy Block Confirmations +### TypeScript +- [Code file](https://github.com/PatrickAlphaC/hardhat-fund-me-fcc/blob/84271e7002e55d86c90b26466ff27bc067f25de0/deploy/01-deploy-fund-me.ts#L29) (TypeScript edition) +- Define blockConfirmations in the `helper-hardhat-config.ts` file instead of `hardhat-config.js`. ## Solidity Style Guide *[⌨️ (11:00:10) Solidity Style Guide](https://youtu.be/gyMwXuJrbJQ?t=39610)* - [Style Guide](https://docs.soliditylang.org/en/v0.8.15/style-guide.html)