feat: alchemy

This commit is contained in:
hashbro
2026-09-29 05:25:55 +08:00
parent 2c87d37051
commit 15c45a4fd2
14 changed files with 871 additions and 24 deletions
@@ -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);
}