Files
vbb/public/my.html
T
martbost 2fe3d9e4c0 Trust pack (Marty 2026-11-14): contract proof, live ledger, proof toasts, Telegram sale cards, legal pages, network footer.
- proof.js: /api/ledger (each VBBShop purchase with its split read from the receipt's Paid/PaymentFailed events, else the contract's fixed 30/10/60 math; weekly prize transfers with their transactions), /api/contract (owner, prize wallet, company, keeper, paused, orders, balance and owed, read live and cached 5 min; Sourcify exact match, Polygonscan pending).
- Telegram (CTB Rewards bot, payments topic, TG_TOKEN/TG_CHAT/TG_PAY_TOPIC same as Downline Banners): one photo card per purchase (prebuilt VBB proof image rotated, buyer, sponsor/prize/company split in POL, this week's purchases + prize pot, Polygonscan + ledger links) and one line per confirmed prize payout. Hooks: shop.setHook (newly credited purchases only) and prize.setHook (confirmed transfers); once per tx via an in-process guard plus docstore.claim; nothing older than 2 hours.
- Pages /contract, /ledger, /terms, /disclaimer (Earnings Disclaimer), /privacy (TrustClickz, real mechanics: advertising not income, same-transaction split, prize wallet holds the 10% until Monday, no refunds on-chain, one-time purchases, crypto risk, data incl. hashed visit checks and the network hub); sitemap.
- Footer: Terms, Earnings Disclaimer, Privacy, Contract, Ledger, Support, company line, 'Part of the network' from the hub (netsites.js, /api/network-sites, fallback list), VBB marked current. Toasts add purchases and prize payouts.
- tools/proof-art.mjs renders public/art/proof/vbb-proof-{pink,blue,yellow}.png. common.js?v=5, vbb.css?v=6.
chain.mjs 49/49 (real contract on anvil + stand-in Telegram: exact split, 2 cards, no repost on rescans, 6 prize lines). smoke 241/241.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 10:38:40 -06:00

87 lines
5.8 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>My Banners | Viral Banner Blitz</title>
<meta name="description" content="Post your 125x125 banner into the loop, see where each banner stands, and share your link.">
<link rel="canonical" href="https://viralbannerblitz.com/my">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Viral Banner Blitz">
<meta property="og:title" content="My Banners | Viral Banner Blitz">
<meta property="og:description" content="Post your 125x125 banner into the loop, see where each banner stands, and share your link.">
<meta property="og:url" content="https://viralbannerblitz.com/my">
<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="My Banners | Viral Banner Blitz">
<meta name="twitter:description" content="Post your 125x125 banner into the loop, see where each banner stands, and share your link.">
<meta name="twitter:image" content="https://viralbannerblitz.com/art/og-share.png">
<meta name="robots" content="noindex">
<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=6">
</head>
<body>
<main class="wrap">
<section class="hero"><h1>My Banners</h1><p class="lead">Post a banner, watch it move through the loop, and share your link.</p></section>
<div class="card" id="signin" hidden>
<h2>Sign in</h2>
<p class="muted">Already a member of InstantAdPay or LinkSpin? Sign in through the network with one tap. Or sign a free message with SafePal or any other crypto wallet.</p>
<div class="row">
<a class="btn" id="ssoIap" href="/sso/start?mode=go&amp;via=iap&amp;to=%2Fmy">Sign in with InstantAdPay</a>
<a class="btn sec" id="ssoLs" href="/sso/start?mode=go&amp;via=linkspin&amp;to=%2Fmy">Sign in with LinkSpin</a>
<button class="btn sec" id="signBtn">Sign in with a wallet</button>
</div>
<p class="muted small">The wallet signature is free. It cannot move funds or approve anything.</p>
</div>
<div id="dash" hidden>
<div class="card">
<div class="row" style="justify-content:space-between"><div><span class="muted small">Signed in as</span> <span class="mono" id="me"></span></div><button class="btn quiet small" id="outBtn">Sign out</button></div>
<div class="stats" id="stats"></div>
<p class="muted small" id="creditNote"></p>
</div>
<div class="card" id="postCard">
<h2>Post a banner</h2>
<p class="muted small">125x125 PNG, JPG or GIF, up to 100 KB (250x250 also works for sharp screens). Link: https, a page that loads and allows frames. One post uses one credit. Need more? <a href="/packages">Get a credit pack</a>.</p>
<div class="post-grid">
<div class="preview" id="preview">125 x 125<br>preview</div>
<div>
<div class="field"><label for="img">Image address (https), or upload a file</label><input id="img" placeholder="https://your-site.com/banner.png" autocomplete="off"></div>
<div class="row"><label class="btn sec small">Upload image<input type="file" id="file" accept="image/png,image/jpeg,image/gif" hidden></label><span class="muted small" id="fileNote"></span></div>
<div class="field"><label for="link">Target link (https)</label><input id="link" placeholder="https://your-site.com/page" autocomplete="off"></div>
<button class="btn" id="postBtn">Post to the loop</button>
</div>
</div>
<div class="ls-box">
<p class="small"><b>Have a LinkSpin Banner Spin?</b> Post it instead: its images rotate in your tile and every click goes through your spin, so it shows in LinkSpin Reports under a Viral Banner Blitz source. 125x125 (or 250x250) spins. One post uses one credit.</p>
<button class="btn sec small" id="lsBtn">Use my LinkSpin Banner Spin</button>
<div id="lsPick" hidden></div>
</div>
</div>
<div class="card"><h2>Your banners</h2><p class="muted small">Add the banner look to any banner that is waiting or in the loop: a bright border, plus a teaser line that shows when someone points at it. One-time, per banner.</p><div class="mine" id="mine"></div></div>
<div class="card">
<h2>Your link</h2>
<p class="muted small">Visitors who arrive through this link and stay a few seconds count for you on the weekly leaderboards. A visitor counts once a day.</p>
<div class="share"><input class="mono" id="share" readonly aria-label="Your link"><button class="btn sec small" id="copyBtn">Copy</button></div>
<div class="stats" id="weekStats"></div>
</div>
<div class="card"><h2>Cycle rewards</h2><p class="muted small">Each banner that rides out of the loop earns network ad views. They are recorded here now and will be added to your InstantAdPay or LinkSpin advertising when that link goes live. Ad views buy advertising, not income.</p><div class="scroll" id="rewards"></div></div>
</div>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=5"></script>
<script src="/assets/wallet.js?v=2"></script>
<script src="/assets/buy.js?v=1"></script>
<script src="/assets/my.js?v=3"></script>
</body>
</html>