git clone https://github.com/Wmengti/solidity-develop-template.git
cd solidity-develop-template
yarn set version 1.22.19 # can skip if your default version is already 1.x.x
yarn
yarn test
//local
hh deploy
//polygonMumbai
hh deploy --network polygonMumbai
"lint": "npm run lint:contracts && npm run format:check",
"lint:fix": "solhint 'contracts/**/*.sol' --fix",
"lint:contracts": "solhint 'contracts/*.sol'",
"lint:contracts:fix": "solhint 'contracts/**/*.sol' --fix",
"format:check": "prettier --check .",
"format:fix": "prettier --write ."
when git commit sumbitting, the husy will auto format.
slither
"slither": "slither . --filter-paths 'node_modules/'"