Skip to main content

A python wrapper for Multichain Json-RPC API

Project description

Savoir
=========


Description
-----------

Savoir is JsonRPC wrapper for Multichain
Its heavy based on [python-bitcoinrpc](https://github.com/jgarzik/python-bitcoinrpc)
but adapted for Multichain server, and replacing the httplib by
[requests](http://docs.python-requests.org/en/master/)

Installation
----------

Savoir can be installed from
[PyPi](https://pypi.python.org/pypi) using
[pip](https://pypi.python.org/pypi/pip). Enter the following command
into terminal:

pip install savoir

Alternatively you can clone this public repository by entering the following
command into terminal.

git clone https://github.com/dxmarkets/savoir

Usage
-------

Once you've download the code you should install needed libs

sudo pip install -r requirements.txt

Finally just use the [multichain api documentacion](http://www.multichain.com/developers/json-rpc-api/) and make calls to the wrapper.
Remember to replace the rpc variables with the information of your specific chain

```python
from Savoir import Savoir
rpcuser = 'multichainrpc'
rpcpasswd = 'YoUrLoNgRpCpAsSwOrD'
rpchost = 'localhost'
rpcport = '22335'
chainname = 'myChain'

api = Savoir(rpcuser, rpcpasswd, rpchost, rpcport, chainname)
api.getinfo()
```

License
-------

This package is distributed under BSD License.
See [LICENSE](https://github.com/DXMarkets/Savoir/blob/master/LICENSE)

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

Savoir-1.0.6.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file Savoir-1.0.6.tar.gz.

File metadata

  • Download URL: Savoir-1.0.6.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Savoir-1.0.6.tar.gz
Algorithm Hash digest
SHA256 b6cbc40e726935c4687449c8ae941b60140561cd5ab24c650a52f2d718022ab4
MD5 185a38fbacacb98f1f267541ec8497ff
BLAKE2b-256 fc755a07a66677578394d96f5c03c4b48462d3427d6badbf2ca8698539611c81

See more details on using hashes here.

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