mirror of
https://github.com/smartcontractkit/full-blockchain-solidity-course-js.git
synced 2026-09-06 08:52:01 +00:00
Merge pull request #516 from marthendalnunes/vitor/add-typescript-dependencies
Add Typescript dependencies version to HardHat raffle setup
This commit is contained in:
@@ -1140,6 +1140,10 @@ MetaMask - RPC Error:
|
||||
```bash
|
||||
yarn add --dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers ethers @nomiclabs/hardhat-etherscan @nomiclabs/hardhat-waffle chai ethereum-waffle hardhat hardhat-contract-sizer hardhat-deploy hardhat-gas-reporter prettier prettier-plugin-solidity solhint solidity-coverage dotenv
|
||||
```
|
||||
- Install dependencies (Typescript version):
|
||||
```bash
|
||||
yarn add --dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers ethers @nomiclabs/hardhat-etherscan @nomiclabs/hardhat-waffle chai ethereum-waffle hardhat hardhat-contract-sizer hardhat-deploy hardhat-gas-reporter prettier prettier-plugin-solidity solhint solidity-coverage dotenv @typechain/ethers-v5 @typechain/hardhat @types/chai @types/node ts-node typechain typescript
|
||||
```
|
||||
## Raffle.sol Setup
|
||||
*[⌨️ (13:46:55) Raffle.sol Setup](https://youtu.be/gyMwXuJrbJQ?t=49615)*
|
||||
- [Custom Errors in Solidity](https://blog.soliditylang.org/2021/04/21/custom-errors/)
|
||||
|
||||
Reference in New Issue
Block a user