mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
17 lines
414 B
Python
17 lines
414 B
Python
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()
|