aboutsummaryrefslogtreecommitdiff
path: root/contrib/wallettools/walletunlock.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/wallettools/walletunlock.py')
-rw-r--r--contrib/wallettools/walletunlock.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/wallettools/walletunlock.py b/contrib/wallettools/walletunlock.py
new file mode 100644
index 0000000000..f847c6fe61
--- /dev/null
+++ b/contrib/wallettools/walletunlock.py
@@ -0,0 +1,4 @@
+from jsonrpc import ServiceProxy
+access = ServiceProxy("http://127.0.0.1:8332")
+pwd = raw_input("Enter wallet passphrase: ")
+access.walletpassphrase(pwd, 60) \ No newline at end of file