To compile the contracts, use the next script:
npm run compile
To run the tests, execute the following command:
npm run test
Or to see the coverage, run:
npm run coverage
The configuration file example can be found in the configs
directory.
To create a real configuration file, you need to copy the example file and name it as <network>.config.json
.
Where <network>
is the name of the network from the hardhat.config.ts
you want to deploy to.
To deploy the contracts locally, run the following commands (in the different terminals):
npm run private-network
npm run deploy-localhost
The command to generate the bindings is as follows:
npm run generate-types
See the full list of available commands in the
package.json
file.