set-protocol-strategies
TypeScript icon, indicating that this package has built-in type declarations

1.1.40 • Public • Published

Coverage Status License NPM

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

  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

/set-protocol-strategies/

    Package Sidebar

    Install

    npm i set-protocol-strategies

    Weekly Downloads

    8

    Version

    1.1.40

    License

    Apache-2.0

    Unpacked Size

    3.28 MB

    Total Files

    328

    Last publish

    Collaborators

    • felix2feng
    • justinkchen
    • alexsoong91
    • richardliang
    • bweick