Scripts:
yarn
to install dependenciesyarn c
to compile contractsyarn t
to run tests (includes compilation of contracts). Example command for executing a specific test file, heretest/DIVAOracleTellor.test.js
:yarn hardhat test test/DIVAOracleTellor.test.js
If your installed node
version is 17 or higher, you may need to downgrade it to version 16.13.0, for instance, in order to ensure proper functionality. Below an example to downgrade the version using nvm
:
node --version
to check the node versionnvm use 16.13.0
to downgrade the node version