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>
52 lines
5.0 KiB
HTML
52 lines
5.0 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>Packages | Viral Banner Blitz</title>
|
|
<meta name="description" content="Post credit packs and the banner look for Viral Banner Blitz: one-time purchases in POL, never a subscription. Network members also post free once a day.">
|
|
<link rel="canonical" href="https://viralbannerblitz.com/packages">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:site_name" content="Viral Banner Blitz">
|
|
<meta property="og:title" content="Packages | Viral Banner Blitz">
|
|
<meta property="og:description" content="Post credit packs and the banner look for Viral Banner Blitz: one-time purchases in POL, never a subscription. Network members also post free once a day.">
|
|
<meta property="og:url" content="https://viralbannerblitz.com/packages">
|
|
<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="Packages | Viral Banner Blitz">
|
|
<meta name="twitter:description" content="Post credit packs and the banner look for Viral Banner Blitz: one-time purchases in POL, never a subscription. Network members also post free once a day.">
|
|
<meta name="twitter:image" content="https://viralbannerblitz.com/art/og-share.png">
|
|
|
|
<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"><h1>Packages</h1><p class="lead">More post credits and a banner that stands out. Paid once in POL on Polygon, with SafePal or any other crypto wallet.</p></section>
|
|
<div class="card center pk-intro">
|
|
<h2>One-time purchases. Never a subscription.</h2>
|
|
<p class="muted">Every package is a single purchase you make once. Nothing renews and nothing bills you again. The price is in dollars and paid in POL at the live price; anything you send above it comes straight back in the same transaction.</p>
|
|
<p class="small" id="pkWho"></p>
|
|
<div class="row" id="pkSign" hidden style="justify-content:center"><a class="btn sec small" href="/my">Sign in on My Banners</a><button class="btn small" id="pkSignBtn">Sign in with a wallet</button></div>
|
|
</div>
|
|
<div class="pk" id="pk">
|
|
<div class="card pk-item" id="pkPack0"><h3>Post credit pack</h3><p class="pk-price"><span data-pk="credits">10</span> post credits</p><p class="pk-usd"><b data-pk="usd">$3</b> <span class="muted small" data-pk="pol"></span></p><p class="muted small">Each credit posts one banner into the loop.</p><button class="btn" data-pk="buy" disabled>Buy</button></div>
|
|
<div class="card pk-item" id="pkPack1"><h3>Post credit pack</h3><p class="pk-price"><span data-pk="credits">40</span> post credits</p><p class="pk-usd"><b data-pk="usd">$10</b> <span class="muted small" data-pk="pol"></span></p><p class="muted small">The better value: each credit posts one banner into the loop.</p><button class="btn" data-pk="buy" disabled>Buy</button></div>
|
|
<div class="card pk-item"><h3>Banner look</h3><p class="pk-price" id="pkLook">$2 per banner</p><p class="muted small">A bright border on your banner in the loop, plus a teaser line that shows when someone points at it. Buy it from My Banners, on the banner you want it on.</p><a class="btn sec" href="/my">Add it on My Banners</a></div>
|
|
<div class="card pk-item"><h3>Tokens</h3><p class="pk-price">Network visits</p><p class="muted small">Each token is a visit to your site from the network, at the InstantAdPay visit rate.</p><span class="tag-soon">Coming soon</span></div>
|
|
</div>
|
|
<div class="card"><h3>Where your payment goes</h3><p class="muted small">Each purchase is split on the Polygon blockchain in the same transaction: 30% to the network member who introduced you (to Viral Banner Blitz if nobody did), 10% to the weekly leaderboard prize pot, 60% to Viral Banner Blitz. You buy advertising for your own banners, not an income opportunity.</p></div>
|
|
<div class="card center"><p>Every network member (InstantAdPay or LinkSpin) also gets one free post credit each day they sign in.</p><a class="btn sec" href="/my">Use my free credit</a></div>
|
|
<div id="status" class="note" hidden></div>
|
|
</main>
|
|
<script src="/assets/common.js?v=3"></script>
|
|
<script src="/assets/wallet.js?v=2"></script>
|
|
<script src="/assets/buy.js?v=1"></script>
|
|
<script src="/assets/packages.js?v=1"></script>
|
|
</body>
|
|
</html>
|