set-protocol-strategies
v1.1.40
Published
This repository contains smart contracts that implement portfolio management strategies as managers, as specified in the [Smart Contract Managed Rebalancing Sets Whitepaper](https://www.setprotocol.com/pdf/managed_sets_whitepaper.pdf). We use [Truffle](ht
Downloads
16
Keywords
Readme
Set Protocol Strategies
This repository contains smart contracts that implement portfolio management strategies as managers, as specified in the Smart Contract Managed Rebalancing Sets Whitepaper. We use Truffle as a development environment for compiling, testing, and deploying our contracts.
Testing
- 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
- Run yarn install
yarn install
- Run an ethereum chain on a separate terminal window
yarn chain
- Run unit tests
yarn test