Skip to content

Main smart contracts for Kyber Network, including the main platform contract, reserve contracts etc.

License

Notifications You must be signed in to change notification settings

2key/smart-contracts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This repository contains kyber network smart contracts. For more details, please visit our developer portal

Setup

  1. Clone this repo
  2. npm ci

Compilation with Buidler

./compilation.sh

Testing full contract suite with Buidler

  1. If contracts have not been compiled, run ./compilation.sh. This step can be skipped subsequently.
  2. Run ./tst.sh
  3. Use -f for running a specific test file.
  4. Use -k to specify a specific hardfork version. Runs on Petersburg by default.

Example Commands

./tst.sh -f "./test/kyberReserve.js" ./tst.sh -f "./test/kyberNetworkProxy.js" -k "istanbul"

Example

npx buidler test --no-compile ./test/kyberNetwork.js

About

Main smart contracts for Kyber Network, including the main platform contract, reserve contracts etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.4%
  • Solidity 16.2%
  • Other 0.4%