/nano-websocket-sample-py

Sample Websocket client for the Nano node

Primary LanguagePythonMIT LicenseMIT

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