feat: alchemy
This commit is contained in:
@@ -21,8 +21,10 @@ class LinkMnemonicsCommand extends Command
|
||||
|
||||
$result = $linker->backfill();
|
||||
|
||||
// Only probe mnemonics that haven't been fully discovered across all 5
|
||||
// chains yet. Manual "view wallet" / "refresh" bypasses this via force=true.
|
||||
$discovered = 0;
|
||||
foreach (WalletMnemonic::query()->orderBy('id')->cursor() as $mnemonic) {
|
||||
foreach (WalletMnemonic::query()->where('discovery_complete', false)->orderBy('id')->cursor() as $mnemonic) {
|
||||
$discovered += $discovery->discoverActivated($mnemonic);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user