raiden-api-client
Version:
Raiden Network API TypeScript client
45 lines (29 loc) • 1.68 kB
Markdown
# Raiden-client
[](https://travis-ci.org/wslyvh/raiden-api-client)
[](https://sonarcloud.io/dashboard?id=raiden-api-client)
[](https://sonarcloud.io/dashboard?id=raiden-api-client)
[](https://www.npmjs.com/package/raiden-api-client)
[](https://www.npmjs.com/package/raiden-api-client)
[](https://www.npmjs.com/package/raiden-api-client)
# Introduction
A lightweight Raiden Network API TypeScript client to interact with a Raiden Network node.
- [Official Website](https://raiden.network)
- [Official Developer Portal](https://developer.raiden.network/)
- [Official Raiden Network API documentation](https://raiden-network.readthedocs.io/en/latest/rest_api.html)
# Install
`npm i raiden-api-client --save`
# Usage
```typescript
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);
}
```
# Documentation
- [Raiden Client API documentation](https://wslyvh.github.io/raiden-api-client/)
# Contributing
See [CONTRIBUTING](./.github/CONTRIBUTING.MD).
# License
This project is released under the MIT License. See [LICENSE](LICENSE).