aboutsummaryrefslogtreecommitdiff
path: root/contrib/wallettools/walletunlock.py
blob: f847c6fe61a931d6a3a1cf2c36d8a37080957317 (plain)
1
2
3
4
from jsonrpc import ServiceProxy
access = ServiceProxy("http://127.0.0.1:8332")
pwd = raw_input("Enter wallet passphrase: ")
access.walletpassphrase(pwd, 60)