Skip to main content

Command Palette

Search for a command to run...

Troubleshoot code

Published
•1 min read•View as Markdown

yarn chain command is used to start the backend in the form of hardhat. Once we execute this command we get a list of all the curated and in built addresses that are provided to us by the hardhat. A

Also we can import the hardhat/console.sol smart contract in order to console.log() stuff right into the solidity code.

The things that are logged will be displayed inside the terminal where you ran the yarn chain command.

More from this blog

Dhruv's Web development journey

64 posts