Exploring Hardhat P2

Alright, so ytd I was exposed to the basics of Hardhat. Today, I’ll get a bit more in detail on what certain pieces of the development workflow works. A big part of hardhat development is interacting with the ethers.js object. This object allows you to: Simulate accounts through signers Compile contracts through contract factories .getContractFactory Deploy contracts .deploy() Interact with deployed contracts Act as other others through .connect() Then, there are some unique test conditions that I havn’t seen before: revertedWith(). ...

June 1, 2022 · 4 min · Lei

Exploring Hardhat

Okay so after some digging around, I’ve made the decision on the 21st day of my journey into Web3 that I’ll be sticking to Hardhat for full stack dApp development. At this point, I literally know nothing about Hardhat. No matter. My first step is to use the Hardhat documentation. Basics of Hardhat Installing Hardhat npm init npm install --save-dev hardhat Creating a Hardhat project npx hardhat Getting the available commands npx hardhat in project folder ...

May 31, 2022 · 4 min · Lei