You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import 'package:uuid/uuid.dart';
|
|
import 'package:cw_core/key.dart';
|
|
import 'package:cw_core/wallet_type.dart';
|
|
|
|
String generateWalletPassword(WalletType type) {
|
|
switch (type) {
|
|
case WalletType.monero:
|
|
return Uuid().v4();
|
|
default:
|
|
return generateKey();
|
|
}
|
|
}
|