mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-26 05:29:57 +00:00
e2278ae403
+ migrate to monero_c
22 lines
552 B
Dart
22 lines
552 B
Dart
import 'package:cw_core/wallet_type.dart';
|
|
|
|
bool isBIP39Wallet(WalletType walletType) {
|
|
switch (walletType) {
|
|
case WalletType.ethereum:
|
|
case WalletType.polygon:
|
|
case WalletType.solana:
|
|
case WalletType.tron:
|
|
case WalletType.bitcoin:
|
|
case WalletType.litecoin:
|
|
case WalletType.bitcoinCash:
|
|
case WalletType.nano:
|
|
case WalletType.banano:
|
|
return true;
|
|
case WalletType.monero:
|
|
case WalletType.wownero:
|
|
case WalletType.haven:
|
|
case WalletType.zano:
|
|
case WalletType.none:
|
|
return false;
|
|
}
|
|
}
|