This repository contains Kyber utils smart contracts.
For more details, please visit our developer portal
We use yarn
as the package manager. You may use npm
and npx
instead, but commands in bash scripts may have to be changed accordingly.
- Clone this repo
yarn
yarn compile
to compile contracts.
- If contracts have not been compiled, run
yarn compile
. This step can be skipped subsequently. - Run full regression
yarn test
- Use
./test.sh -f
for running a specific test file.
yarn test
(Runs all tests)yarn buidler test --no-compile ./test/utils.js
(Test only utils.js) or./test.sh -f ./test/utils.js
(Test only utils.js)
yarn coverage
(Runs coverage for all applicable files)