Python bindings for the JSON RPC interface of the Nerva cryptocurrency.
- Python 3.8+
uv
(for development only)
To install current latest release you can use following command:
pip install nerva-py
To install the latest development version you can use following command:
uv add git+https://github.com/Sn1F3rt/nerva-py.git --branch main
Developers please refer to the docstrings in the code for more information. Full API reference will be available soon.
Here is a simple example to get you started:
import asyncio
from nerva.daemon import DaemonRPC
async def main():
daemon = DaemonRPC(
host="x.y.z.w",
)
print(await daemon.get_info())
asyncio.run(main())
Copyright © 2024 Sayan "Sn1F3rt" Bhattacharyya