Skip to content

Instantly share code, notes, and snippets.

Verifying that +adamchamely is my Bitcoin username. You can send me #bitcoin here: https://onename.io/adamchamely
import requests
import time, json
class RPCHost():
def __init__(self):
self._session = requests.Session()
try:
with open('d:/Bitcoin/bitcoin.conf') as fp:
RPCPORT="8332"
RPCHOST="localhost"
import sys, json
from rpcclient import *
host=RPCHost()
sys.argv.pop(0)
try:
if len(sys.argv) > 2:
rpccall= sys.argv.pop(0)

Keybase proof

I hereby claim:

  • I am achamely on github.
  • I am adamchamely (https://keybase.io/adamchamely) on keybase.
  • I have a public key ASBsRjx1BXZ-5RMcJwV33qEUB37HO8Yz8VSrKdrFHYjJcAo

To claim this, I am signing this object: