Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Latest commit

 

History

History
58 lines (42 loc) · 3.11 KB

README.md

File metadata and controls

58 lines (42 loc) · 3.11 KB

The Robo-Advisor for Yield

Staked introduces the Robo-Advisor for Yield (RAY), the easiest way to earn the highest yield on ETH, DAI, USDC and other ERC-20 coin holdings. Users deposit funds into the RAY smart contract, customize which protocols should be considered, and an off-chain oracle monitors rates on eligible protocols. RAY automatically moves funds to the highest-yielding at option at any time. Users receive ERC-20 tokens representing the value of positions they own.

RAY will support an expanding number of yield-generating opportunities, with current support for Aave, Compound, dYdX, MakerDAO and bZx. Decisions about which protocols will be supported and key system variables will be handled through governance. This allows capital providers and smart contract authors to collaborate profitably in a decentralized manner.

RAY is a work in progress and several anticipated features have yet to be implemented. Please see the Roadmap and contact us if you have suggestions for greater clarity or better functionality.

Table of Contents

Installation

To integrate with the Robo-Advisor for Yield, pull the repository from GitHub and install its dependencies. You will need yarn or npm installed.

git clone https://github.com/Stakedllc/robo-advisor-yield.git
cd robo-advisor-yield
yarn or npm install 

Testing

This project uses the Truffle Framework. Contract tests are defined under the test directory. Truffle leverages the Mocha Test Framework.

The below commands run tests using Truffle/Mocha. The tests use a chain seeded with the RAY protocol. An example test for RAY smart contract integration exists here.

Using Docker


Requires a running Docker engine

bash ./scripts/container_tests.sh

or

docker build . -t robo_advisor_yield
docker-compose up chain
docker-compose up test

Without Docker


yarn run chain
yarn run test

Discussion

For any questions about the product, please visit us in our Community Telegram chat to discuss.

Copyright © 2020 Staked Securely, Inc.