Skip to content

sunswapteam/smart-router

Repository files navigation

smart-router

Tests

This repository contains the core smart contracts for the SmartRouter of sunio.

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/smart-router.git
cd smart-router
npm install

OS requirement

  • Linux
  • Mac OS X

Compile

npm run compile

Deploy on Nile TestNet

Deploy the smart 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: