Skip to content

Commit b243f27

Browse files
Merge pull request #613 from Foundation-Devices/SFT-5975-bull-bitcoin-export
SFT-5975: added bull bitcoin export, needs testing
2 parents 0253300 + fbe6b22 commit b243f27

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

ports/stm32/boards/Passport/manifest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@
346346
'wallets/bitcoin_core.py',
347347
'wallets/bluewallet.py',
348348
'wallets/btcpay.py',
349+
'wallets/bull.py',
349350
'wallets/caravan.py',
350351
'wallets/casa.py',
351352
'wallets/coinbits.py',
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# SPDX-FileCopyrightText: © 2021 Foundation Devices, Inc. <hello@foundationdevices.com>
2+
# SPDX-License-Identifier: GPL-3.0-or-later
3+
#
4+
# bull.py - Bull Bitcoin wallet support
5+
#
6+
7+
from .generic_json_wallet import create_generic_json_wallet
8+
from .multisig_json import create_multisig_json_wallet
9+
from .multisig_import import read_multisig_config_from_qr, read_multisig_config_from_microsd
10+
from data_codecs.qr_type import QRType
11+
12+
BullBitcoinWallet = {
13+
'label': 'Bull',
14+
'sig_types': [
15+
{'id': 'single-sig', 'label': 'Single-sig', 'addr_type': None, 'create_wallet': create_generic_json_wallet},
16+
],
17+
'export_modes': [
18+
{'id': 'qr', 'label': 'QR Code', 'qr_type': QRType.UR2},
19+
]
20+
}

ports/stm32/boards/Passport/modules/wallets/sw_wallets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from .keeper import KeeperWallet
99
from .bluewallet import BlueWallet
1010
from .btcpay import BtcPayWallet
11+
from .bull import BullBitcoinWallet
1112
from .casa import CasaWallet
1213
from .coinbits import CoinbitsWallet
1314
# from .caravan import CaravanWallet
@@ -32,6 +33,7 @@
3233
KeeperWallet,
3334
BlueWallet,
3435
BtcPayWallet,
36+
BullBitcoinWallet,
3537
# CaravanWallet,
3638
CasaWallet,
3739
CoinbitsWallet,

0 commit comments

Comments
 (0)