+
+ Buy XIC from Any Chain
+
+
+ Use USDT on BSC, ETH, Polygon, Arbitrum or Avalanche to buy XIC tokens
+
+ {completedTxs > 0 && (
+
+ ✓ {completedTxs} transaction{completedTxs > 1 ? "s" : ""} completed this session
+
+ )}
+
+
+ {/* ── Bridge Card ── */}
+
+ {/* FROM: Chain Selector */}
+
+
+
+ {CHAINS.map((chain) => (
+
+ ))}
+
+
+
+ {/* FROM: USDT Amount */}
+
+
+
+
setUsdtAmount(e.target.value)}
+ placeholder="0.00"
+ min="1"
+ className="flex-1 bg-transparent text-xl font-bold text-white outline-none"
+ style={{ fontFamily: "'JetBrains Mono', monospace" }}
+ />
+
+
+ {/* Quick amounts */}
+
+ {QUICK_AMOUNTS.map((amt) => (
+
+ ))}
+
+
+
+ {/* Arrow */}
+
+
+ {/* TO: XIC */}
+
+
+
+
+ {quoting ? (
+
+
+ Getting best route...
+
+ ) : (
+
+ {xicAmount}
+
+ )}
+ {quote && !quoting && (
+
+ Min: {xicMin} XIC · via {quote.steps[0]?.toolDetails?.name ?? quote.steps[0]?.tool}
+
+ )}
+
+
+

{ (e.target as HTMLImageElement).style.display = "none"; }}
+ />
+
XIC
+
+
+
+
+ {/* Route info */}
+ {quote && !quoting && (
+
+
+ Route
+
+ {fromChain.name} USDT → BSC XIC
+
+
+
+ Protocol
+
+ {quote.steps.map((s) => s.toolDetails?.name ?? s.tool).join(" → ")}
+
+
+ {quote.gasCostUSD && (
+
+ Est. Gas
+ ${quote.gasCostUSD}
+
+ )}
+
+ Slippage
+ 3%
+
+
+ )}
+
+ {/* Action Button */}
+ {!wallet.address ? (
+
+ ) : wallet.chainId !== fromChain.id ? (
+
+ ) : (
+
+
+
+
+ )}
+
+ {/* Connected wallet info */}
+ {wallet.address && (
+
+ Connected:
+
+ {wallet.address.slice(0, 6)}...{wallet.address.slice(-4)}
+
+
+ )}
+
+
+ {/* ── TX Success ── */}
+ {txHash && (
+
+ {[
+ { label: "Supported Chains", value: "5+", sub: "BSC, ETH, Polygon..." },
+ { label: "Token Price", value: "$0.02", sub: "Presale price" },
+ { label: "Listing Target", value: "$0.10", sub: "5x potential" },
+ ].map((item) => (
+
+
+ {item.value}
+
+
{item.label}
+
{item.sub}
+
+ ))}
+
+
+ {/* ── Disclaimer ── */}
+
+ Cross-chain swaps are powered by Li.Fi protocol. Always verify transaction details before confirming.
+ Minimum slippage 3% applies. Not financial advice.
+
+