Getting started

How to implement Flux-SDK into an existing project

Installation

Install the Flux-SDK using npm.

cd my-project
npm install --save flux-sdk

Implementation

Now all that's left is importing it into your project

import Flux from 'flux-sdk';
const flux = new Flux();
flux.connect("fluxprotocol-phase-point-two").then(() => {
console.log("connected to:", flux);
})

That's it! You're ready to create and interact with any markets on any asset or event.