Skip to main content

Nano RPC python client

Project description

basicnanoclient

A nano (XNO) cryptocurrency RPC python client and client side wallet

Installation

pip install basicnanoclient

Usage

https://github.com/nanoswap/basicnanoclient/blob/main/notebooks/nano.ipynb

Documentation

https://basicnanoclient.readthedocs.io/

Build docs locally

mkdocs serve

Tests

To only run tests: pytest --cov=basicnanoclient --cov-fail-under=80

To run style checks:

flake8 basicnanoclient --docstring-convention google --ignore=D100
flake8 tests --docstring-convention google --ignore=D100

To run all checks: nox

Before running tests:

  • install a local nano test node
  • run it locally

Running a local Nano Node

# https://github.com/nanocurrency/nano-node/releases/
docker pull nanocurrency/nano-test:${NANO_TAG}
docker run --restart=unless-stopped -d -p 127.0.0.1:17076:17076 -v ${NANO_HOST_DIR}:/root --name ${NANO_NAME} nanocurrency/nano-test:${NANO_TAG}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

basicnanoclient-0.5.0-py3-none-any.whl (9.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page