> For the complete documentation index, see [llms.txt](https://gnosza.gitbook.io/token-price-oracle/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gnosza.gitbook.io/token-price-oracle/developer/smart-contracts/project-commands.md).

# Project Commands

The general project commands including the custom Hardhat tasks

| Name                    | Command                                                                                                                                                                                                              | Description                                        |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| Compile                 | `yarn compile`                                                                                                                                                                                                       | Compiles the project smart contracts               |
| Tests                   | [![](http://localhost:63342/markdownPreview/1670796760/commandRunner/run.png)](http://localhost:63342/markdownPreview/1670796760/markdown-preview-index-1021304295.html?_ijt=l52qkqbs5vuuc19ud5ife5cocr#)`yarn test` | 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            |
