Skip to content

zytfo/hardhat-fund-me-fcc

Repository files navigation

Commands:

  1. yarn add --dev hardhat - create a new hardhat project
  2. yarn hardhat - select a project you want to build
  3. yarn add --dev solhint - add a solidity linter
  4. solhint --init - init a solhint configuration
  5. yarn add --dev dotenv
  6. yarn add @chainlink/contracts - add chainlink contracts
  7. yarn hardhat compile - compile smart contracts
  8. yarn add --dev hardhat-deploy - add hardhat-deploy dependency
  9. yarn add --dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers ethers - add hardhat ethers dependency
  10. yarn hardhat deploy --network polygon - deploy contracts to a network
  11. yarn hardhat deploy --tags mocks - deploy script with only
  12. yarn hardhat deploy - deploy all contracts with deploy folder
  13. yarn hardhat node - run a node with all deployed contracts
  14. yarn hardhat deploy --network sepolia
  15. https://docs.soliditylang.org/en/v0.8.19/style-guide.html - style guide
  • constructor
  • receive function (if exists)
  • fallback function (if exists)
  • external
  • public
  • internal
  • private
  • view/pure
  1. yarn hardhat test - run tests, yarn hardhat test --grep "withdraw with multiple funders" - run tests with grep
  2. yarn hardhat coverage - get test coverage
  3. https://github.com/smartcontractkit/full-blockchain-solidity-course-js/discussions?discussions_q=is%3Aopen+ - forum
  4. yarn hardhat test --network sepolia - run tests on sepolia
  5. https://github.com/othneildrew/Best-README-Template - best readme template

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published