Skip to content

sunswapteam/sunswap2.0-contracts

Repository files navigation

SunSwap2.0-contracts

Tests

This repository contains the core smart contracts for the SunSwap 2.0 Protocol.

Compile and Deployment

To get started, first create and initialize a NodeJS 8.0+ environment. Next, clone the repo and install the developer dependencies:

Setup

git clone https://github.com/sunswapteam/sunswap2.0-contracts.git
cd sunswap2.0-contracts
npm install

OS requirement

  • Linux
  • Mac OS X

Compile

npm run compile

Deploy on Nile TestNet

Deploy the Sunswap 2.0 factory and router contract to the Nile TestNet.

export PRIVATE_KEY_NILE='Your private key'
npm run migrate

Community

If you have any questions about this project, or wish to engage with us: