lbrycrd/contrib/wallettools/walletunlock.py

4 lines
157 B
Python
Raw Normal View History

from jsonrpc import ServiceProxy
access = ServiceProxy("http://127.0.0.1:8332")
pwd = raw_input("Enter wallet passphrase: ")
access.walletpassphrase(pwd, 60)