I am learning to program in Solidity and have followed a basic tutorial on creating a smart contract from a number counter. The tutorial was followed by using Remix and I was very clear about the structure of the code, the deployment and most importantly the interaction with the functions of my contract through this part of REMIX (next image)
In this section I can interact with the reading and writing functions of my contract.
Now I am trying to perform the same exercise using Hardhat, as I want to know better the whole process of developing a smart contract. I have been able to create my project as well as write the code of my contract again and compile the contract using the command
npx hardhat compile but I do not understand how to perform the deployment (in the blockchain that comes with hardat) and more importantly see the part where I can test the functions that my contract has.
From what I have read so far, the process in Hardhat would be to create a test within which I define the calls to my functions and display the results using console.log () - this would be correct, some example link would be appreciated.