feat: Add bot analysis and command services, bot settings, and a frontend account center with subscription and EVM wallet integration.

This commit is contained in:
2569718930@qq.com
2026-03-13 12:45:39 +08:00
parent c3958c29c7
commit 50a2202930
5 changed files with 45 additions and 10 deletions
@@ -633,6 +633,17 @@ export function AccountCenter() {
const address = String(accounts?.[0] || "").toLowerCase();
if (!address) throw new Error("钱包账户为空");
const existingWallet = boundWallets.find(
(w) => String(w.address || "").toLowerCase() === address,
);
if (existingWallet) {
setWalletAddress(address);
setSelectedWallet(address);
setPaymentInfo(`${walletLabel} 已绑定: ${shortAddress(address)}`);
setPaymentBusy(false);
return;
}
setWalletAddress(address);
const challengeRes = await fetch("/api/payments/wallets/challenge", {
method: "POST",