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)
This commit is contained in:
Rowin van Amsterdam
2022-08-12 17:38:30 +02:00
committed by GitHub
parent 45d3f823af
commit c627a9f400

View File

@@ -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)