Skip to content

Instantly share code, notes, and snippets.

@jamesmurdza
Last active May 12, 2022 12:22
Show Gist options
  • Save jamesmurdza/4d4dc29157b46b62c183586298592691 to your computer and use it in GitHub Desktop.
Save jamesmurdza/4d4dc29157b46b62c183586298592691 to your computer and use it in GitHub Desktop.
Hardhat on macOS Tutorial

👷‍♀️ Hardhat on macOS Tutorial

Based on this tutorial.

Prerequisites:

% sw_vers
ProductName:	macOS
ProductVersion:	11.6
BuildVersion:	20G165
% npm --v
8.1.2
% git --version
git version 2.32.0 (Apple Git-132)

And the MetaMask browser extension

mkdir hardhat-tutorial
cd hardhat-tutorial
npm init --yes
npm install --save-dev hardhat # This apparently has to be locally installed.
npx hardhat
npm install --save-dev @nomiclabs/hardhat-ethers ethers @nomiclabs/hardhat-waffle ethereum-waffle chai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment