DEV Community

Discussion on: How to deploy a Smart Contract to the Testnet

Collapse
 
emanuelferreira profile image
Emanuel Ferreira

Yarn compile is a script of hardhat to compile the smart contract.
in the package.json file you can add a script called compile with this command:
yarn hardhat compile