Skip to main content

Raiden Python Client

Mad Devs CircleCI Maintainability Codecov PyPI version Documentation Status

Client library for Raiden node REST API. Documentation located at raiden-client-python.readthedocs.io

Installation

raiden-client run on Python 3.5+

Install from pypi:

$ pip install -U raiden-client

Or, clone repo and run:

$ pip install .

Usage examples

API interface

Full docs here

>>> from raiden_client import Client

>>> c = Client()
>>> c.address()
>>> c.tokens(token_address="0x2008730f6c4ebde1f4ae0c8b8bf968f53c341c45")

CLI usage

Full docs here

$ raiden-cli -h
usage: raiden-cli [-h] [--endpoint ENDPOINT] [--version VERSION]
                  {address,tokens,channels,channel,non-settled,pending-transfers,channel-open,channel-close,deposit-increase,withdraw-increase,token-register,connections,connect,disconnect,payment,payment-events,mint-token}
                  ...

Raiden python client CLI

positional arguments:
  {address,tokens,channels,channel,non-settled,pending-transfers,channel-open,channel-close,deposit-increase,withdraw-increase,token-register,connections,connect,disconnect,payment,payment-events,mint-token}
    address             Query node address
    tokens              Query list of registered tokens
    channels            Request a list of all unsettled channels
    channel             Request a channel detail
    non-settled         Partners with non-settled channels
    pending-transfers   List of uncompleted transfers
    channel-open        Opens / creates a channel
    channel-close       Close a channell
    deposit-increase    Increase channel deposit
    withdraw-increase   Increase channel deposit
    token-register      Registering a token by token address
    connections         Query details of all joined token networks
    connect             Automatically join a token network
    disconnect          Leave a token network
    payment             Initiate a payment
    payment-events      Querying payment events
    mint-token          API endpoints for testing

optional arguments:
  -h, --help            show this help message and exit
  --endpoint ENDPOINT   REST API endpoint (default: http://127.0.0.1:5001/)
  --version VERSION     API version (default: v1)

Built with Mad Devs support for the community

Metadata

Release files for raiden-client 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raiden-client 1.0.0
File Size Uploaded Provenance Actions
raiden-client-1.0.0.tar.gz 12.9 kB Without provenance Details for raiden-client-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for raiden-client 1.0.0
File Interpreter ABI Platform Actions
raiden_client-1.0.0-py3-none-any.whl Python 3 none any Details for raiden_client-1.0.0-py3-none-any.whl

Total release size: 43.5 kB

Release files / raiden-client-1.0.0.tar.gz

Download URL raiden-client-1.0.0.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6b7601c2f7806a6943d25695c7c473474fe943dbc41973b5796e93cceb303f07
BLAKE2b-256 checksum
How to use checksums
2ea4c193707ae66e2a5ff252fed5039f6e66573389480bfc88086e1eae07906c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / raiden_client-1.0.0-py3-none-any.whl

Download URL raiden_client-1.0.0-py3-none-any.whl
Size 30.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec0706353ac81aea4301f147419213dd33052188c5ae4f1b0af35473026e540b
BLAKE2b-256 checksum
How to use checksums
20bede2cb3413d32ee5b7b77712bba9875fa3d892413b8493a10e1451dc51f09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Security for raiden-client 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page