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