Socket
Book a DemoInstallSign in
Socket

setprotocol.js

Package Overview
Dependencies
Maintainers
7
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

setprotocol.js

A javascript library for interacting with the Set protocol

1.2.9-rc1
latest
Source
npmnpm
Version published
Maintainers
7
Created
Source

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.

:computer: Installation

setprotocol.js

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

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

:raising_hand: 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.

Keywords

setProtocol.js

FAQs

Package last updated on 20 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.