You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
414 B
18 lines
414 B
8 years ago
|
from digitalbitbox import DigitalBitboxPlugin
|
||
|
from electrum.util import print_msg
|
||
|
|
||
|
class DigitalBitboxCmdLineHandler:
|
||
|
def stop(self):
|
||
|
pass
|
||
|
|
||
|
def show_message(self, msg):
|
||
|
print_msg(msg)
|
||
|
|
||
|
def get_passphrase(self, msg, confirm):
|
||
|
import getpass
|
||
|
print_msg(msg)
|
||
|
return getpass.getpass('')
|
||
|
|
||
|
class Plugin(DigitalBitboxPlugin):
|
||
|
handler = DigitalBitboxCmdLineHandler()
|