diff --git a/src/services/zapReceiptService.ts b/src/services/zapReceiptService.ts index 7ca066f5..75eeea88 100644 --- a/src/services/zapReceiptService.ts +++ b/src/services/zapReceiptService.ts @@ -10,13 +10,13 @@ export interface ZapSender { pubkey: string totalSats: number zapCount: number - isWhale: boolean // >= 21 sats (testing: normally 69420) + isWhale: boolean // >= 69420 sats } /** * Fetches zap receipts (kind:9735) for Boris and aggregates by sender * @param relayPool - The relay pool to query - * @returns Array of senders who zapped >= 2 sats, sorted by total desc + * @returns Array of senders who zapped >= 2100 sats, sorted by total desc */ export async function fetchBorisZappers( relayPool: RelayPool @@ -104,15 +104,14 @@ export async function fetchBorisZappers( console.log(`👥 Found ${senderTotals.size} unique senders`) - // Filter >= 2 sats, mark whales >= 21 sats, sort by total desc - // TODO: Restore to >= 2100 sats and >= 69420 sats for production + // Filter >= 2100 sats, mark whales >= 69420 sats, sort by total desc const zappers: ZapSender[] = Array.from(senderTotals.entries()) - .filter(([, data]) => data.totalSats >= 2) + .filter(([, data]) => data.totalSats >= 2100) .map(([pubkey, data]) => ({ pubkey, totalSats: data.totalSats, zapCount: data.zapCount, - isWhale: data.totalSats >= 21 + isWhale: data.totalSats >= 69420 })) .sort((a, b) => b.totalSats - a.totalSats)