Skip to content

Instantly share code, notes, and snippets.

@enmaku
Created October 4, 2011 00:17
Show Gist options
  • Save enmaku/1260606 to your computer and use it in GitHub Desktop.
Save enmaku/1260606 to your computer and use it in GitHub Desktop.
Demo of how to unlock Bitcoin wallet using JSON RPC
from jsonrpc import ServiceProxy
access = ServiceProxy("http://127.0.0.1:8332")
pwd = raw_input("Enter wallet passphrase: ")
access.walletpassphrase(pwd, 60)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment