Major update to cryptonoteRPCwalletGUI

This commit is contained in:
jwinterm
2014-06-16 19:08:40 -05:00
parent 7f4a09dbc0
commit 6e80f4a560
21 changed files with 954 additions and 336 deletions
+22
View File
@@ -0,0 +1,22 @@
import requests
import json
serverURL = 'http://localhost:8082/json_rpc'
payload = json.dumps({
"jsonrpc": "2.0",
"method": "store",
"params": {}
})
def checkwalletrpccall():
headers = {'content-type': 'application/json'}
resp = requests.get(serverURL, headers=headers, data=payload)
output = json.loads(resp.text)
print output
# return output[u'result'][u'balance'], output[u'result'][u'unlocked_balance']
if __name__ == "__main__":
checkwallet()