[](https://circleci.com/gh/chainstack/multichaincli/tree/master)
[](https://badge.fury.io/py/multichaincli)
_python binding for Multichain, supports version 2_
## Description
Its heavy based on [python-bitcoinrpc](https://github.com/jgarzik/python-bitcoinrpc) and [Savoir](https://github.com/DXMarkets/Savoir) but adapted for Multichain server, and replacing the httplib by [requests](http://docs.python-requests.org/en/master/)
## Installation
multichaincli 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 multichaincli
Alternatively you can clone this public repository by entering the following
command into terminal.
git clone https://github.com/chainstack/multichaincli
## Usage
Once you've download the code you should install needed libs
python setup.py develop
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 multichaincli import Multichain
rpcuser = 'multichainrpc'
rpcpasswd = 'YoUrLoNgRpCpAsSwOrD'
rpchost = 'localhost'
rpcport = '22335'
chainname = 'myChain'
mychain = Multichain(rpcuser, rpcpasswd, rpchost, rpcport, chainname)
mychain.getinfo()
```
Metadata
Release files for multichaincli 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| multichaincli-1.1.0.tar.gz | 2.8 kB | Without provenance | Details for multichaincli-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| multichaincli-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for multichaincli-1.1.0-py3-none-any.whl |
Total release size: 6.9 kB
Release files / multichaincli-1.1.0.tar.gz
| Download URL | multichaincli-1.1.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d86ae059dee5a20722daa18105b408009396f47289f10624e78ceaeb96503350
|
|
BLAKE2b-256 checksum How to use checksums |
c2337370171256571ac78974a6c0b0bc314d065e195e398b6f3d96074da48b36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Release files / multichaincli-1.1.0-py3-none-any.whl
| Download URL | multichaincli-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52b9accfdbad5d34c5fb381691b696da568fa7a79357c2681dabdee2f80a7658
|
|
BLAKE2b-256 checksum How to use checksums |
989f0000ed2bdb1d5550bd355461e34b9079581da52a377b9614916c609fd3f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for multichaincli 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.