Project Commands

The general project commands including the custom Hardhat tasks

NameCommandDescription

Compile

yarn compile

Compiles the project smart contracts

Tests

Tests the project code using the Hardhat framework

Linting

yarn lint

Lints the project using solhint and tslint

Documentation Generator

yarn docs:generate

Generates the API docs for all the smart contracts

New ticker feed

yarn contracts:set-ticker-feed

Sets the new feed address for the given ticker

New ticker price

yarn contracts:set-ticker-price

Sets the new price for the given ticker

Last updated