First run a ganache local network:
ganacheOn a second shell:
- To test scripts:
yarn hardhat testor
yarn hardhat test test/<test>.test.ts- To deploy or upgrade implementation contracts contract:
yarn hardhat --network localhost run scripts/<script>.ts