Socket
Socket
Sign inDemoInstall

@kyber.network/utils-sc

Package Overview
Dependencies
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kyber.network/utils-sc

This repository has the utils contracts for the Kyber protocol.


Version published
Weekly downloads
3
Maintainers
6
Weekly downloads
 
Created
Source

Introduction

This repository contains Kyber utils smart contracts.
For more details, please visit our developer portal

Build Status built-with openzeppelin

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)

FAQs

Package last updated on 17 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc