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(). ...