Script to get the hash signature of a function in Solidity using Hardhat Deployment framework. On a first terminal spin up a local hardhat node npx hardhat node On a second terminal , deploy the contract on hardhat localhost npx hardhat dep)loy --network localhost Get the signature hash of the "set" function located in Store.sol npx hardhat run scripts/SigHash.js