Library to communicate with bitvaluta daemon via JSON-RPC protocol.
Project description
bitvaluta_rpc
Bitvaluta_rpc is a simple and minimal library made for communication with bitvalutad
via JSON-RPC protocol.
It has a single dependency - a Python requests
library and it supports both mainnet and testnet bitvaluta network with authentication or SSL encryption.
There is a single class to be imported from the library - Client
.
Client
class methods are named the same as bitvalutad
RPC methods so learning curve is non-existant.
Install
pip install git+git://github.com/peercoin/peercoin_rpc.git
or
pip install bitvaluta_rpc
How to use
from bitvaluta_rpc import Client
Spawn a new Client object with desired arguments:
node = Client(testnet=True, username="username", password="password", ip=, port=)
Use it:
node.getblockchaininfo()
node.getpeerinfo()
node.getbalance()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for bitvaluta_rpc-0.71-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4219ee2e72ff5478c6907e7ed6d617893d648a574b9a7c1b7506d4521c1d23cc |
|
MD5 | fb51fd5ec0c64bdd3d0e3b8fe0f11423 |
|
BLAKE2b-256 | d2eaf6d6e4be778da5398f7f75836c073d9d6898b9b72e0e51aa69f55441adcc |