The Wayback Machine - https://web.archive.org/web/20181201032345/https://github.com/SetProtocol/setprotocol.js
Skip to content
πŸ₯ž Javascript library for a collateralized basket of ERC20 tokens https://www.setprotocol.com
Clone or download
richardliang Merge pull request #222 from SetProtocol/richard/minimum-bid
Added minimum bid to rebalanceDetails
Latest commit 614d161 Nov 30, 2018

README.md

License NPM

setprotocol.js

setprotocol.js is a library for interacting with Set Protocol smart contracts. This library enables you to create, issue, redeem, and create and fill issuance orders for Sets.

Take a look at our developer portal for the fastest way to get up and running.

Join us on Telegram

Note: This is Alpha software, and is subject to non-backwards compatible changes.

πŸ’» Installation

setprotocol.js

Using yarn:
$ yarn add setprotocol.js@^1.1.1-rc3
Using npm:
$ npm i --save setprotocol.js@^1.1.1-rc3
Setup

For the most up to date steps on how to initialize and use setProtocol.js, please refer to our installation guide.

πŸ™‹ Contributing

Testing

Compile & Migrate Contracts

Start testrpc and setup dependencies:

yarn chain

Wait until the dependency migration complete message appears before interacting with the contracts. In a new terminal window, run:

yarn test:watch

Troubleshooting

Do not use Node version 10+ as it may have issues during npm install or yarn install with the sha3 package. Use nvm install 9.11.1 && nvm use 9.11.1 for now.

Occasionally, you may need to run yarn run chain --reset or just re-run yarn chain to make sure that you have up to date contracts after running yarn install with an update to the set-protocol-contracts package.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.