mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-22 02:34:59 +00:00
missed lightning additions
This commit is contained in:
parent
69fe6d3221
commit
f54feafd55
3 changed files with 6 additions and 27 deletions
|
@ -48,6 +48,9 @@
|
|||
<data android:scheme="bitcoin" />
|
||||
<data android:scheme="bitcoin-wallet" />
|
||||
<data android:scheme="bitcoin_wallet" />
|
||||
<data android:scheme="lightning" />
|
||||
<data android:scheme="lightning-wallet" />
|
||||
<data android:scheme="lightning_wallet" />
|
||||
<data android:scheme="monero" />
|
||||
<data android:scheme="monero-wallet" />
|
||||
<data android:scheme="monero_wallet" />
|
||||
|
|
|
@ -8,35 +8,10 @@ import 'package:cw_core/wallet_service.dart';
|
|||
import 'package:cake_wallet/view_model/send/output.dart';
|
||||
import 'package:hive/hive.dart';
|
||||
import 'package:mobx/mobx.dart';
|
||||
import 'package:cw_bitcoin/electrum_wallet.dart';
|
||||
import 'package:cw_bitcoin/bitcoin_unspent.dart';
|
||||
import 'package:cw_bitcoin/bitcoin_mnemonic.dart';
|
||||
import 'package:cw_bitcoin/bitcoin_transaction_priority.dart';
|
||||
import 'package:cw_bitcoin/bitcoin_wallet_creation_credentials.dart';
|
||||
import 'package:cw_bitcoin/bitcoin_amount_format.dart';
|
||||
import 'package:cw_bitcoin/bitcoin_address_record.dart';
|
||||
import 'package:cw_bitcoin/bitcoin_transaction_credentials.dart';
|
||||
import 'package:cw_lightning/lightning_wallet_service.dart';
|
||||
|
||||
part 'cw_lightning.dart';
|
||||
|
||||
Lightning? lightning = CWLightning();
|
||||
|
||||
class ElectrumSubAddress {
|
||||
ElectrumSubAddress(
|
||||
{required this.id,
|
||||
required this.name,
|
||||
required this.address,
|
||||
required this.txCount,
|
||||
required this.balance,
|
||||
required this.isChange});
|
||||
final int id;
|
||||
final String name;
|
||||
final String address;
|
||||
final int txCount;
|
||||
final int balance;
|
||||
final bool isChange;
|
||||
}
|
||||
Lightning? lightning;
|
||||
|
||||
abstract class Lightning {
|
||||
TransactionPriority getMediumTransactionPriority();
|
||||
|
@ -79,3 +54,4 @@ abstract class Lightning {
|
|||
TransactionPriority getLightningTransactionPriorityMedium();
|
||||
TransactionPriority getLightningTransactionPrioritySlow();
|
||||
}
|
||||
|
|
@ -10,7 +10,7 @@ case $APP_ANDROID_TYPE in
|
|||
CONFIG_ARGS="--monero"
|
||||
;;
|
||||
$CAKEWALLET)
|
||||
CONFIG_ARGS="--monero --bitcoin --haven --ethereum --polygon --nano --bitcoinCash"
|
||||
CONFIG_ARGS="--monero --bitcoin --haven --ethereum --polygon --nano --bitcoinCash --lightning"
|
||||
;;
|
||||
$HAVEN)
|
||||
CONFIG_ARGS="--haven"
|
||||
|
|
Loading…
Reference in a new issue