hardhat console log
// import in your .sol file
import "hardhat/console.sol";
// then to log use: console.log("log 1")
hardhat console log
// import in your .sol file
import "hardhat/console.sol";
// then to log use: console.log("log 1")
hardhat console
const MyContract = await ethers.getContractFactory("MyContract");
const contract = await MyContract.attach(
"0x..." // The deployed contract address
);
// Now you can call functions of the contract
await contract.doTheThing();
For More Help contact (Telegram) :https://t.me/dappmaster (Mail):[email protected]
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us