1.0.20 • Published 3 years ago

set-protocol-oracles v1.0.20

Weekly downloads
445
License
Apache-2.0
Repository
github
Last release
3 years ago

Set Protocol Oracles

This repository contains smart contracts that implement any data-related dependencies of the Set Protocol system. We use Truffle as a development environment for compiling, testing, and deploying our contracts.

Testing

  1. Docker Set up Firstly, you need to install Docker. The easiest way is to follow the Instructions on https://docs.docker.com/install/#supported-platforms

You need to pull the docker image that you want to use by using the following command:

docker pull ethereum/solc:0.5.7

If you wish not to set up docker, you can turn off the docker: true flag in truffle.js

  1. Run yarn install
yarn install
  1. Run an ethereum chain on a separate terminal window
yarn chain
  1. Run unit tests
yarn test