Skip to content

🎛 Core smart contracts of DMM protocol

License

Notifications You must be signed in to change notification settings

KyberNetwork/ks-classic-sc

 
 

Repository files navigation

Dynamic Automated Market Maker

Introduction

built-with openzeppelin Build Status

This repository contains the dynamic-amm smart contracts. For more details, please visit the white paper(dynamic fee and amplfication algorithm)and our change log (compared to uniswap)

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.

Requirements

  • The following assumes the use of node@>=10

Setup

For interactions or contract deployments on public testnets / mainnet, create a .env file specifying your private key and infura api key, with the following format:

INFURA_API_KEY = 'xxxxx'
ETHERSCAN_API_KEY = 'xxxxx'
PRIVATE_KEY = 'xxxxx'
MATIC_VIGIL_KEY = 'xxxxx'

Install Dependencies

yarn

Compile Contracts

yarn compile

Run Tests

yarn test

Run coverage

./coverage.sh

About

🎛 Core smart contracts of DMM protocol

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 35.2%
  • JavaScript 33.2%
  • Solidity 24.4%
  • Jupyter Notebook 7.2%