mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-12 05:44:56 +00:00
19 lines
602 B
Dart
19 lines
602 B
Dart
part of 'ethereum.dart';
|
|
|
|
class CWEthereum extends Ethereum {
|
|
@override
|
|
List<String> getEthereumWordList(String language) => EthereumMnemonics.englishWordlist;
|
|
|
|
WalletService createEthereumWalletService(Box<WalletInfo> walletInfoSource) =>
|
|
EthereumWalletService(walletInfoSource);
|
|
|
|
@override
|
|
WalletCredentials createEthereumNewWalletCredentials({
|
|
required String name,
|
|
WalletInfo? walletInfo,
|
|
}) {
|
|
return EthereumNewWalletCredentials(name: name, walletInfo: walletInfo);
|
|
}
|
|
|
|
String getAddress(WalletBase wallet) => (wallet as EthereumWallet).walletAddresses.address;
|
|
}
|