Skip to content

coblo/mcrpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcrpc - Multichain RPC client

Version Downloads

Content Blockchain RPC Client

A Python 3 MultiChain RPC client built for the Content Blockchain Project

The versioning scheme follows MultiChain and includes code generated function annotations and api documentation to support code completion and get you up to speed fast.

Code Completion

mcrpc code completaion

Code Documentation

mcrpc documentation

Installing

The RPC client is published with the package name mcrpc on Python Package Index. Install it with:

$ pip3 install mcrpc

Usage

If you have a local blockchain node with default data-dir you can do:

import mcrpc

client = mcrpc.autoconnect()
client.getinfo()

Change Log

2.0.6.0 (2020-05-03)

  • Add autoconnect convenience function
  • Switched package versioning to match multichain
  • Switched to poetry based packaging
  • Updated to multichain node 2.0.6

1.0.2 (2019-02-13)

  • Fix signature of appendrawexchange and completerawexchange
  • Build rpc client against Multichain 2 Beta 2
  • Add pretty-print support for response objects
  • Sort response class properties for cleaner diffs on updates