noAuthStartup static method
Implementation
static Future<KdfStartupConfig> noAuthStartup({
String? rpcPassword,
String? rpcIp,
int rpcPort = 7783,
}) async {
final (String? home, String? dbDir) = await _getAndSetupUserHome();
final (
seedNodes: seeds,
netId: netId,
) = await SeedNodeService.fetchSeedNodes();
return KdfStartupConfig._(
walletName: null,
walletPassword: null,
seed: null,
rpcPassword: rpcPassword ?? SecurityUtils.generatePasswordSecure(32),
userHome: home,
dbDir: dbDir,
allowWeakPassword: true,
netid: netId,
gui: 'komodo-defi-flutter-auth',
coins: await _fetchCoinsData(),
https: false,
rpcIp: rpcIp,
rpcPort: rpcPort,
rpcLocalOnly: true,
hdAccountId: null,
allowRegistrations: false,
enableHd: false,
disableP2p: false,
seedNodes: seeds,
iAmSeed: false,
isBootstrapNode: false,
);
}