Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kybernetwork/kyber_utils_sc
Kyber's utility Smart Contracts code. To be used across all smart contact repositories.
https://github.com/kybernetwork/kyber_utils_sc
Last synced: about 2 months ago
JSON representation
Kyber's utility Smart Contracts code. To be used across all smart contact repositories.
- Host: GitHub
- URL: https://github.com/kybernetwork/kyber_utils_sc
- Owner: KyberNetwork
- License: mit
- Created: 2020-08-18T04:27:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-01T08:05:08.000Z (almost 3 years ago)
- Last Synced: 2024-10-08T21:18:06.078Z (3 months ago)
- Language: JavaScript
- Size: 765 KB
- Stars: 3
- Watchers: 8
- Forks: 68
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Introduction
This repository contains Kyber utils smart contracts.\
For more details, please visit our [developer portal](https://developer.kyber.network/)[![Build Status](https://api.travis-ci.com/KyberNetwork/kyber_utils_sc.svg?branch=master&status=passed)](https://travis-ci.com/github/KyberNetwork/kyber_utils_sc)
[![built-with openzeppelin](https://img.shields.io/badge/built%20with-OpenZeppelin-3677FF)](https://docs.openzeppelin.com/)## Package Manager
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.## Setup
1. Clone this repo
2. `yarn`## Compilation
`yarn compile` to compile contracts.## Testing
1. If contracts have not been compiled, run `yarn compile`. This step can be skipped subsequently.
2. Run full regression `yarn test`
3. Use `./test.sh -f` for running a specific test file.### Example Commands
- `yarn test` (Runs all tests)
- `yarn hardhat test --no-compile ./test/utils.js` (Test only utils.js)
or
- `./test.sh -f ./test/utils.js` (Test only utils.js)## Running coverage
- `yarn coverage` (Runs coverage for all applicable files)