aee1ccc36a
Buying (VBBShop 0x36F6...07D7): Packages page has live Buy buttons for the 10 and 40 credit packs (USD price + live POL from quoteWei, SafePal or any other crypto wallet, one-time, never a subscription, where the payment goes); My Banners has "Add the banner look ($2)" on each waiting or in-loop banner (SKU 3, ref = banner id) and a 40-character teaser editor once it has the look. POST /api/my/order builds the member's buy() call on the server (fresh keeper voucher when the hub knows their sponsor, else no sponsor); the page checks the connected wallet is the member's VBB account (explains how to switch if not), checks the balance, sends with Polygon's fee floor (/api/gas), waits on /api/tx, nudges the watcher (/api/my/paid) and polls until the credits or the look arrive. Public: /api/quote, /api/gas, /api/tx/<hash>; /api/config has shop {live, contract} + explorer. The banner look on the loop: double border + star, hover teaser (always shown on touch screens; default = the link's site). Only Tokens still says coming soon. wallet.js gains sendTx/waitTx/balance (DLB flow).
Weekly prize payouts (prize.js): each Central-time week's pot = 10% of its VBBShop sales (usdCents of Purchase events by block time), $20 floor (company top-up shown to admin), $50 cap internal, half per board, 50/30/20. Every Monday the app prepares last week's plan (winners, wallets, USD; POL quoted live from the Chainlink feed the contract uses). /admin "Approve and pay" (two clicks): refuses unless PRIZE_KEY is the contract's prizeWallet(), the feed is fresh and the wallet holds the POL + gas (says how much more to send); then once per week (docstore.claim in MySQL + plan status), consecutive nonces, each hash saved as sent, stops at the first unclear send (never auto-retried), receipts watched. Ties: earlier to reach the count wins (leaderboards use the same rule). A winner that cannot be paid (the prize or company wallet) is skipped and the rest move up; an unfilled place stays in the prize wallet. /leaders shows past winners with transaction links. Posts nothing anywhere. Compose passes PRIZE_KEY.
Tests: smoke 192/192 (stand-in chain answers quoteWei + receipts: quote, order calldata + voucher, look purchase, teaser, prizes API, UI Buy buttons). New qa/chain.mjs on a local anvil with the real VBBShop + mock feed: buy -> Purchase -> credits, voucher binds sponsor, 30/10/60 split, overpay refunded, banner look; prize prepare -> short refusal -> pay 6 transfers exact POL -> paid once: 29/29. common.js?v=3, vbb.css?v=4.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
62 lines
4.9 KiB
HTML
62 lines
4.9 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
|
<title>Viral Banner Blitz | The banner loop the whole community pushes</title>
|
|
<meta name="description" content="A shared loop of 125x125 member banners. Every verified visitor moves it forward, and a banner that rides out of the loop earns advertising across the Crypto Team Build Network. Free to post once a day.">
|
|
<link rel="canonical" href="https://viralbannerblitz.com/">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:site_name" content="Viral Banner Blitz">
|
|
<meta property="og:title" content="Viral Banner Blitz | The banner loop the whole community pushes">
|
|
<meta property="og:description" content="A shared loop of 125x125 member banners. Every verified visitor moves it forward, and a banner that rides out of the loop earns advertising across the Crypto Team Build Network. Free to post once a day.">
|
|
<meta property="og:url" content="https://viralbannerblitz.com/">
|
|
<meta property="og:image" content="https://viralbannerblitz.com/art/og-share.png">
|
|
<meta property="og:image:width" content="1200">
|
|
<meta property="og:image:height" content="630">
|
|
<meta property="og:image:alt" content="Viral Banner Blitz: a community banner loop that moves with every verified visitor">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:title" content="Viral Banner Blitz | The banner loop the whole community pushes">
|
|
<meta name="twitter:description" content="A shared loop of 125x125 member banners. Every verified visitor moves it forward, and a banner that rides out of the loop earns advertising across the Crypto Team Build Network. Free to post once a day.">
|
|
<meta name="twitter:image" content="https://viralbannerblitz.com/art/og-share.png">
|
|
|
|
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebSite","name":"Viral Banner Blitz","url":"https://viralbannerblitz.com/"},{"@type":"Organization","name":"Viral Banner Blitz","url":"https://viralbannerblitz.com/","logo":"https://viralbannerblitz.com/art/icon-192.png","parentOrganization":{"@type":"Organization","name":"Crypto Team Build Network","url":"https://cryptoteambuild.com"}}]}</script>
|
|
<meta name="theme-color" content="#ffd400">
|
|
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
|
|
<link rel="stylesheet" href="/assets/vbb.css?v=4">
|
|
</head>
|
|
<body>
|
|
<main class="wrap">
|
|
<section class="hero">
|
|
<div class="eyebrow"><i></i>Live loop</div>
|
|
<h1>Every visitor pushes the loop. <em>Ride it out, earn advertising.</em></h1>
|
|
<p class="lead">This page is the loop: member banners in 125x125 tiles. Every <b data-k="perShift">10</b> verified visitors shift it one place, and the banner at the end rides out. That banner has cycled, and its owner earns <b data-k="views">150</b> network ad views.</p>
|
|
<div class="row"><a class="btn" href="/my">Post your banner</a><a class="btn sec" href="/how">How it works</a></div>
|
|
</section>
|
|
|
|
<section class="meter" aria-label="Next shift">
|
|
<div class="meter-top"><span class="big" id="prog">0<small> / 10</small></span><span class="lbl" id="progLbl">verified visitors toward the next shift</span><span class="side" id="today"></span></div>
|
|
<div class="bar" role="progressbar" aria-valuemin="0" id="barWrap"><i id="bar"></i></div>
|
|
<div class="visit-note" id="visitNote">Stay on this page for a few seconds and your visit counts toward the next shift.</div>
|
|
</section>
|
|
|
|
<div class="loop-head"><h2>The loop</h2><span class="side" id="loopInfo"></span></div>
|
|
<div class="grid" id="loop" aria-live="polite"></div>
|
|
<div class="legend"><span><i></i>Rides out at the next shift</span><span><i class="n"></i>Newest enters top left</span></div>
|
|
|
|
<div class="loop-head"><h2>Waiting to enter</h2><span class="side" id="queueInfo"></span></div>
|
|
<div class="queue" id="queue"></div>
|
|
<p class="muted small" id="queueEmpty" hidden>Nobody is waiting. A banner posted now enters the loop at the next shift.</p>
|
|
|
|
<div class="card">
|
|
<h3>Send visitors, move up the leaderboard</h3>
|
|
<p class="muted">Share your link from My Banners. Every verified visitor it brings moves the loop for everyone, and the weekly leaderboards count the visitors you send and how many different traffic sources they came from.</p>
|
|
<div class="row"><a class="btn amber small" href="/leaders">This week's leaders</a><a class="btn quiet small" href="/my">Get my link</a></div>
|
|
</div>
|
|
<div id="status" class="note" hidden></div>
|
|
</main>
|
|
<script src="/assets/common.js?v=3"></script>
|
|
<script src="/assets/splash.js?v=2"></script>
|
|
</body>
|
|
</html>
|