This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests | |
class EmercoinClient(object): | |
def __init__(self, | |
user='rpcuser from emercoin.conf', | |
password='rpcpassword from emercoin.conf', | |
protocol='http', | |
host='hostname or IP where EMC is running', |