Superfluid Using Node.js
Using Superfluid on the backend using nodejs
Superfluid is used to flow value for capital efficiency. This allows users to send a steady flow of funds to a user.
The dashboard is a quick way to get started with a nice GUI .
But what if you want to flow funds on a server?
This article will explain how to start and stop a flow in the backend using Node.js.
To install the Superfluid JS SDK, you can run the following command (make sure that you include the truffle contract peer dependency)
yarn add @superfluid-finance/js-sdk @truffle/contract
View Flow On Dashboard
Once the flow is created, both you and the user can view their flow on the dashboard.
Verify Flow Has Stopped
Once the flow is stopped, both you and the user can view on the dashboard.