aboutsummaryrefslogtreecommitdiff
path: root/contrib/wallettools/walletchangepass.py
blob: 30f3f5b26a14a4bcee3ec79d958fd58d8ed00fff (plain)
1
2
3
4
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)