You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP

raiden-api-client

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raiden-api-client

Raiden Network API TypeScript client

0.1.3
Version published
Weekly downloads
2
-66.67%
Maintainers
1
Weekly downloads
 
Created

Raiden-client

Raiden Network API TypeScript client

Build Status codecov Sonar Quality Gate NPM NPM NPM

Introduction

Raiden has a Restful API with URL endpoints corresponding to user-facing interaction allowed by a Raiden node. The endpoints accept and return JSON encoded objects.

Full documentation

Install

npm i raiden-api-client --save

Usage

import RaidenClient from "raiden-api-client";

async function printChannels() {
  const client = new RaidenClient("http://localhost:5001/api");
  const channels = await client.getChannels();
  console.log(channels);
}

FAQs

Package last updated on 15 Aug 2019

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