1.0.25 • Published 10 months ago

@polyflow/sdk v1.0.25

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

Polyflow SDK

Polyflow is an analytics tool used to gain useful insight, monitor activity and track incidents on the web3 applications - in real time! The SDK is used to connect your web3 application to the dashbaord in minutes.

Polyflow features:

  • easy to set up (~10 minutes)
  • works out of the box
  • tracks events such as: user landed, wallet connected, transaction executed...
  • profiles the users based on the location, browser, wallet provider, device type, wallet activity...
  • reports errors and incidents in real time. You don't have to wait for someone to report an issue.

📊 Usage

To start using the tool and monitor your application in real-time, follow the two steps outlined below.

Step 1

First make sure to go to the Polyflow Dashboard and setup an account. Once you sign up and create a project, you'll need to obtain an API key. This key will be used to connect the SDK to the Dashboard and start logging events!

Here's where the API key will be shown once you register and create your project on the dashboard:

API key location on the Polyflow Dashboard

Step 2

Add this SDK to your frontend project by installing the package:

$ npm install @polyflow/sdk

Then import the library and add a single line of code somewhere in your frontend's initialization phase:

import { attach } from "@polyflow/sdk";

// somewhere in the frontend initialization block
attach("YOUR API KEY"); // provide your API key from the dashboard

// you're done! Start monitoring events on the polyflow dashboard right away!

🛠 Local build

Make sure you update your environment to NodeJS v16 before running the steps below.

To build the project, first clone the repo and then run:

$ npm install
 
$ npm run build

To use the local build, run the

$ npm package

which is going to generate local npm package.

👋🏻 Reach out

You can provide feedback or request an enterprise whitelabel integration by reaching out to us at:

hello@polyflow.dev

1.0.25

10 months ago

1.0.24

10 months ago

1.0.23

11 months ago

1.0.19

12 months ago

1.0.18

12 months ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.22

11 months ago

1.0.21

11 months ago

1.0.20

12 months ago

1.0.9

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.2

1 year ago

1.0.0

1 year ago

0.0.1

1 year ago