Last active
March 18, 2024 03:36
-
-
Save enderphan94/54e7024be73f505bf9f28a625324b14b to your computer and use it in GitHub Desktop.
Setting up a hardhat project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
npm init --yes | |
npm install --save-dev hardhat | |
touch hardhat.config.js | |
npm install --save-dev @nomiclabs/hardhat-ethers ethers @nomiclabs/hardhat-waffle ethereum-waffle chai | |
echo "require('@nomiclabs/hardhat-waffle');" > hardhat.config.js | |
mkdir contracts | |
mkdir test | |
npx hardhat compile | |
npm install --save-dev chai |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment