This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js
Solidity -> smart contract
Hardhat
Local environment
metamask
infura
ropsten
faucets
test nets and main nets
3866 cd Code/
3867 mcd hands-on-hardhat
3868 nvm ls
3869 node --version
3870 npm init --yes
3871 npm install --save-dev hardhat
3872 npx hardhat
3873 npx hardhat test
3874 npx hardhat
3875 npx hardhat accounts #
3876 c
3877 npx hardhat test
3878 npx hardhat
3879 npm install --save-dev hardhat
3880 npx hardhat test
3881 npx hardhat test ./test/book-store-test.js\n
3882 npx hardhat test
3883 npx hardhat test ./test/book-store-test.js\n
3884 npx hardhat test
3885 npx hardhat test ./test/book-store-test.js\n
3886 npx hardhat test
3887 npx hardhat node
3888 npx hardhat run ./scripts/deployBookStore.js --network localhost
3889 ls
3890 echo "# hands-on-hardhat" >> README.md