mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
21 lines
523 B
Dart
21 lines
523 B
Dart
import 'package:nanodart/nanodart.dart';
|
|
import 'package:stackwallet/wallets/crypto_currency/intermediate/bip39_currency.dart';
|
|
|
|
abstract class NanoCurrency extends Bip39Currency {
|
|
NanoCurrency(super.network);
|
|
|
|
String get defaultRepresentative;
|
|
|
|
int get nanoAccountType;
|
|
|
|
@override
|
|
bool validateAddress(String address) => NanoAccounts.isValid(
|
|
nanoAccountType,
|
|
address,
|
|
);
|
|
|
|
@override
|
|
String get genesisHash => throw UnimplementedError(
|
|
"Not used in nano based coins",
|
|
);
|
|
}
|