diff --git a/ports/stm32/boards/Passport/manifest.py b/ports/stm32/boards/Passport/manifest.py index d0f41a531..e43a1f6eb 100644 --- a/ports/stm32/boards/Passport/manifest.py +++ b/ports/stm32/boards/Passport/manifest.py @@ -346,6 +346,7 @@ 'wallets/bitcoin_core.py', 'wallets/bluewallet.py', 'wallets/btcpay.py', + 'wallets/bull.py', 'wallets/caravan.py', 'wallets/casa.py', 'wallets/coinbits.py', diff --git a/ports/stm32/boards/Passport/modules/wallets/bull.py b/ports/stm32/boards/Passport/modules/wallets/bull.py new file mode 100644 index 000000000..4d19ee112 --- /dev/null +++ b/ports/stm32/boards/Passport/modules/wallets/bull.py @@ -0,0 +1,20 @@ +# SPDX-FileCopyrightText: © 2021 Foundation Devices, Inc. +# SPDX-License-Identifier: GPL-3.0-or-later +# +# bull.py - Bull Bitcoin wallet support +# + +from .generic_json_wallet import create_generic_json_wallet +from .multisig_json import create_multisig_json_wallet +from .multisig_import import read_multisig_config_from_qr, read_multisig_config_from_microsd +from data_codecs.qr_type import QRType + +BullBitcoinWallet = { + 'label': 'Bull', + 'sig_types': [ + {'id': 'single-sig', 'label': 'Single-sig', 'addr_type': None, 'create_wallet': create_generic_json_wallet}, + ], + 'export_modes': [ + {'id': 'qr', 'label': 'QR Code', 'qr_type': QRType.UR2}, + ] +} diff --git a/ports/stm32/boards/Passport/modules/wallets/sw_wallets.py b/ports/stm32/boards/Passport/modules/wallets/sw_wallets.py index 943151057..bb6f9b069 100644 --- a/ports/stm32/boards/Passport/modules/wallets/sw_wallets.py +++ b/ports/stm32/boards/Passport/modules/wallets/sw_wallets.py @@ -8,6 +8,7 @@ from .keeper import KeeperWallet from .bluewallet import BlueWallet from .btcpay import BtcPayWallet +from .bull import BullBitcoinWallet from .casa import CasaWallet from .coinbits import CoinbitsWallet # from .caravan import CaravanWallet @@ -32,6 +33,7 @@ KeeperWallet, BlueWallet, BtcPayWallet, + BullBitcoinWallet, # CaravanWallet, CasaWallet, CoinbitsWallet,