Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nanoswap/basicnanoclient
A basic nano (XNO) RPC client for python
https://github.com/nanoswap/basicnanoclient
nanocurrency nox pypi-package python raiblocks readthedocs
Last synced: 4 days ago
JSON representation
A basic nano (XNO) RPC client for python
- Host: GitHub
- URL: https://github.com/nanoswap/basicnanoclient
- Owner: nanoswap
- License: unlicense
- Created: 2023-04-18T02:35:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-05T00:22:12.000Z (4 months ago)
- Last Synced: 2024-11-14T21:40:05.387Z (6 days ago)
- Topics: nanocurrency, nox, pypi-package, python, raiblocks, readthedocs
- Language: Jupyter Notebook
- Homepage:
- Size: 178 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# basicnanoclient
A nano (XNO) cryptocurrency RPC python client and client side wallet
![](https://img.shields.io/readthedocs/nanoclient?label=readthedocs)
![](https://img.shields.io/github/actions/workflow/status/nanoswap/nanoclient/test.yml?label=tests)
![](https://img.shields.io/snyk/vulnerabilities/github/nanoswap/nanoclient)
![](https://img.shields.io/pypi/pyversions/nanoclient)- [Installation](#installation)
- [Documentation](#documentation)
* [Build docs locally](#build-docs-locally)
- [Tests](#tests)
* [Before running tests:](#before-running-tests-)## 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}
```