Skip to content

Commit 8ad100a

Browse files
committed
Added wallet tools
Signed-off-by: David Perry <[email protected]>
1 parent 3504801 commit 8ad100a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from jsonrpc import ServiceProxy
2+
access = ServiceProxy("http://127.0.0.1:8332")
3+
pwd = raw_input("Enter old wallet passphrase: ")
4+
pwd2 = raw_input("Enter new wallet passphrase: ")
5+
access.walletpassphrasechange(pwd, pwd2)

contrib/wallettools/walletunlock.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from jsonrpc import ServiceProxy
2+
access = ServiceProxy("http://127.0.0.1:8332")
3+
pwd = raw_input("Enter wallet passphrase: ")
4+
access.walletpassphrase(pwd, 60)

0 commit comments

Comments
 (0)