guilhermelawless / nano-websocket-sample-py

Sample Websocket client for the Nano node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample websocket client for Nano

Requirements

  • Python 3.6 or greater
  • Nano node v19 or greater
  • Websocket server enabled in ~/Nano/config-node.toml ([node.websocket] enable = true)

Install requirements (websockets module) with pip3 install --user -r requirements.txt

Usage

Read the websocket server documentation at https://github.com/nanocurrency/nano-node/wiki/WebSockets

Check python3 client.py --help for client usage.

Run with python3 client.py

About

Sample Websocket client for the Nano node

License:MIT License


Languages

Language:Python 100.0%