Skip to content

DXMarkets/Savoir

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Savoir

Description

Savoir is JsonRPC wrapper for Multichain Its heavy based on python-bitcoinrpc but adapted for Multichain server, and replacing the httplib by requests

Installation

Savoir can be installed from PyPi using 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 and make calls to the wrapper. Remember to replace the rpc variables with the information of your specific chain

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

About

A python wrapper for Multichain Json-RPC API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages