Compare commits
4 Commits
7b973edcf8
...
5d34997287
| Author | SHA1 | Date | |
|---|---|---|---|
| 5d34997287 | |||
| 756a25068d | |||
| c4ec646bdf | |||
| 3e0dee517d |
@@ -0,0 +1,37 @@
|
||||
// Live SKU values from the shop contract (Marty 2026-11-17, Network Weekend): every page, pack card and the chatbot show what the
|
||||
// contract will really credit, so a late or early owner setSku never shows a wrong number. skus(sku) is read over CHAIN_RPC every
|
||||
// 60 s in the background (never on a request); until the first read answers, or if the RPC is down, the env values stand.
|
||||
// The crediting itself never depends on this: the watcher credits the Purchase event's own credits (shop.js apply).
|
||||
'use strict';
|
||||
const { Interface } = require('ethers');
|
||||
const IFACE = new Interface(['function skus(uint256) view returns (uint64 usdCents, uint64 units, bool active)']);
|
||||
const TTL = 60 * 1000;
|
||||
let C = null, ids = [], live = new Map(), at = 0, timer = null, inflight = null;
|
||||
async function read(sku) {
|
||||
const ac = new AbortController(); const t = setTimeout(() => ac.abort(), 8000); t.unref && t.unref();
|
||||
try {
|
||||
const j = await (await fetch(C.chainRpc, { method: 'POST', headers: { 'Content-Type': 'application/json' }, signal: ac.signal,
|
||||
body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'eth_call', params: [{ to: C.contractAddress, data: IFACE.encodeFunctionData('skus', [sku]) }, 'latest'] }) })).json();
|
||||
if (j.error || !j.result || j.result === '0x') throw new Error('skus(' + sku + ') ' + (j.error ? j.error.message : 'empty'));
|
||||
const r = IFACE.decodeFunctionResult('skus', j.result);
|
||||
return { usdCents: Number(r[0]), units: Number(r[1]), active: !!r[2] };
|
||||
} finally { clearTimeout(t); }
|
||||
}
|
||||
function refresh() {
|
||||
if (inflight || !C || !C.contractAddress || !C.chainRpc) return inflight || Promise.resolve();
|
||||
inflight = Promise.all(ids.map(async s => { try { live.set(s, await read(s)); } catch (e) {} })).then(() => { at = Date.now(); }).finally(() => { inflight = null; });
|
||||
return inflight;
|
||||
}
|
||||
function init(cfg, skuIds) {
|
||||
C = cfg; ids = (skuIds || []).filter(n => Number.isSafeInteger(n) && n > 0);
|
||||
if (timer) clearInterval(timer);
|
||||
if (C.contractAddress && C.chainRpc && ids.length) { refresh(); timer = setInterval(refresh, TTL); timer.unref && timer.unref(); }
|
||||
}
|
||||
// { usdCents, units, active } as the contract holds it, or null (not read yet / RPC down)
|
||||
function get(sku) { return live.get(Number(sku)) || null; }
|
||||
// VBB: the credit packs as the contract holds them right now; the env values (CREDIT_PACKS) until the first read answers
|
||||
function packs(C) {
|
||||
return C.packs.map(p => { const l = get(p.sku); return l && l.active && l.units > 0 && l.usdCents > 0 ? { credits: l.units, usd: l.usdCents / 100, sku: p.sku } : p; });
|
||||
}
|
||||
function lookUsd(C) { const l = get(C.lookSku); return l && l.active && l.usdCents > 0 ? l.usdCents / 100 : C.lookUsd; }
|
||||
module.exports = { init, get, packs, lookUsd, refresh, _set: (sku, v) => live.set(Number(sku), v), _clear: () => live.clear(), _state: () => ({ at, n: live.size }) };
|
||||
+37
-11
@@ -6,18 +6,23 @@
|
||||
// members, 3 banners waiting per member, packs 10 for $3 and 40 for $10, banner look $2), ../contracts VBBShop (SPONSOR_BPS 3000,
|
||||
// PRIZE_BPS 1000, company the rest, sponsor bound once by voucher, no owner withdraw, failed sends claimable), server.js (100 KB
|
||||
// image, 125x125, Banner Spin posting 125x125 or 250x250, one swap per banner and the admin takedown, 2026-11-15), lsspins.js (SPIN tiles in empty places never shift, cycle or earn),
|
||||
// public/how.html, packages.html, leaders.html. The prize pot's floor and cap are internal and never shown (Marty's rule).
|
||||
// public/how.html, packages.html, leaders.html, the Guides pages (/guides, 2026-11-17). The prize pot's floor and cap are internal and never shown (Marty's rule).
|
||||
// HOUSE RULE: when a feature changes, update CANNED and FACTS in the same commit and bump KNOWLEDGE_DATE.
|
||||
// Plain words, no em dashes, never a promise of income, "SafePal or any other crypto wallet", never RM Circle.
|
||||
'use strict';
|
||||
const core = require('./chatcore');
|
||||
const C = require('./config').get();
|
||||
|
||||
const KNOWLEDGE_DATE = '2026-11-15';
|
||||
const KNOWLEDGE_DATE = '2026-11-17';
|
||||
const URL_ = 'https://' + C.site;
|
||||
const SUPPORT = 'https://instantadpay.com/support';
|
||||
const NOT_INCOME = 'You buy advertising for your own banners, not an income opportunity.';
|
||||
const packs = C.packs.map(p => p.credits + ' post credits for $' + p.usd).join(' or ');
|
||||
const chainskus = require('./chainskus'); // live VBBShop SKU values (2026-11-17)
|
||||
const weekend = require('./weekend'); // Network Weekend date gate (2026-11-17)
|
||||
const packsOf = list => list.map(p => p.credits + ' post credits for $' + p.usd).join(' or ');
|
||||
const packs = packsOf(C.packs); // the normal packs, as the stored instant answers say them; render() swaps in the live ones
|
||||
const livePacksText = () => packsOf(chainskus.packs(C));
|
||||
const freeNow = () => weekend.freePerDay(C.freeCreditsPerDay);
|
||||
const places = C.prizePot.places.join('/');
|
||||
|
||||
const CANNED = [
|
||||
@@ -65,7 +70,7 @@ const CANNED = [
|
||||
a: 'Sign in on My Banners (' + URL_ + '/my) through InstantAdPay, LinkSpin or a wallet signature (free, it cannot move funds). Packages are paid in POL on Polygon with SafePal or any other crypto wallet; keep a little extra POL for the network fee.' },
|
||||
{ id: 'safe', title: 'Is it safe? Is it a scheme?', q: ['Is this a pyramid scheme?', 'Is Viral Banner Blitz legit?', 'Who holds the money?'], tags: ['safe', 'legit', 'pyramid', 'contract'],
|
||||
re: /(pyramid|ponzi|scam|scheme|legit|safe|trust|rug|who holds)/i,
|
||||
a: 'Posting is free for network members every day, and packages buy more banner posts and a better-looking banner. The VBBShop contract on Polygon splits each purchase in the same transaction with fixed shares and no owner withdraw. Check every payment at ' + URL_ + '/ledger and the contract at ' + URL_ + '/contract. ' + NOT_INCOME },
|
||||
a: 'Posting is free for network members every day, and packages buy more banner posts and a better-looking banner. The VBBShop contract on Polygon splits each purchase in the same transaction with fixed shares and no owner withdraw. Check every payment at ' + URL_ + '/ledger and the contract at ' + URL_ + '/contract; the walk-through is at ' + URL_ + '/guides/is-it-legit. ' + NOT_INCOME },
|
||||
{ id: 'promote', title: 'Promote Viral Banner Blitz', q: ['Is there a promo kit?', 'Where are the banners to promote VBB?'], tags: ['promote', 'kit', 'banners'],
|
||||
re: /(promo|promote|creatives?|kit|swipes?)/i,
|
||||
a: 'The promo kit at ' + URL_ + '/promote has creatives in the common sizes and copy, all with your link. Every verified visitor you send moves the loop for everyone and counts on the weekly leaderboards.' }
|
||||
@@ -77,27 +82,48 @@ const FAQ = [
|
||||
answer: 'Viral Banner Blitz is part of the network: one account, username and sponsor across InstantAdPay, LinkSpin, Downline Banners, Viral Banner Blitz, ViralAdBlitz, DownlineHydra, 5xYourTeam, Stack POL and Earners Corner. Sign in here through InstantAdPay or LinkSpin.' },
|
||||
{ id: 'f-old-vbb', title: 'The old Viral Banner Blitz', source: 'faq', tags: ['old account', 'old site', 'balance'],
|
||||
questions: ['Where is my old Viral Banner Blitz account?', 'Did my old credits carry over?'],
|
||||
answer: 'Viral Banner Blitz was rebuilt as one shared banner loop. Old members were matched to the network by email; old balances and credits were not carried over. Sign in with InstantAdPay or LinkSpin and you get a free post credit each day you sign in.' }
|
||||
answer: 'Viral Banner Blitz was rebuilt as one shared banner loop. Old members were matched to the network by email; old balances and credits were not carried over. Sign in with InstantAdPay or LinkSpin and you get a free post credit each day you sign in.' },
|
||||
// Guides (Marty 2026-11-17): the evergreen pages the assistant can point people to
|
||||
{ id: 'f-guides', title: 'Viral Banner Blitz guides', source: 'faq', tags: ['guides', 'guide', 'faq', 'legit', 'free account', 'prize boards', 'help pages'],
|
||||
questions: ['Is there a guide or FAQ page?', 'Where can I read how it all works?', 'Is there a page that explains if VBB is legit?'],
|
||||
answer: 'The guides at ' + URL_ + '/guides: how the loop works (' + URL_ + '/how), is Viral Banner Blitz legit (' + URL_ + '/guides/is-it-legit: the contract, the ledger and the 30/10/60 split), getting the most from your free account (' + URL_ + '/guides/free-account), how the weekly prize boards work (' + URL_ + '/guides/prize-boards) and the FAQ (' + URL_ + '/guides/faq).' }
|
||||
];
|
||||
|
||||
const FACTS = () => [
|
||||
'- WHAT IT IS: Viral Banner Blitz (' + URL_ + ') is one public loop of ' + C.loopSize + ' member banners (125x125 tiles). A posted banner waits in line, then enters at the front. Every ' + C.perShift + ' verified visitors shift every banner one place; the banner at the end rides out (has cycled) and its owner earns ' + C.viewsPerCycle + ' network ad views. Cycles are recorded on My Banners now; crediting those views to network advertising is NOT switched on yet.',
|
||||
'- VERIFIED VISITOR: a real browser keeps the loop page open and visible about ' + C.visitSeconds + ' seconds; once per visitor per 24 hours; bots, crawlers, repeats and more than ' + C.perIpDay + ' browsers per connection per day do not count.',
|
||||
'- POSTING: one post credit per banner. Network members (InstantAdPay or LinkSpin, checked with the network hub) get 1 free post credit each day they sign in (Central day). Up to ' + C.maxQueuedPerMember + ' banners waiting per member. Image 125x125, 100 KB max, or post a LinkSpin Banner Spin (125x125 or 250x250). The link must answer. SPIN tiles in empty places are LinkSpin Banner Spins: they never shift, cycle or earn.',
|
||||
'- POSTING: one post credit per banner. Network members (InstantAdPay or LinkSpin, checked with the network hub) get ' + freeNow() + ' free post credit' + (freeNow() === 1 ? '' : 's') + ' each day they sign in (Central day). Up to ' + C.maxQueuedPerMember + ' banners waiting per member. Image 125x125, 100 KB max, or post a LinkSpin Banner Spin (125x125 or 250x250). The link must answer. SPIN tiles in empty places are LinkSpin Banner Spins: they never shift, cycle or earn.',
|
||||
'- ONE SWAP PER BANNER: a banner that is waiting or in the loop can swap its image and/or link ONE time from My Banners (a Banner Spin to another of the member\'s own 125x125/250x250 spins). It keeps its id, place, clicks and loop progress; the new image and link get the same checks as a new post. No second swap. Members cannot withdraw or remove a banner and credits are not refunded. The admin can take a banner down (the owner sees the reason; the admin decides whether the post credit comes back); its place stays as a house tile until it would have ridden out, so nobody else moves, and it never cycles or earns.',
|
||||
'- PACKAGES (one-time, POL at the live price, never a subscription, overpayment returned): ' + packs + '; banner look $' + C.lookUsd + ' per banner (border + hover teaser, on a waiting or in-loop banner, one per banner); tokens (network visits at the InstantAdPay visit rate) coming soon.',
|
||||
'- PACKAGES (one-time, POL at the live price, never a subscription, overpayment returned; read from the VBBShop contract just now): ' + livePacksText() + '; banner look $' + C.lookUsd + ' per banner (border + hover teaser, on a waiting or in-loop banner, one per banner); tokens (network visits at the InstantAdPay visit rate) coming soon.',
|
||||
'- SPLIT (VBBShop constants, no owner withdraw): 30% to the member who introduced the buyer (bound once, by a keeper-signed voucher, on the first purchase; none = company), 10% to the weekly prize pot, 60% company, same transaction. Failed sends wait in the contract for their owner to claim.',
|
||||
'- LEADERBOARDS (Monday to Sunday Central): most verified visitors sent (the member\'s ?ref= link) and most different traffic sources (referring sites). Prize pot = 10% of the week\'s sales, half per board, top three ' + places + ' percent, paid in POL to the winners\' VBB wallets the following Monday at the POL price at payout; ties to whoever got there first. Never state a maximum or a cap.',
|
||||
'- PAGES: / (the loop), /how, /packages, /my (My Banners), /leaders, /promote, /ledger, /contract, /terms, /disclaimer, /privacy. Sign in through InstantAdPay, LinkSpin or a wallet signature.',
|
||||
'- PAGES: / (the loop), /how, /packages, /my (My Banners), /leaders, /promote, /ledger, /contract, /terms, /disclaimer, /privacy. GUIDES (point people to them): /guides (index), /guides/is-it-legit (contract, ledger, split), /guides/free-account (free daily credit, network-verified, tips), /guides/prize-boards (weekly leaderboards and prizes), /guides/faq. Sign in through InstantAdPay, LinkSpin or a wallet signature.',
|
||||
weekendFact(),
|
||||
'- NO REFUNDS: blockchain payments are final. SUPPORT for account or payment problems: network support at ' + SUPPORT + ' (InstantAdPay runs the one desk for every network site). ' + NOT_INCOME
|
||||
].join('\n');
|
||||
].filter(Boolean).join('\n');
|
||||
|
||||
// Network Weekend (Black Friday to Cyber Monday, Fri 11-27 00:00 CT to Tue 12-01 00:00 CT): only while it runs, from live values
|
||||
function weekendFact() {
|
||||
if (!weekend.on()) return '';
|
||||
const big = chainskus.packs(C).slice().sort((a, b) => b.usd - a.usd)[0]; const base = C.packs.slice().sort((a, b) => b.usd - a.usd)[0];
|
||||
return '- NETWORK WEEKEND (Black Friday to Cyber Monday, midnight to midnight Central, ends Monday 11-30 at 11:59 PM Central): network members get ' + freeNow() + ' free post credits a day.'
|
||||
+ (big && base && big.credits > base.credits ? ' The $' + big.usd + ' pack carries ' + big.credits + ' credits instead of ' + base.credits + ', same price.' : '')
|
||||
+ ' Other network deals: https://instantadpay.com/weekend';
|
||||
}
|
||||
// instant answers carry the normal numbers; at answer time swap in the live packs and, during Network Weekend, today's free credits
|
||||
function render(t) {
|
||||
let out = String(t).split(packs).join(livePacksText());
|
||||
if (freeNow() > 1) out = out.replace(/\b(get|gets) one free post credit (each|every) day they sign in/g, '$1 ' + freeNow() + ' free post credits each day they sign in during Network Weekend (through Monday 11-30, Central)')
|
||||
.replace(/you get a free post credit each day you sign in/g, 'you get ' + freeNow() + ' free post credits each day you sign in during Network Weekend (through Monday 11-30, Central)');
|
||||
return out;
|
||||
}
|
||||
|
||||
const SITE = {
|
||||
id: 'vbb', hubSite: 'vbb', netId: 'vbb', name: 'Viral Banner Blitz', url: URL_, supportUrl: SUPPORT, knowledgeDate: KNOWLEDGE_DATE,
|
||||
dataDir: C.dataDir, canned: CANNED, faq: FAQ, facts: FACTS,
|
||||
dataDir: C.dataDir, canned: CANNED, faq: FAQ, facts: FACTS, render,
|
||||
intro: 'You are the assistant on Viral Banner Blitz (' + URL_ + '), one public banner loop the community moves with verified visitors: post a 125x125 banner, ride it out, earn network ad views. Network members post free once a day; credit packs and a banner look are one-time purchases.',
|
||||
quickTopics: ['How does the loop work?', 'Is posting free?', 'How do the leaderboards work?', 'What is ViralAdBlitz?']
|
||||
};
|
||||
|
||||
function init() { return core.init(SITE); }
|
||||
module.exports = { init, handle: core.handle, answer: core.answer, KNOWLEDGE_DATE, CANNED, FAQ, SITE };
|
||||
module.exports = { init, handle: core.handle, answer: core.answer, KNOWLEDGE_DATE, CANNED, FAQ, SITE, FACTS, render };
|
||||
|
||||
+5
-3
@@ -28,6 +28,8 @@ function key() {
|
||||
try { return fs.readFileSync(path.join(S.dataDir, 'openrouter.key'), 'utf8').trim(); } catch (e) { return ''; }
|
||||
}
|
||||
const enabled = () => !!key();
|
||||
// optional per-site rewrite of an instant answer at answer time (2026-11-17, Network Weekend: live chain numbers and dated deals)
|
||||
const R = t => { try { return S && typeof S.render === 'function' ? S.render(t) : t; } catch (e) { return t; } };
|
||||
|
||||
// CANNED + FAQ in the shape kb.js stores (order keeps the first-match-wins sequence)
|
||||
function seeds() {
|
||||
@@ -129,14 +131,14 @@ async function answerRaw(message, historyText) {
|
||||
if (hit && other.length && !hit.handoff) hit = null;
|
||||
} catch (e) { kbOk = false; console.error('kb fast path', e.message); }
|
||||
// a hand-off (support, one person's account problem) always answers from its exact pattern, before anything else
|
||||
if (hit && hit.handoff) return { reply: hit.answer, canned: true, kb: hit.id, handoff: true };
|
||||
if (hit && hit.handoff) return { reply: R(hit.answer), canned: true, kb: hit.id, handoff: true };
|
||||
// then meaning (2026-11-16, netkb.route): the hub's semantic match over the network KB answers, keeps or overrules the
|
||||
// pattern hit, and picks the prompt context. Hub or model slow or down: null, and the pattern + BM25 path below runs as before.
|
||||
let sem = null;
|
||||
if (kbOk) { try { sem = await netkb.route(msg, { fast: hit, own: await kb.own(), prefer: other }); } catch (e) { sem = null; } }
|
||||
if (sem) hit = sem.hit;
|
||||
if (hit) return Object.assign({ reply: hit.answer, canned: true, kb: hit.id }, sem ? { via: sem.via } : {}, hit.handoff ? { handoff: true } : {});
|
||||
if (!kbOk) for (const c of S.canned) if (c.re && c.re.test(msg)) return Object.assign({ reply: c.a, canned: true }, c.handoff ? { handoff: true } : {});
|
||||
if (hit) return Object.assign({ reply: R(hit.answer), canned: true, kb: hit.id }, sem ? { via: sem.via } : {}, hit.handoff ? { handoff: true } : {});
|
||||
if (!kbOk) for (const c of S.canned) if (c.re && c.re.test(msg)) return Object.assign({ reply: R(c.a), canned: true }, c.handoff ? { handoff: true } : {});
|
||||
let kbBlock = '', kbIds = [], hits = [];
|
||||
try {
|
||||
const query = msg.split(/\s+/).length < 4 && historyText ? msg + ' ' + String(historyText).slice(-200) : msg;
|
||||
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
// Network deals for this site's "Network Weekend" ribbon (Marty 2026-11-17). One source: the hub's public GET /v1/network-deals
|
||||
// (HUB_URL). Cached 2 minutes, refreshed in the background, never waits on a slow hub (2.5 s timeout); hub down = no ribbon.
|
||||
// The same file lives in every network site. Never RM Circle, never the games (the hub list never names them).
|
||||
// The page (/assets/netweekend.js) switches the ribbon on and off by its own clock at startsAt / endsAt, so a cached copy never
|
||||
// shows early or late. setLocal(fn) lets a site rewrite its own deal line from live data (for example a price read from chain),
|
||||
// so the ribbon never shows a number the contract does not charge: fn(deal) returns the deal, a changed copy, or null to drop it.
|
||||
const TTL = 2 * 60 * 1000;
|
||||
let cache = { at: 0, body: { events: [] } };
|
||||
let inflight = null;
|
||||
let local = null;
|
||||
|
||||
const hubUrl = () => String(process.env.HUB_URL || 'https://hub.saasy.top').trim().replace(/\/+$/, '');
|
||||
const safeUrl = u => (/^https:\/\/[a-z0-9.-]+(\/[^\s"'<>]*)?$/i.test(String(u || '')) ? String(u) : '');
|
||||
const str = (v, n) => String(v == null ? '' : v).slice(0, n || 300);
|
||||
function clean(j) {
|
||||
if (!j || !Array.isArray(j.events)) return null;
|
||||
return { events: j.events.slice(0, 5).filter(e => e && e.id && !Number.isNaN(Date.parse(e.startsAt)) && !Number.isNaN(Date.parse(e.endsAt))).map(e => ({
|
||||
id: str(e.id, 60), name: str(e.name, 60), tagline: str(e.tagline, 160), url: safeUrl(e.url), startsAt: e.startsAt, endsAt: e.endsAt,
|
||||
days: e.days && typeof e.days === 'object' ? Object.fromEntries(Object.entries(e.days).slice(0, 20).map(([k, v]) => [str(k, 10), str(v, 40)])) : {},
|
||||
deals: (Array.isArray(e.deals) ? e.deals : []).slice(0, 40).map(d => {
|
||||
const x = { site: str(d.site, 30), name: str(d.name, 80), url: safeUrl(d.url), text: str(d.text), endsAt: Number.isNaN(Date.parse(d.endsAt)) ? e.endsAt : d.endsAt };
|
||||
if (d.note) x.note = str(d.note, 120);
|
||||
if (d.byDay && typeof d.byDay === 'object') x.byDay = Object.fromEntries(Object.entries(d.byDay).slice(0, 20).map(([k, v]) => [str(k, 10), str(v)]));
|
||||
return x;
|
||||
})
|
||||
})) };
|
||||
}
|
||||
function refresh() {
|
||||
if (inflight || process.env.NETWORK_DEALS_HUB === '0') return inflight;
|
||||
const ac = new AbortController(); const t = setTimeout(() => ac.abort(), 2500);
|
||||
inflight = fetch(hubUrl() + '/v1/network-deals', { signal: ac.signal })
|
||||
.then(r => (r.ok ? r.json() : null))
|
||||
.then(j => { const b = clean(j); if (b) cache = { at: Date.now(), body: b }; else cache.at = Date.now(); })
|
||||
.catch(() => { cache.at = Date.now() - TTL + 30 * 1000; }) // hub down: try again in 30 s, keep the last good copy
|
||||
.finally(() => { clearTimeout(t); inflight = null; });
|
||||
return inflight;
|
||||
}
|
||||
function current() { if (Date.now() - cache.at > TTL) refresh(); return cache.body; }
|
||||
function setLocal(fn) { local = typeof fn === 'function' ? fn : null; }
|
||||
function withLocal(body, self) {
|
||||
if (!local) return body;
|
||||
return { events: body.events.map(e => Object.assign({}, e, { deals: e.deals.map(d => {
|
||||
if (d.site !== self) return d;
|
||||
try { const r = local(Object.assign({}, d)); return r === undefined ? d : r; } catch (err) { return d; }
|
||||
}).filter(Boolean) })) };
|
||||
}
|
||||
// GET /api/network-deals: public, short cache, the same answer on every page. self = this site's network id (NETWORK_SITE_ID).
|
||||
async function handle(req, res, self) {
|
||||
if (!cache.at) { try { await refresh(); } catch (e) {} } // first ask after a boot waits for the hub once (2.5 s cap)
|
||||
const me = String(self || process.env.NETWORK_SITE_ID || '').trim().toLowerCase();
|
||||
const body = Object.assign({ self: me }, withLocal(current(), me));
|
||||
res.writeHead(200, { 'Content-Type': 'application/json; charset=utf-8', 'Cache-Control': 'public, max-age=60', 'X-Content-Type-Options': 'nosniff' });
|
||||
res.end(JSON.stringify(body));
|
||||
}
|
||||
module.exports = { current, handle, refresh, setLocal, clean, _set: b => { cache = { at: Date.now(), body: clean(b) || { events: [] } }; } };
|
||||
+1
-1
@@ -36,7 +36,7 @@ function list() { if (Date.now() - cache.at > TTL) refresh(); return cache.list;
|
||||
// entry also gets go = the LinkSpin network link for that site with ?src=<this site>, so a click shows in LinkSpin Reports under the
|
||||
// site that sent it (LinkSpin netlinks.js: fixed codes on the admin account). This site = NETWORK_SITE_ID, else the request host.
|
||||
// No go for this site itself, or when this site cannot be told (a test host): the page then uses the plain url.
|
||||
const CODES = { iap: 'nwiap', linkspin: 'nwls', dlb: 'nwdlb', vbb: 'nwvbb', viraladblitz: 'nwvab', viraladsource: 'nwvas', fivex: 'nw5x', downlinehydra: 'nwdh', stackpol: 'nwsp', earnerscorner: 'nwec' };
|
||||
const CODES = { iap: 'nwiap', linkspin: 'nwls', dlb: 'nwdlb', vbb: 'nwvbb', viraladblitz: 'nwvab', viraladsource: 'nwvas', yourprogrambuilder: 'nwypb', fivex: 'nw5x', downlinehydra: 'nwdh', stackpol: 'nwsp', earnerscorner: 'nwec' };
|
||||
const linksBase = () => String(process.env.NETWORK_LINKS_BASE || 'https://linkspin.app').trim().replace(/\/+$/, '');
|
||||
const hostOf = u => { try { return new URL(u).hostname.toLowerCase().replace(/^www\./, ''); } catch (e) { return ''; } };
|
||||
function selfId(req, l) {
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@
|
||||
</div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=9"></script>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/admin.js?v=3"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
// Shared page helpers (VBB namespace, modelled on Downline Banners' common.js): nav, footer, toasts, fetch helpers.
|
||||
window.VBB = (function () {
|
||||
// Network Weekend ribbon (Marty 2026-11-17): netweekend.js paints itself only while a network event is live (exact Central times)
|
||||
if (!/^\/admin/.test(location.pathname)) { const nw = document.createElement('script'); nw.src = '/assets/netweekend.js?v=20261117a'; nw.defer = true; nw.setAttribute('data-site', 'vbb'); document.head.appendChild(nw); }
|
||||
let cfgP = null;
|
||||
const $ = id => document.getElementById(id);
|
||||
const esc = s => String(s == null ? '' : s).replace(/[&<>"']/g, c => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[c]));
|
||||
@@ -13,7 +15,7 @@ window.VBB = (function () {
|
||||
|
||||
function renderNav(active) {
|
||||
const nav = document.createElement('nav'); nav.className = 'top';
|
||||
const links = [['/', 'The loop'], ['/leaders', 'Leaderboards'], ['/how', 'How it works'], ['/packages', 'Packages'], ['/promote', 'Promote'], ['/my', 'My Banners']];
|
||||
const links = [['/', 'The loop'], ['/leaders', 'Leaderboards'], ['/how', 'How it works'], ['/guides', 'Guides'], ['/packages', 'Packages'], ['/promote', 'Promote'], ['/my', 'My Banners']];
|
||||
nav.innerHTML = '<div class="wrap"><a class="brand" href="/"><img src="/art/mark.svg" alt="" width="36" height="36"><span><span class="wm">Viral Banner <b>Blitz</b></span>'
|
||||
+ '<span class="by">Part of the Crypto Team Build Network</span></span></a><div class="links">'
|
||||
+ links.map(l => '<a href="' + l[0] + '"' + (l[0] === active ? ' class="on" aria-current="page"' : '') + '>' + l[1] + '</a>').join('') + '</div></div>';
|
||||
@@ -47,7 +49,7 @@ window.VBB = (function () {
|
||||
const f = document.createElement('footer'); f.className = 'foot';
|
||||
f.innerHTML = '<div class="wrap"><p><b>Viral Banner Blitz</b>, part of the Crypto Team Build Network</p>'
|
||||
+ '<p>A banner that cycles earns advertising across the network, not cash. Nothing here is an income opportunity.</p>'
|
||||
+ '<p><a href="/">The loop</a> · <a href="/leaders">Leaderboards</a> · <a href="/how">How it works</a> · <a href="/packages">Packages</a> · <a href="/promote">Promote</a> · <a href="/my">My Banners</a></p>'
|
||||
+ '<p><a href="/">The loop</a> · <a href="/leaders">Leaderboards</a> · <a href="/how">How it works</a> · <a href="/guides">Guides</a> · <a href="/packages">Packages</a> · <a href="/promote">Promote</a> · <a href="/my">My Banners</a></p>'
|
||||
// trust pack (Marty 2026-11-14): legal + proof links, company line, and the network line served by the hub
|
||||
+ '<p class="legal-links"><a href="/terms">Terms</a> · <a href="/disclaimer">Earnings Disclaimer</a> · <a href="/privacy">Privacy</a> · <a href="/contract">Contract</a> · <a href="/ledger">Ledger</a> · <a href="https://instantadpay.com/support" target="_blank" rel="noopener">Support</a></p>'
|
||||
+ '<p class="co">© 2026 TrustClickz</p><p class="netline"></p></div>';
|
||||
|
||||
+2
-2
@@ -160,8 +160,8 @@
|
||||
const live = d.banners.filter(b => b.state === 'queued' || b.state === 'loop').length, cyc = d.banners.filter(b => b.state === 'cycled').length;
|
||||
$('stats').innerHTML = [['Post credits', d.credits], ['Banners waiting or in the loop', live], ['Banners cycled', cyc], ['Network ad views earned', VBB.n(d.rewardViews)]]
|
||||
.map(x => '<div class="stat"><b>' + esc(x[1]) + '</b><span>' + esc(x[0]) + '</span></div>').join('');
|
||||
$('creditNote').textContent = !d.netVerified ? 'Free daily credits are for network members. Sign in through InstantAdPay or LinkSpin, or make a free InstantAdPay account with this wallet, and your free credit arrives each day you sign in. You can have up to ' + d.maxQueued + ' banners waiting at once.' : (d.grantedNow ? 'Your free credit for today was just added. ' : d.freeToday ? 'Today\'s free credit is in. ' : '')
|
||||
+ 'One free credit arrives each day you sign in (they bank up to ' + d.freeCreditCap + '). You can have up to ' + d.maxQueued + ' banners waiting at once.';
|
||||
$('creditNote').textContent = !d.netVerified ? 'Free daily credits are for network members. Sign in through InstantAdPay or LinkSpin, or make a free InstantAdPay account with this wallet, and your free credit arrives each day you sign in. You can have up to ' + d.maxQueued + ' banners waiting at once.' : (d.grantedNow ? ((d.freePerDay || 1) > 1 ? 'Your free credits for today were just added. ' : 'Your free credit for today was just added. ') : d.freeToday ? 'Today\'s free credit is in. ' : '')
|
||||
+ ((d.freePerDay || 1) > 1 ? 'Network Weekend: ' + d.freePerDay + ' free credits arrive each day you sign in, through Monday 11-30 Central (they bank up to ' : 'One free credit arrives each day you sign in (they bank up to ') + d.freeCreditCap + '). You can have up to ' + d.maxQueued + ' banners waiting at once.';
|
||||
$('postBtn').disabled = d.credits < 1; $('lsBtn').disabled = d.credits < 1;
|
||||
if (d.credits < 1) $('creditNote').textContent += (shopLive ? ' Out of credits: get a pack on the Packages page, or come back tomorrow for a free one.' : '');
|
||||
$('mine').innerHTML = d.banners.length ? '' : '<p class="muted">No banners yet. Post your first one above.</p>';
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
// "Network Weekend" ribbon (Marty 2026-11-17): a thin bar at the top of every network site page while a network event is live.
|
||||
// Data: /api/network-deals (netdeals.js, from the hub). Switches on and off by this page's own clock at the event's exact
|
||||
// startsAt / endsAt (US Central midnights), so a cached feed never shows it early or late, and it takes itself down at endsAt on
|
||||
// a page left open. Shows this site's own deal for today (byDay, Central date) and links to the full deals page.
|
||||
// The same file lives in every network site. Never RM Circle, never the games. No inline styles (CSP): styles go through CSSOM.
|
||||
// Test clock: window.__NW_NOW (ms) before this script runs; nothing else.
|
||||
(function () {
|
||||
if (window.__nwRibbon) return; window.__nwRibbon = 1;
|
||||
var tag = document.currentScript;
|
||||
var meAttr = (tag && tag.getAttribute('data-site')) || '';
|
||||
function now() { return typeof window.__NW_NOW === 'number' ? window.__NW_NOW : Date.now(); }
|
||||
// late November is CST (UTC-6) for every date this ribbon covers
|
||||
function ctDay(ms) { return new Date(ms - 6 * 3600 * 1000).toISOString().slice(0, 10); }
|
||||
function closedKey(id, day) { return 'nw.closed.' + id + '.' + day; }
|
||||
function isClosed(id, day) { try { return window.localStorage.getItem(closedKey(id, day)) === '1'; } catch (e) { return false; } }
|
||||
function setClosed(id, day) { try { window.localStorage.setItem(closedKey(id, day), '1'); } catch (e) {} }
|
||||
var bar = null;
|
||||
function remove() { if (bar && bar.parentNode) bar.parentNode.removeChild(bar); bar = null; }
|
||||
function paint(body) {
|
||||
var me = meAttr || (body && body.self) || '';
|
||||
var t = now();
|
||||
var ev = ((body && body.events) || []).filter(function (e) { return t >= Date.parse(e.startsAt) && t < Date.parse(e.endsAt); })[0];
|
||||
if (!ev) { remove(); return false; }
|
||||
var day = ctDay(t);
|
||||
if (isClosed(ev.id, day)) { remove(); return true; }
|
||||
var mine = (ev.deals || []).filter(function (d) { return d.site === me && t < Date.parse(d.endsAt || ev.endsAt); })[0];
|
||||
var line = mine ? ((mine.byDay && mine.byDay[day]) || mine.text) : '';
|
||||
var label = (ev.days && ev.days[day]) || '';
|
||||
var onDealsPage = ev.url && (location.origin + location.pathname) === ev.url;
|
||||
remove();
|
||||
bar = document.createElement('div');
|
||||
bar.className = 'nw-ribbon'; bar.setAttribute('role', 'region'); bar.setAttribute('aria-label', ev.name);
|
||||
bar.style.cssText = 'position:relative;z-index:50;display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;justify-content:center;padding:8px 40px 8px 16px;'
|
||||
+ 'background:#14161b;color:#f4f1e8;font:600 13.5px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;text-align:center;border-bottom:2px solid #f2c94c';
|
||||
// built node by node with CSSOM styles: no style attributes, so a strict CSP (style-src 'self') has nothing to block
|
||||
function el(tagName, css, text) { var n = document.createElement(tagName); if (css) n.style.cssText = css; if (text) n.textContent = text; return n; }
|
||||
var head = el('span'); head.appendChild(el('b', 'color:#f2c94c', ev.name)); if (label) head.appendChild(document.createTextNode(' · ' + label));
|
||||
bar.appendChild(head);
|
||||
var body2 = el('span', 'font-weight:500', line || ev.tagline);
|
||||
if (line && mine && mine.note) { body2.appendChild(document.createTextNode(' ')); body2.appendChild(el('span', 'opacity:.75', mine.note)); }
|
||||
bar.appendChild(body2);
|
||||
if (ev.url && !onDealsPage) { var a = el('a', 'color:#f2c94c;text-decoration:underline', 'See every deal'); a.href = ev.url; a.target = '_blank'; a.rel = 'noopener'; bar.appendChild(a); }
|
||||
var x = el('button', 'position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:0;color:#f4f1e8;font-size:18px;line-height:1;cursor:pointer;padding:4px 8px', '×');
|
||||
x.type = 'button'; x.setAttribute('aria-label', 'Hide for today'); bar.appendChild(x);
|
||||
bar.querySelector('button').addEventListener('click', function () { setClosed(ev.id, day); remove(); });
|
||||
document.body.insertBefore(bar, document.body.firstChild);
|
||||
return true;
|
||||
}
|
||||
var feed = null, timer = null;
|
||||
function schedule() {
|
||||
clearTimeout(timer); if (!feed) return;
|
||||
// wake at the next switch moment (start, end, a deal ending, the next Central midnight), at least once a minute
|
||||
var t = now(), next = t + 60 * 1000;
|
||||
(feed.events || []).forEach(function (e) {
|
||||
[e.startsAt, e.endsAt].concat((e.deals || []).map(function (d) { return d.endsAt; })).forEach(function (s) { var x = Date.parse(s); if (x > t && x < next) next = x; });
|
||||
});
|
||||
timer = setTimeout(function () { if (typeof window.__NW_NOW === 'number') window.__NW_NOW += next - t; paint(feed); schedule(); }, Math.max(250, next - t));
|
||||
}
|
||||
function run() {
|
||||
fetch('/api/network-deals', { credentials: 'omit' }).then(function (r) { return r.ok ? r.json() : null; }).then(function (b) {
|
||||
if (!b || !Array.isArray(b.events) || !b.events.length) return;
|
||||
feed = b; paint(b); schedule();
|
||||
}).catch(function () {});
|
||||
}
|
||||
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', run); else run();
|
||||
window.__nwPaint = function (b) { feed = b; return paint(b); }; // tests
|
||||
})();
|
||||
@@ -5,6 +5,8 @@
|
||||
const c = await VBB.getConfig().catch(() => ({}));
|
||||
const money = v => '$' + (Number.isInteger(v) ? v : Number(v).toFixed(2));
|
||||
if (c.lookUsd) $('pkLook').textContent = money(c.lookUsd) + ' per banner';
|
||||
// Network Weekend (2026-11-17): the free daily credits as the server grants them today
|
||||
if (c.freeCreditsPerDay > 1 && $('pkFree')) $('pkFree').textContent = 'Network Weekend: every network member (InstantAdPay or LinkSpin) gets ' + c.freeCreditsPerDay + ' free post credits each day they sign in, through Monday 11-30, midnight Central.';
|
||||
const packs = (c.packs || []).slice(0, 2);
|
||||
packs.forEach((p, i) => { const el = $('pkPack' + i); if (!el) return;
|
||||
el.querySelector('[data-pk=credits]').textContent = VBB.n(p.credits); el.querySelector('[data-pk=usd]').textContent = money(p.usd); });
|
||||
|
||||
@@ -1,15 +1,21 @@
|
||||
// How it works + Packages: nav, footer, and the live config numbers.
|
||||
// How it works, Packages and the Guides pages (2026-11-17): nav, footer, and the live config numbers.
|
||||
(async function () {
|
||||
const page = location.pathname.replace(/\/$/, '') || '/';
|
||||
VBB.renderNav(page); VBB.renderFooter();
|
||||
VBB.renderNav(page.indexOf('/guides') === 0 ? '/guides' : page); VBB.renderFooter();
|
||||
const c = await VBB.getConfig().catch(() => ({}));
|
||||
const set = (k, v) => document.querySelectorAll('[data-k=' + k + ']').forEach(el => { el.textContent = v; });
|
||||
if (c.perShift) set('perShift', c.perShift);
|
||||
if (c.viewsPerCycle != null) set('views', VBB.n(c.viewsPerCycle));
|
||||
if (c.visitSeconds) set('secs', c.visitSeconds);
|
||||
// Guides (2026-11-17): free credits a day (Network Weekend aware, from the server), the free-credit bank, waiting banners, the look, the packs
|
||||
if (c.freeCreditsPerDay) set('freeDay', c.freeCreditsPerDay === 1 ? 'one free post credit' : c.freeCreditsPerDay + ' free post credits');
|
||||
if (c.freeCreditCap) set('freeCap', c.freeCreditCap);
|
||||
if (c.maxQueued) set('maxQueued', c.maxQueued);
|
||||
// package prices from config (the Packages page has its own script, packages.js, with the Buy buttons)
|
||||
const money = v => '$' + (Number.isInteger(v) ? v : Number(v).toFixed(2));
|
||||
const pp = document.getElementById('pkPacks');
|
||||
if (pp && c.packs && c.packs.length) pp.innerHTML = c.packs.map(p => '<li>' + VBB.n(p.credits) + ' post credits for ' + money(p.usd) + '</li>').join('');
|
||||
if (c.lookUsd) set('lookUsd', money(c.lookUsd));
|
||||
if (c.packs && c.packs.length) set('packsText', c.packs.map(p => VBB.n(p.credits) + ' post credits for ' + money(p.usd)).join(' or '));
|
||||
const lk = document.getElementById('pkLook'); if (lk && c.lookUsd) lk.textContent = money(c.lookUsd) + ' per banner';
|
||||
})();
|
||||
|
||||
@@ -197,3 +197,14 @@ footer.foot .netline b{color:#fff} footer.foot .netline .here{color:#fff;font-we
|
||||
.adm-b .s{flex:1;min-width:220px;font-size:13.5px;word-break:break-all}
|
||||
.adm-b textarea{width:100%;min-height:54px;font:14px var(--body);border:var(--edge);border-radius:8px;padding:8px}
|
||||
.mine .item.swapping{flex-wrap:wrap;align-items:flex-start}.mine .item.swapping .s{flex:1 1 100%}
|
||||
/* Guides (2026-11-17): the /guides index cards, the guide-to-guide links and the FAQ list */
|
||||
.guides{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:12px 0}
|
||||
.guides a.card{display:block;margin:0;color:var(--ink);text-decoration:none}
|
||||
.guides a.card:hover{transform:translate(-2px,-2px)}
|
||||
.guides a.card b{display:block;font:800 19px/1.15 var(--disp);margin-bottom:6px}
|
||||
.guide-next{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 0}
|
||||
.faq details{border-bottom:1.5px solid var(--line);padding:12px 0}
|
||||
.faq details:last-child{border-bottom:0}
|
||||
.faq summary{cursor:pointer;font-weight:700;font-size:16px}
|
||||
.faq details p{margin:8px 0 0;max-width:760px}
|
||||
.addr{word-break:break-all}
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
</div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=9"></script>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/contract.js?v=2"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<div class="card"><h2>Your decision</h2><p>Only spend what you can afford to lose completely. This is not financial, legal or tax advice. You are responsible for any taxes on what you receive.</p></div>
|
||||
<div class="card"><h2>Contact</h2><p>Questions, problems or a request about your data: <a href="https://instantadpay.com/support" target="_blank" rel="noopener">network support</a> (TrustClickz).</p></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=9"></script>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/static.js?v=1"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
||||
<title>FAQ | Viral Banner Blitz</title>
|
||||
<meta name="description" content="Viral Banner Blitz FAQ: free post credits, posting and swapping banners, verified visitors, packages, the 30/10/60 split, prizes, refunds and support.">
|
||||
<link rel="canonical" href="https://viralbannerblitz.com/guides/faq">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:site_name" content="Viral Banner Blitz">
|
||||
<meta property="og:title" content="FAQ | Viral Banner Blitz">
|
||||
<meta property="og:description" content="Viral Banner Blitz FAQ: free post credits, posting and swapping banners, verified visitors, packages, the 30/10/60 split, prizes, refunds and support.">
|
||||
<meta property="og:url" content="https://viralbannerblitz.com/guides/faq">
|
||||
<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="FAQ | Viral Banner Blitz">
|
||||
<meta name="twitter:description" content="Viral Banner Blitz FAQ: free post credits, posting and swapping banners, verified visitors, packages, the 30/10/60 split, prizes, refunds and support.">
|
||||
<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=8">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
<section class="hero"><div class="eyebrow"><i></i>Guides</div><h1>Viral Banner Blitz FAQ</h1><p class="lead">Short answers. The chat button on every page answers the same way.</p></section>
|
||||
<div class="card faq">
|
||||
<details><summary>What is Viral Banner Blitz?</summary><p>One public banner loop the whole community moves. Post a 125x125 banner; it waits in line, then enters the loop. Every <span data-k="perShift">10</span> verified visitors shift every banner one place forward, and the banner at the end rides out: it has cycled, and its owner earns <span data-k="views">150</span> network ad views. See <a href="/how">how the loop works</a>.</p></details>
|
||||
<details><summary>Is posting free?</summary><p>Network members (anyone with an InstantAdPay or LinkSpin account) get <span data-k="freeDay">one free post credit</span> each day they sign in, Central time. Each credit posts one banner. Want to post more? Credit packs are one-time purchases: <span data-k="packsText">10 post credits for $3 or 40 post credits for $10</span>. More in <a href="/guides/free-account">getting the most from your free account</a>.</p></details>
|
||||
<details><summary>How do I post a banner, and what size?</summary><p>On <a href="/my">My Banners</a> upload a 125x125 image (100 KB or less) with your link, or post one of your LinkSpin Banner Spins (125x125 or 250x250). It uses one post credit, waits in line, and enters the loop at the front at the next shift. Your link must be a real page that loads.</p></details>
|
||||
<details><summary>Can I change or remove my banner?</summary><p>Each banner can be swapped one time: a new image, a new link, or both, from My Banners. It keeps its place, its clicks and its progress through the loop. After that one swap the button is gone. Members cannot withdraw or remove a posted banner, and post credits are not refunded. A banner that breaks the rules can be taken down by the admin, and its owner sees the reason on My Banners.</p></details>
|
||||
<details><summary>What do I get when my banner cycles?</summary><p><span data-k="views">150</span> network ad views, advertising for your own offers across the network. Right now each cycle is recorded on your My Banners page; adding those views to your network advertising is the next step and is not switched on yet. It is advertising, not cash.</p></details>
|
||||
<details><summary>What counts as a verified visitor?</summary><p>A real browser that keeps the loop page open and visible for about <span data-k="secs">6</span> seconds. Each visitor counts once every 24 hours. Bots, crawlers, repeat visits and more than a few visitors per internet connection a day do not count.</p></details>
|
||||
<details><summary>How much are the packages? Is it a subscription?</summary><p>Post credit packs: <span data-k="packsText">10 post credits for $3 or 40 post credits for $10</span>. The banner look is <span data-k="lookUsd">$2</span> per banner: a bright border in the loop plus a teaser line. All one-time purchases in POL at the live price, never a subscription. Anything above the price comes back in the same transaction. See <a href="/packages">packages</a>.</p></details>
|
||||
<details><summary>Where does my payment go?</summary><p>Each purchase is split on Polygon in the same transaction: 30% to the network member who introduced the buyer (to Viral Banner Blitz if nobody did), 10% to the weekly prize pot, 60% to Viral Banner Blitz. The introducer is set once, on the buyer's first purchase, and never changes. See <a href="/guides/is-it-legit">is Viral Banner Blitz legit?</a></p></details>
|
||||
<details><summary>How do I withdraw?</summary><p>There is nothing to withdraw. The introducer's 30% goes straight to their wallet inside the buyer's transaction (a payment that fails to send waits in the contract for that wallet to claim). Leaderboard prizes are paid in POL to the winners' wallets. Every payment is in the <a href="/ledger">ledger</a>.</p></details>
|
||||
<details><summary>How do I sign in, and which wallet do I use?</summary><p>Sign in on <a href="/my">My Banners</a> through InstantAdPay, LinkSpin or a wallet signature (free, it cannot move funds). Packages are paid in POL on Polygon with SafePal or any other crypto wallet; keep a little extra POL for the network fee.</p></details>
|
||||
<details><summary>Can I get a refund?</summary><p>Purchases are paid on Polygon and are final once confirmed, so they cannot be reversed or refunded. Every package is a one-time purchase that never renews, so there is nothing to cancel. If something went wrong with a payment, open network support with the transaction link.</p></details>
|
||||
<details><summary>How do the leaderboards and prizes work?</summary><p>Two weekly leaderboards, Monday to Sunday Central time: most verified visitors sent on your link, and most different websites they came from. The top three on each share the prize pot (10% of the week's sales, 50/30/20 percent), paid in POL to the wallet of their Viral Banner Blitz account the following Monday. Ties go to whoever got there first. See <a href="/guides/prize-boards">how the weekly prize boards work</a>.</p></details>
|
||||
<details><summary>What are the SPIN tiles in the loop?</summary><p>Members' LinkSpin Banner Spins showing in empty places of the loop. They are not in the loop: they never shift it, never cycle and never earn. Post a banner and yours takes a real place.</p></details>
|
||||
<details><summary>Is this a pyramid scheme?</summary><p>Posting is free for network members every day, and packages buy more banner posts and a better-looking banner. The VBBShop contract splits each purchase with fixed shares and has no owner withdraw. You buy advertising for your own banners, not an income opportunity.</p></details>
|
||||
<details><summary>Do I need a new account? Where is my old account?</summary><p>Viral Banner Blitz is part of the network: one account, username and sponsor across InstantAdPay, LinkSpin and the other network sites. Sign in here through InstantAdPay or LinkSpin. The site was rebuilt as one shared banner loop: old members were matched to the network by email, and old balances and credits were not carried over.</p></details>
|
||||
<details><summary>Is there a promo kit?</summary><p>Yes. The <a href="/promote">promo kit</a> has creatives in the common sizes and copy, all with your link.</p></details>
|
||||
<details><summary>How do I reach a person?</summary><p>Open network support at <a href="https://instantadpay.com/support" target="_blank" rel="noopener">instantadpay.com/support</a>, say it is about Viral Banner Blitz, and include your wallet address (and the transaction link if it is about a purchase).</p></details>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>More guides</h2>
|
||||
<div class="guide-next"><a class="btn small" href="/guides">All guides</a><a class="btn quiet small" href="/how">How the loop works</a><a class="btn quiet small" href="/guides/is-it-legit">Is Viral Banner Blitz legit?</a><a class="btn quiet small" href="/guides/free-account">Getting the most from your free account</a><a class="btn quiet small" href="/guides/prize-boards">How the weekly prize boards work</a></div>
|
||||
</div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/static.js?v=2"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,68 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
||||
<title>Getting the most from your free account | Viral Banner Blitz</title>
|
||||
<meta name="description" content="How to get the most from a free Viral Banner Blitz account: the free daily post credit, what network-verified means, and how to make each banner count.">
|
||||
<link rel="canonical" href="https://viralbannerblitz.com/guides/free-account">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:site_name" content="Viral Banner Blitz">
|
||||
<meta property="og:title" content="Getting the most from your free account | Viral Banner Blitz">
|
||||
<meta property="og:description" content="How to get the most from a free Viral Banner Blitz account: the free daily post credit, what network-verified means, and how to make each banner count.">
|
||||
<meta property="og:url" content="https://viralbannerblitz.com/guides/free-account">
|
||||
<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="Getting the most from your free account | Viral Banner Blitz">
|
||||
<meta name="twitter:description" content="How to get the most from a free Viral Banner Blitz account: the free daily post credit, what network-verified means, and how to make each banner count.">
|
||||
<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=8">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
<section class="hero"><div class="eyebrow"><i></i>Guides</div><h1>Getting the most from your free account</h1><p class="lead">You can post a banner every day without buying anything. Here is how to make each one count.</p></section>
|
||||
<div class="card">
|
||||
<h2>Your free daily post credit</h2>
|
||||
<p>Network members get <span data-k="freeDay">one free post credit</span> each day they sign in, by the Central time day. Each credit posts one banner into the loop. Credits you do not use stay on your account, up to <span data-k="freeCap">7</span>, and you can have up to <span data-k="maxQueued">3</span> banners waiting at once.</p>
|
||||
<p>So the simple habit is: sign in on <a href="/my">My Banners</a> every day, even on days you do not post.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>What network-verified means</h2>
|
||||
<p>Free credits go to network members only. That stops people farming credits with throwaway wallets. You are verified when the network knows you: you signed in here through InstantAdPay or LinkSpin, or the wallet you signed in with belongs to a network member.</p>
|
||||
<p>Signed in with a wallet the network does not know yet? It is checked again on each visit, so once you join InstantAdPay or LinkSpin the free credits start. One account, one username and one sponsor carry across every network site. On InstantAdPay, ad credits buy advertising, not income.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Make each banner count</h2>
|
||||
<ul>
|
||||
<li>Use a clear 125x125 image (100 KB or less) that reads at a glance, or post one of your LinkSpin Banner Spins (125x125 or 250x250).</li>
|
||||
<li>Point it at a real page that loads. Links that do not answer are refused.</li>
|
||||
<li>Each banner gets one swap of its image, link or both, and it keeps its place. Save it for a real fix.</li>
|
||||
<li>The banner look (a bright border plus a teaser line) is an optional one-time add-on, <span data-k="lookUsd">$2</span> per banner, paid with SafePal or any other crypto wallet. You never need it to post.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Share your link</h2>
|
||||
<p>Your link ends in <span class="mono">?ref=</span> and your network username (copy it from My Banners, or grab ready-made creatives from the <a href="/promote">promo kit</a>). Every <span data-k="perShift">10</span> verified visitors move every banner in the loop forward one place, yours included, and your visitors count on the <a href="/guides/prize-boards">weekly prize boards</a>.</p>
|
||||
<p>If someone you introduced buys a package, 30% of it goes to your wallet in the same transaction. That only happens when they choose to buy.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>What a cycle earns</h2>
|
||||
<p>When your banner rides out of the loop you earn <span data-k="views">150</span> network ad views, advertising for your own offers across the network. Right now each cycle is recorded on your My Banners page. Adding those views to your network advertising is the next step and is not switched on yet.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>More guides</h2>
|
||||
<div class="guide-next"><a class="btn small" href="/guides">All guides</a><a class="btn quiet small" href="/how">How the loop works</a><a class="btn quiet small" href="/guides/is-it-legit">Is Viral Banner Blitz legit?</a><a class="btn quiet small" href="/guides/prize-boards">How the weekly prize boards work</a><a class="btn quiet small" href="/guides/faq">FAQ</a></div>
|
||||
</div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/static.js?v=2"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,83 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
||||
<title>Is Viral Banner Blitz legit? | Viral Banner Blitz</title>
|
||||
<meta name="description" content="Is Viral Banner Blitz legit? The VBBShop contract on Polygon, the public ledger, and the fixed 30/10/60 split of every purchase, all checkable.">
|
||||
<link rel="canonical" href="https://viralbannerblitz.com/guides/is-it-legit">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:site_name" content="Viral Banner Blitz">
|
||||
<meta property="og:title" content="Is Viral Banner Blitz legit? | Viral Banner Blitz">
|
||||
<meta property="og:description" content="Is Viral Banner Blitz legit? The VBBShop contract on Polygon, the public ledger, and the fixed 30/10/60 split of every purchase, all checkable.">
|
||||
<meta property="og:url" content="https://viralbannerblitz.com/guides/is-it-legit">
|
||||
<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="Is Viral Banner Blitz legit? | Viral Banner Blitz">
|
||||
<meta name="twitter:description" content="Is Viral Banner Blitz legit? The VBBShop contract on Polygon, the public ledger, and the fixed 30/10/60 split of every purchase, all checkable.">
|
||||
<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=8">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
<section class="hero"><div class="eyebrow"><i></i>Guides</div><h1>Is Viral Banner Blitz legit?</h1><p class="lead">You should not have to take our word for it. Here is what to check, and where.</p></section>
|
||||
<div class="card">
|
||||
<h2>The short answer</h2>
|
||||
<p>Posting is free for network members every day. Packages buy more banner posts and a better-looking banner. Every purchase is paid to one smart contract on Polygon, VBBShop, and it splits the payment in the same transaction. You can check every part of that yourself.</p>
|
||||
<p>Viral Banner Blitz is advertising for your own banners. It is not an income opportunity, and nothing here promises income.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>The contract</h2>
|
||||
<p>VBBShop on Polygon: <a class="mono addr" href="https://polygonscan.com/address/0x36F6ccc8752DcE1c84e06b65f07dF30e8a4707D7#code" target="_blank" rel="noopener">0x36F6ccc8752DcE1c84e06b65f07dF30e8a4707D7</a></p>
|
||||
<p>Its source code is verified on Polygonscan (the Contract tab) and on <a href="https://repo.sourcify.dev/137/0x36F6ccc8752DcE1c84e06b65f07dF30e8a4707D7" target="_blank" rel="noopener">Sourcify</a> (exact match). The <a href="/contract">contract page</a> reads the owner, company, prize wallet and keeper live from Polygon.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Where every purchase goes</h2>
|
||||
<table class="t">
|
||||
<tr><th>Share</th><th>Goes to</th></tr>
|
||||
<tr><td class="n">30%</td><td>the network member who introduced the buyer (if nobody did, Viral Banner Blitz)</td></tr>
|
||||
<tr><td class="n">10%</td><td>the prize wallet, which pays the weekly leaderboard prizes</td></tr>
|
||||
<tr><td class="n">60%</td><td>Viral Banner Blitz</td></tr>
|
||||
</table>
|
||||
<p>For every $10 spent, that is $3 to the introducer, $1 to the prize wallet and $6 to Viral Banner Blitz. The 30% and 10% are constants written into the contract code, so nobody can change who gets what share. The company gets the rest, including any rounding dust.</p>
|
||||
<p>The introducer is set once, on the buyer's first purchase, through a voucher the site signs, and it never changes after that.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>What the contract cannot do, and what the owner can</h2>
|
||||
<p>There is no owner withdraw, no proxy and no self-destruct. The contract keeps nothing: if a payment cannot be delivered, it waits in the contract for that wallet to claim, and nobody else can take it. Anything sent above the price comes back in the same transaction.</p>
|
||||
<p>The owner wallet can set package prices and credits, change the prize wallet and the keeper key, and pause new purchases. It cannot change the shares, the company wallet, or anyone's introducer. Each of those actions is a public transaction on Polygon.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>The public ledger</h2>
|
||||
<p>The <a href="/ledger">ledger</a> lists every purchase and every payment it made, each with its Polygon transaction, plus every weekly prize payout. Nothing is shown there that you cannot open on Polygonscan.</p>
|
||||
<div class="row"><a class="btn small" href="/ledger">Open the ledger</a><a class="btn quiet small" href="/contract">Contract proof</a></div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Check it yourself in three steps</h2>
|
||||
<ol>
|
||||
<li>Open the contract on Polygonscan and read the source on the Contract tab.</li>
|
||||
<li>Choose Read Contract and compare owner, company, prize wallet and keeper with the <a href="/contract">contract page</a>.</li>
|
||||
<li>Open any purchase in the <a href="/ledger">ledger</a> and look at its Logs: one Purchase event, then one Paid event per payment.</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>What is not promised</h2>
|
||||
<p>A banner that cycles earns network ad views, which is advertising, not cash. The 30% only reaches a member when someone they introduced buys a package. Purchases are paid on Polygon and are final, and packages never renew. The <a href="/disclaimer">earnings disclaimer</a> has the rest.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>More guides</h2>
|
||||
<div class="guide-next"><a class="btn small" href="/guides">All guides</a><a class="btn quiet small" href="/how">How the loop works</a><a class="btn quiet small" href="/guides/free-account">Getting the most from your free account</a><a class="btn quiet small" href="/guides/prize-boards">How the weekly prize boards work</a><a class="btn quiet small" href="/guides/faq">FAQ</a></div>
|
||||
</div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/static.js?v=2"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,68 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
||||
<title>How the weekly prize boards work | Viral Banner Blitz</title>
|
||||
<meta name="description" content="How the Viral Banner Blitz weekly prize boards work: most verified visitors, most traffic sources, a pot from 10% of sales, paid in POL to the top three.">
|
||||
<link rel="canonical" href="https://viralbannerblitz.com/guides/prize-boards">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:site_name" content="Viral Banner Blitz">
|
||||
<meta property="og:title" content="How the weekly prize boards work | Viral Banner Blitz">
|
||||
<meta property="og:description" content="How the Viral Banner Blitz weekly prize boards work: most verified visitors, most traffic sources, a pot from 10% of sales, paid in POL to the top three.">
|
||||
<meta property="og:url" content="https://viralbannerblitz.com/guides/prize-boards">
|
||||
<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="How the weekly prize boards work | Viral Banner Blitz">
|
||||
<meta name="twitter:description" content="How the Viral Banner Blitz weekly prize boards work: most verified visitors, most traffic sources, a pot from 10% of sales, paid in POL to the top three.">
|
||||
<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=8">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
<section class="hero"><div class="eyebrow"><i></i>Guides</div><h1>How the weekly prize boards work</h1><p class="lead">Two leaderboards, a fresh start every Monday, and every payout on Polygon.</p></section>
|
||||
<div class="card">
|
||||
<h2>The two boards</h2>
|
||||
<p>Each week runs Monday 12:00 AM to Sunday night, Central time. Your link (ending in <span class="mono">?ref=</span> and your network username) is what counts.</p>
|
||||
<ul>
|
||||
<li><b>Most visitors sent:</b> the verified visitors who came in on your link that week.</li>
|
||||
<li><b>Most traffic sources:</b> how many different websites those visitors came from, so spreading your link widely counts.</li>
|
||||
</ul>
|
||||
<p>Only verified visitors count: a real browser that keeps the loop page open and visible for about <span data-k="secs">6</span> seconds, once per visitor every 24 hours. Bots, crawlers, repeat visits and more than a few visitors per internet connection a day do not count. <a href="/how">How the loop works</a> has the details.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Where the prize pot comes from</h2>
|
||||
<p>10% of every package purchase goes to the prize wallet in the same transaction, by the contract. A week's pot is 10% of that week's sales. Half the pot goes to each board, and the top three on each board share it 50%, 30% and 20%.</p>
|
||||
<p>The <a href="/leaders">leaderboard page</a> shows this week's pot and each place's prize, live.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>How winners are paid</h2>
|
||||
<ul>
|
||||
<li>Prizes are set in dollars and paid in POL at the POL price at payout time, to the wallet of the winner's Viral Banner Blitz account, the following Monday.</li>
|
||||
<li>Ties go to whoever reached the count first.</li>
|
||||
<li>A winner who cannot be paid is skipped and everyone below moves up a place. A place nobody fills stays in the prize wallet for later weeks.</li>
|
||||
<li>Every payout is a public Polygon transaction. Past winners and their transactions are on the <a href="/leaders">leaderboard page</a> and in the <a href="/ledger">ledger</a>.</li>
|
||||
</ul>
|
||||
<div class="row"><a class="btn small" href="/leaders">See this week's leaders</a><a class="btn quiet small" href="/my">Get my link</a></div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Play it fair</h2>
|
||||
<p>The boards reward real visitors. Share your link where people actually look: your own sites, social posts, traffic exchanges and the <a href="/promote">promo kit</a> creatives. A prize is a reward for sending traffic, not a promise of income.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>More guides</h2>
|
||||
<div class="guide-next"><a class="btn small" href="/guides">All guides</a><a class="btn quiet small" href="/how">How the loop works</a><a class="btn quiet small" href="/guides/is-it-legit">Is Viral Banner Blitz legit?</a><a class="btn quiet small" href="/guides/free-account">Getting the most from your free account</a><a class="btn quiet small" href="/guides/faq">FAQ</a></div>
|
||||
</div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/static.js?v=2"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,47 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
||||
<title>Guides | Viral Banner Blitz</title>
|
||||
<meta name="description" content="Plain guides to Viral Banner Blitz: how the loop works, whether it is legit, the free account, the weekly prize boards and the FAQ.">
|
||||
<link rel="canonical" href="https://viralbannerblitz.com/guides">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:site_name" content="Viral Banner Blitz">
|
||||
<meta property="og:title" content="Guides | Viral Banner Blitz">
|
||||
<meta property="og:description" content="Plain guides to Viral Banner Blitz: how the loop works, whether it is legit, the free account, the weekly prize boards and the FAQ.">
|
||||
<meta property="og:url" content="https://viralbannerblitz.com/guides">
|
||||
<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="Guides | Viral Banner Blitz">
|
||||
<meta name="twitter:description" content="Plain guides to Viral Banner Blitz: how the loop works, whether it is legit, the free account, the weekly prize boards and the FAQ.">
|
||||
<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=8">
|
||||
</head>
|
||||
<body>
|
||||
<main class="wrap">
|
||||
<section class="hero"><div class="eyebrow"><i></i>Guides</div><h1>Viral Banner Blitz guides</h1><p class="lead">Plain answers about the loop, where the money goes, and how to get the most from a free account.</p></section>
|
||||
<div class="guides">
|
||||
<a class="card" href="/how"><b>How the loop works</b><span class="muted">Post a banner, verified visitors move the loop, and a banner that rides out earns network ad views.</span></a>
|
||||
<a class="card" href="/guides/is-it-legit"><b>Is Viral Banner Blitz legit?</b><span class="muted">The contract, the public ledger and exactly where every purchase goes.</span></a>
|
||||
<a class="card" href="/guides/free-account"><b>Getting the most from your free account</b><span class="muted">Your free daily post credit, what network-verified means, and how to make each banner count.</span></a>
|
||||
<a class="card" href="/guides/prize-boards"><b>How the weekly prize boards work</b><span class="muted">The two leaderboards, how the prize pot is made and how winners are paid.</span></a>
|
||||
<a class="card" href="/guides/faq"><b>FAQ</b><span class="muted">Short answers to the questions people ask most.</span></a>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Still have a question?</h2>
|
||||
<p>Tap the chat button on any page, or open network support at <a href="https://instantadpay.com/support" target="_blank" rel="noopener">instantadpay.com/support</a> and say it is about Viral Banner Blitz.</p>
|
||||
</div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/static.js?v=2"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
+7
-2
@@ -53,10 +53,15 @@
|
||||
<p>Want to post more than once a day? Post credit packs and the banner look (a bright border plus a teaser line) are one-time purchases in POL with SafePal or any other crypto wallet. Never a subscription.</p>
|
||||
<div class="row"><a class="btn small" href="/packages">See the packages</a></div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>More guides</h2>
|
||||
<p>Where the money goes, the free account, the weekly prize boards and the FAQ.</p>
|
||||
<div class="row"><a class="btn small" href="/guides">All guides</a><a class="btn quiet small" href="/guides/is-it-legit">Is it legit?</a><a class="btn quiet small" href="/guides/faq">FAQ</a></div>
|
||||
</div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=9"></script>
|
||||
<script src="/assets/static.js?v=1"></script>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/static.js?v=2"></script>
|
||||
<script src="https://polhunter.com/embed.js" data-slots="4" data-selector="main.wrap > .card" async></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@
|
||||
</div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=9"></script>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/splash.js?v=3"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
<div class="card" id="pastCard" hidden><h2>Past winners</h2><p class="muted small">Paid in POL from the prize wallet at the POL price at payout time. Every payment is a public Polygon transaction.</p><div class="past" id="past"></div></div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=9"></script>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/leaders.js?v=3"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
</div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=9"></script>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/ledger.js?v=1"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
|
||||
+2
-2
@@ -78,10 +78,10 @@
|
||||
</div>
|
||||
<div id="status" class="note" hidden></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=9"></script>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/wallet.js?v=2"></script>
|
||||
<script src="/assets/buy.js?v=1"></script>
|
||||
<script src="/assets/my.js?v=5"></script>
|
||||
<script src="/assets/my.js?v=6"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -40,13 +40,13 @@
|
||||
<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 class="card center"><p id="pkFree">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=9"></script>
|
||||
<script src="/assets/common.js?v=11"></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>
|
||||
<script src="/assets/packages.js?v=2"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
<div class="card"><h2>Your choices</h2><p>You can ask us to delete your account data on this site or on the network hub. Records on the blockchain cannot be deleted by anyone. You can clear the cookies in your browser at any time; you will need to sign in again.</p></div>
|
||||
<div class="card"><h2>Contact</h2><p>Questions, problems or a request about your data: <a href="https://instantadpay.com/support" target="_blank" rel="noopener">network support</a> (TrustClickz).</p></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=9"></script>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/static.js?v=1"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
<div id="status" class="note" hidden></div>
|
||||
<div id="kit"><p class="muted">Loading the kit...</p></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=9"></script>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/kitpage.js?v=2"></script>
|
||||
<script src="/assets/promote.js?v=1"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@
|
||||
<div class="card"><h2>Limits</h2><p>As far as the law allows, we are not responsible for losses caused by the blockchain, your wallet, the price of POL, third-party websites in banners, or events outside our control, and our total responsibility to you is limited to what you paid for the purchase in question. These terms are governed by the laws of the State of Alabama, USA.</p></div>
|
||||
<div class="card"><h2>Contact</h2><p>Questions, problems or a request about your data: <a href="https://instantadpay.com/support" target="_blank" rel="noopener">network support</a> (TrustClickz).</p></div>
|
||||
</main>
|
||||
<script src="/assets/common.js?v=9"></script>
|
||||
<script src="/assets/common.js?v=11"></script>
|
||||
<script src="/assets/static.js?v=1"></script>
|
||||
<script src="/assets/chat.js?v=2" defer></script>
|
||||
</body>
|
||||
|
||||
@@ -209,6 +209,10 @@ async function main() {
|
||||
ok(r.status === 404 && /Back to the loop/.test(nf), '404 page served');
|
||||
ok(/script-src[^;]*https:\/\/linkspin\.app/.test(r.headers.get('content-security-policy') || ''), 'CSP admits linkspin.app (network zones)');
|
||||
r = await anon.req('/sitemap.xml'); ok((await r.text()).includes('/promote'), 'sitemap lists /promote');
|
||||
{ const sm = await (await anon.req('/sitemap.xml')).text(); const G = ['/guides', '/guides/is-it-legit', '/guides/free-account', '/guides/prize-boards', '/guides/faq']; // Guides (2026-11-17)
|
||||
ok(G.every(g => sm.includes('viralbannerblitz.com' + g + '<')), 'sitemap lists every guide');
|
||||
for (const g of G) { const gr = await anon.req(g); const gh = await gr.text(); ok(gr.status === 200 && gh.includes('<link rel="canonical" href="https://viralbannerblitz.com' + g + '">') && /<meta name="description" content="[^"]{60,}">/.test(gh) && /og:title/.test(gh) && (g === '/guides' || /href="\/guides"/.test(gh)) &&!/\$50|cap of|RM Circle|up to \$/i.test(gh), 'GET ' + g + ': 200, canonical, description, OG, links back to the guides, no cap or RM Circle', gr.status); }
|
||||
const lg = await (await anon.req('/guides/is-it-legit')).text(); ok(/0x36F6ccc8752DcE1c84e06b65f07dF30e8a4707D7/.test(lg) && /30%/.test(lg) && /10%/.test(lg) && /60%/.test(lg) && /href="\/ledger"/.test(lg), 'legit guide: contract address, the 30/10/60 split, the ledger'); }
|
||||
}
|
||||
r = await anon.req('/api/my'); ok(r.status === 401, '/api/my needs sign-in');
|
||||
// the site assistant (2026-11-15): widget on every page, canned answers without AI, account problems hand off, admin KB behind the token
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
// Network Weekend checks (Marty 2026-11-17): node qa/weekend.test.mjs. No network: a stand-in Polygon RPC for skus().
|
||||
// Every date gate runs on the WEEKEND_NOW test clock, never the machine clock.
|
||||
import http from 'node:http'; import os from 'node:os'; import fs from 'node:fs'; import path from 'node:path';
|
||||
import { createRequire } from 'node:module';
|
||||
const require = createRequire(import.meta.url);
|
||||
const { Interface } = require('ethers');
|
||||
let pass = 0, fail = 0; const ok = (c, m) => { if (c) pass++; else { fail++; console.log('FAIL', m); } };
|
||||
process.env.DATA_DIR = fs.mkdtempSync(path.join(os.tmpdir(), 'vbbwk-')); delete process.env.DOCSTORE_URL; process.env.NETKB = '0'; delete process.env.OPENROUTER_API_KEY;
|
||||
const I = new Interface(['function skus(uint256) view returns (uint64 usdCents, uint64 units, bool active)']);
|
||||
const SKUS = { 1: [300, 10, true], 2: [1000, 40, true], 3: [200, 0, true] }; let down = false;
|
||||
const rpc = http.createServer((q, r) => { let b = ''; q.on('data', c => { b += c; }); q.on('end', () => { const j = JSON.parse(b);
|
||||
if (down) { r.writeHead(500); return r.end('x'); }
|
||||
const sku = Number(I.decodeFunctionData('skus', j.params[0].data)[0]);
|
||||
r.setHeader('Content-Type', 'application/json'); r.end(JSON.stringify({ jsonrpc: '2.0', id: j.id, result: I.encodeFunctionResult('skus', SKUS[sku] || [0, 0, false]) })); }); });
|
||||
await new Promise(r => rpc.listen(0, r));
|
||||
process.env.CHAIN_RPC = 'http://127.0.0.1:' + rpc.address().port; process.env.CONTRACT_ADDRESS = '0x00000000000000000000000000000000000B0B05';
|
||||
const C = require('../config.js').get();
|
||||
const weekend = require('../weekend.js'); const chainskus = require('../chainskus.js'); const netdeals = require('../netdeals.js');
|
||||
const at = iso => { process.env.WEEKEND_NOW = iso; };
|
||||
|
||||
// 1. the date gate, exact Central midnights both ways
|
||||
for (const [iso, want] of [['2026-11-26T18:00:00-06:00', false], ['2026-11-26T23:59:59-06:00', false], ['2026-11-27T00:00:00-06:00', true], ['2026-11-28T12:00:00-06:00', true],
|
||||
['2026-11-30T23:59:59-06:00', true], ['2026-12-01T00:00:00-06:00', false], ['2026-12-02T09:00:00-06:00', false]]) {
|
||||
at(iso); ok(weekend.on() === want, 'on() at ' + iso + ' = ' + want); ok(weekend.freePerDay(1) === (want ? 2 : 1), 'free credits at ' + iso);
|
||||
}
|
||||
ok(C.freeCreditsPerDay === 1, 'the setting stays 1 (FREE_CREDITS_PER_DAY untouched)');
|
||||
|
||||
// 2. live SKU values: env until the first read, then the chain; RPC down keeps the last good read
|
||||
chainskus.init(C, [1, 2, 3]); ok(chainskus.packs(C)[1].credits === 40, 'env 40 before/at first read');
|
||||
await chainskus.refresh(); ok(chainskus.packs(C)[1].credits === 40 && chainskus.packs(C)[1].usd === 10, 'chain 40 for $10');
|
||||
SKUS[2] = [1000, 50, true]; await chainskus.refresh(); ok(chainskus.packs(C)[1].credits === 50, 'owner set 50: pages show 50');
|
||||
ok(chainskus.packs(C)[0].credits === 10 && chainskus.packs(C)[0].usd === 3, '$3 pack untouched');
|
||||
down = true; await chainskus.refresh(); ok(chainskus.packs(C)[1].credits === 50, 'RPC down: last good read stays'); down = false;
|
||||
SKUS[2] = [1000, 40, false]; await chainskus.refresh(); ok(chainskus.packs(C)[1].credits === 40, 'inactive SKU on chain: env values');
|
||||
|
||||
// 3. the ribbon line follows the chain and the clock; nothing wrong if the signature is late
|
||||
const deal = { site: 'vbb', name: 'Viral Banner Blitz', text: 'hub text', byDay: { x: 'y' } };
|
||||
SKUS[2] = [1000, 40, true]; await chainskus.refresh();
|
||||
at('2026-11-20T12:00:00-06:00'); ok(weekend.dealLine(C, deal) === null, 'before: no VBB line');
|
||||
at('2026-11-27T00:05:00-06:00'); let d = weekend.dealLine(C, deal);
|
||||
ok(d && d.text === 'Network members get 2 free post credits a day.' && !d.byDay, 'late signature: free credits only, no 50: ' + (d && d.text));
|
||||
SKUS[2] = [1000, 50, true]; await chainskus.refresh(); d = weekend.dealLine(C, deal);
|
||||
ok(d && d.text === 'The $10 pack carries 50 credits instead of 40, and network members get 2 free post credits a day.', 'signed: ' + (d && d.text));
|
||||
at('2026-12-01T00:00:00-06:00'); d = weekend.dealLine(C, deal); ok(d && /50 credits/.test(d.text) && !/free/.test(d.text), 'revert not signed yet Tuesday: the line says what the chain charges');
|
||||
netdeals.setLocal(x => weekend.dealLine(C, x));
|
||||
netdeals._set({ events: [{ id: 'e', name: 'Network Weekend', startsAt: '2026-11-27T06:00:00.000Z', endsAt: '2026-12-01T06:00:00.000Z', deals: [deal, { site: 'dlb', name: 'DLB', text: 't' }] }] });
|
||||
let body = ''; const res = { writeHead() {}, end(s) { body = s; } }; SKUS[2] = [1000, 40, true]; await chainskus.refresh(); at('2026-11-20T00:00:00-06:00');
|
||||
netdeals.handle({}, res, 'vbb'); ok(JSON.parse(body).events[0].deals.map(x => x.site).join() === 'dlb', 'feed: VBB line dropped when there is nothing true to say');
|
||||
|
||||
// 4. chatbot: live packs and the weekend fact only inside the window
|
||||
const bot = require('../chatbot.js');
|
||||
at('2026-11-20T12:00:00-06:00'); ok(!/NETWORK WEEKEND/.test(bot.FACTS()), 'no weekend fact before');
|
||||
ok(/1 free post credit each day/.test(bot.FACTS()), 'normal free credit fact');
|
||||
SKUS[2] = [1000, 50, true]; await chainskus.refresh(); at('2026-11-28T09:00:00-06:00');
|
||||
const F = bot.FACTS(); ok(/NETWORK WEEKEND/.test(F) && /50 credits instead of 40/.test(F) && /2 free post credits/.test(F), 'weekend fact from live values');
|
||||
ok(/40 post credits for \$10/.test(bot.render('x 10 post credits for $3 or 40 post credits for $10 y')) === false && /50 post credits for \$10/.test(bot.render('10 post credits for $3 or 40 post credits for $10')), 'canned packs rendered live');
|
||||
ok(/get 2 free post credits each day they sign in during Network Weekend/.test(bot.render('Network members get one free post credit each day they sign in.')), 'canned free credit rendered for the weekend');
|
||||
at('2026-12-01T00:00:01-06:00'); ok(bot.render('get one free post credit each day they sign in') === 'get one free post credit each day they sign in', 'after: canned free credit unchanged');
|
||||
ok(!/\u2014/.test(F) && !/up to/i.test(F.split('\n').find(l => /WEEKEND/.test(l))), 'no em dashes, no up-to in the weekend fact');
|
||||
rpc.close(); console.log('weekend: ' + pass + ' passed, ' + fail + ' failed'); process.exit(fail ? 1 : 0);
|
||||
@@ -26,6 +26,9 @@ const hubreport = require('./hubreport'); // network hub report by wallet (off u
|
||||
const prize = require('./prize');
|
||||
const proof = require('./proof'); // trust pack: /ledger, /contract, Telegram card per purchase + line per prize payout (2026-11-14)
|
||||
const netsites = require('./netsites'); // footer network list from the hub (2026-11-14)
|
||||
const netdeals = require('./netdeals'); // Network Weekend ribbon feed from the hub (2026-11-17)
|
||||
const weekend = require('./weekend'); // Network Weekend date gate: 2 free credits a day, Fri 11-27 00:00 CT to Tue 12-01 00:00 CT
|
||||
const chainskus = require('./chainskus'); // live VBBShop SKU credits and prices for every page and the chatbot (2026-11-17)
|
||||
const lsspins = require('./lsspins'); // LinkSpin Banner Spins: post one as a banner, and fill the splash's open places (2026-11-14)
|
||||
|
||||
const PUB = path.join(__dirname, 'public');
|
||||
@@ -161,7 +164,7 @@ function grantDaily(m) {
|
||||
if (!netVerified(m)) return false;
|
||||
const day = store.ctDay(); if (m.freeDay === day) return false;
|
||||
m.freeDay = day; let granted = false;
|
||||
const add = Math.min(C.freeCreditsPerDay, Math.max(0, C.freeCreditCap - m.credits));
|
||||
const add = Math.min(weekend.freePerDay(C.freeCreditsPerDay), Math.max(0, C.freeCreditCap - m.credits));
|
||||
if (add > 0) { m.credits += add; granted = true; }
|
||||
store.save(); return granted;
|
||||
}
|
||||
@@ -172,7 +175,7 @@ function myData(addr) {
|
||||
swapUsed: swapUsed(b), swappedAt: swapUsed(b) ? b.swaps[b.swaps.length - 1].at : null, canSwap: canSwap(b) }, loop.memberPlace(b)));
|
||||
const rewards = store.ledger().filter(e => e.owner === m.address);
|
||||
const shareName = m.username || m.address;
|
||||
return { address: m.address, username: m.username, credits: m.credits, freeCreditCap: C.freeCreditCap, freeToday: m.freeDay === store.ctDay(), netVerified: netVerified(m),
|
||||
return { address: m.address, username: m.username, credits: m.credits, freeCreditCap: C.freeCreditCap, freePerDay: weekend.freePerDay(C.freeCreditsPerDay), freeToday: m.freeDay === store.ctDay(), netVerified: netVerified(m),
|
||||
maxQueued: C.maxQueuedPerMember, banners, rewards: rewards.slice(-50).reverse(), rewardViews: rewards.reduce((t, e) => t + e.views, 0),
|
||||
week: loop.memberWeek(m.address), share: 'https://' + C.site + '/?ref=' + encodeURIComponent(shareName) };
|
||||
}
|
||||
@@ -228,7 +231,8 @@ function oldLink(u) {
|
||||
const ZONE_404 = 'ls-d83484'; // LinkSpin zone "VBB not found" (2026-11-14)
|
||||
|
||||
const PAGES = { '/': 'index.html', '/my': 'my.html', '/leaders': 'leaders.html', '/how': 'how.html', '/packages': 'packages.html', '/admin': 'admin.html',
|
||||
'/contract': 'contract.html', '/ledger': 'ledger.html', '/terms': 'terms.html', '/disclaimer': 'disclaimer.html', '/privacy': 'privacy.html' }; // trust pack 2026-11-14
|
||||
'/contract': 'contract.html', '/ledger': 'ledger.html', '/terms': 'terms.html', '/disclaimer': 'disclaimer.html', '/privacy': 'privacy.html', // trust pack 2026-11-14
|
||||
'/guides': 'guides.html', '/guides/is-it-legit': 'guide-legit.html', '/guides/free-account': 'guide-free.html', '/guides/prize-boards': 'guide-prizes.html', '/guides/faq': 'guide-faq.html' }; // Guides (Marty 2026-11-17)
|
||||
const challenges = new Map();
|
||||
const clickSeen = new Map();
|
||||
|
||||
@@ -255,7 +259,7 @@ const server = http.createServer(async (req, res) => {
|
||||
if (/^\/r\/[^/]+$/.test(p)) { res.writeHead(302, { Location: '/?ref=' + encodeURIComponent(decodeURIComponent(p.slice(3))) }); return res.end(); }
|
||||
if (p === '/sitemap.xml') {
|
||||
const day = new Date().toISOString().slice(0, 10);
|
||||
const urls = ['/', '/leaders', '/how', '/packages', '/promote', '/contract', '/ledger', '/terms', '/disclaimer', '/privacy'].map(x => '<url><loc>https://' + C.site + x + '</loc><lastmod>' + day + '</lastmod></url>').join('');
|
||||
const urls = ['/', '/leaders', '/how', '/packages', '/promote', '/contract', '/ledger', '/guides', '/guides/is-it-legit', '/guides/free-account', '/guides/prize-boards', '/guides/faq', '/terms', '/disclaimer', '/privacy'].map(x => '<url><loc>https://' + C.site + x + '</loc><lastmod>' + day + '</lastmod></url>').join('');
|
||||
res.writeHead(200, headers({ 'Content-Type': 'application/xml; charset=utf-8', 'Cache-Control': 'public, max-age=3600' }));
|
||||
return res.end('<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' + urls + '</urlset>');
|
||||
}
|
||||
@@ -286,7 +290,7 @@ const server = http.createServer(async (req, res) => {
|
||||
if (p === '/api/config' && req.method === 'GET') {
|
||||
return json(res, 200, { site: C.site, siteName: C.siteName, chainId: C.chainId, chainName: C.chainName, rpc: C.publicRpc, walletConnectProjectId: C.walletConnectProjectId,
|
||||
loopSize: C.loopSize, perShift: C.perShift, viewsPerCycle: C.viewsPerCycle, visitSeconds: C.visitSeconds, freeCreditCap: C.freeCreditCap, maxQueued: C.maxQueuedPerMember,
|
||||
freeCreditsPerDay: C.freeCreditsPerDay, packs: C.packs, lookUsd: C.lookUsd, lookSku: C.lookSku, prizes: prizes(), sso: networksso.enabled(),
|
||||
freeCreditsPerDay: weekend.freePerDay(C.freeCreditsPerDay), packs: livePacks(), lookUsd: liveLookUsd(), weekend: weekend.on(), lookSku: C.lookSku, prizes: prizes(), sso: networksso.enabled(),
|
||||
shop: { live: shop.watching(), contract: shop.watching() ? C.contractAddress : null }, explorer: C.explorer });
|
||||
}
|
||||
// buying: the live price, gas fees for the wallet, and the confirmation wait (the Downline Banners endpoints)
|
||||
@@ -307,6 +311,7 @@ const server = http.createServer(async (req, res) => {
|
||||
if (p === '/api/ledger' && req.method === 'GET') return json(res, 200, proof.ledger(u.searchParams.get('n')), { 'Cache-Control': 'public, max-age=10' });
|
||||
if (p === '/api/contract' && req.method === 'GET') { if (limited(req, 'contract', 600, 3600000)) return json(res, 429, { error: 'Too many requests' }); return json(res, 200, await proof.contract(), { 'Cache-Control': 'public, max-age=60' }); }
|
||||
if (p === '/api/network-sites' && req.method === 'GET') return netsites.handle(req, res);
|
||||
if (p === '/api/network-deals' && req.method === 'GET') return netdeals.handle(req, res, 'vbb');
|
||||
if (p === '/api/prizes' && req.method === 'GET') return json(res, 200, { current: prizes(), week: store.ctWeek(), past: prize.history(12), explorer: C.explorer }, { 'Cache-Control': 'public, max-age=30' });
|
||||
if (p === '/api/splash' && req.method === 'GET') { const v = loop.view(24); v.fill = splashFill(); return json(res, 200, v, { 'Cache-Control': 'no-store' }); }
|
||||
if (p === '/api/leaders' && req.method === 'GET') {
|
||||
@@ -524,7 +529,7 @@ const server = http.createServer(async (req, res) => {
|
||||
if (p === '/api/admin/status' && req.method === 'GET') {
|
||||
const S = store.state(); const L = store.ledger(); const t = store.today();
|
||||
const byStatus = {}; for (const e of L) byStatus[e.status] = (byStatus[e.status] || 0) + e.views;
|
||||
return json(res, 200, { day: store.ctDay(), week: store.ctWeek(), config: { split: C.split, packs: C.packs, lookUsd: C.lookUsd, prizePot: C.prizePot, prizes: prizes(), freeCreditsPerDay: C.freeCreditsPerDay, loopSize: C.loopSize, perShift: C.perShift, viewsPerCycle: C.viewsPerCycle, visitSeconds: C.visitSeconds, perIpDay: C.perIpDay, freeCreditCap: C.freeCreditCap, maxQueued: C.maxQueuedPerMember },
|
||||
return json(res, 200, { day: store.ctDay(), week: store.ctWeek(), config: { split: C.split, packs: livePacks(), lookUsd: liveLookUsd(), prizePot: C.prizePot, prizes: prizes(), freeCreditsPerDay: weekend.freePerDay(C.freeCreditsPerDay), loopSize: C.loopSize, perShift: C.perShift, viewsPerCycle: C.viewsPerCycle, visitSeconds: C.visitSeconds, perIpDay: C.perIpDay, freeCreditCap: C.freeCreditCap, maxQueued: C.maxQueuedPerMember },
|
||||
loop: { filled: S.loop.length, size: C.loopSize, ids: S.loop, nextOut: S.loop.length ? S.loop[S.loop.length - 1] : null },
|
||||
queue: { length: S.queue.length, next: S.queue.slice(0, 20) }, progress: S.progress, held: S.progress >= C.perShift && !S.queue.length,
|
||||
today: { visits: t.visits || 0, shifts: t.shifts || 0, cycles: t.cycles || 0, posts: t.posts || 0, clicks: t.clicks || 0 },
|
||||
@@ -664,7 +669,12 @@ function splashFill() {
|
||||
fillCache = { key, at: Date.now(), out }; return out;
|
||||
}
|
||||
const validSku = sku => sku === C.lookSku || C.packs.some(x => x.sku === sku);
|
||||
const skuUsd = sku => sku === C.lookSku ? C.lookUsd : (C.packs.find(x => x.sku === sku) || {}).usd || 0;
|
||||
const skuUsd = sku => sku === C.lookSku ? liveLookUsd() : (livePacks().find(x => x.sku === sku) || {}).usd || 0;
|
||||
// the packs as the contract holds them right now (chainskus.js, read every 60 s); the env values until the first read answers
|
||||
const livePacks = () => chainskus.packs(C);
|
||||
const liveLookUsd = () => chainskus.lookUsd(C);
|
||||
// the ribbon's VBB line from live values (weekend.js dealLine): no line while the chain still holds the normal pack (a late signature)
|
||||
netdeals.setLocal(d => weekend.dealLine(C, d));
|
||||
function saveUpload(owner, buf, ext) {
|
||||
const name = owner.slice(2, 10) + '-' + crypto.randomBytes(6).toString('hex') + ext;
|
||||
fs.writeFileSync(path.join(UPL, name), buf); // uploads stay files on the volume (docstore keeps the uploads folder on disk)
|
||||
@@ -681,6 +691,7 @@ function saveUpload(owner, buf, ext) {
|
||||
proof.init(C, { shop, prize, nameOf: async a => { const m = await netMember({ a }).catch(() => null); return m && m.address === a ? m.username : null; } });
|
||||
shop.setHook(proof.onPurchase); prize.setHook(proof.onPrize); // before the watcher's first scan
|
||||
shop.init(C); // inert without CONTRACT_ADDRESS + CHAIN_RPC (watcher) / KEEPER_KEY (vouchers)
|
||||
chainskus.init(C, C.packs.map(p => p.sku).concat([C.lookSku])); // live pack values for pages + chatbot (2026-11-17)
|
||||
prize.init(C); // prepares last week's payout plan; pays only on an admin's approval (PRIZE_KEY)
|
||||
// fill spins: members seen in the last 60 days (most recent 400), one LinkSpin call each every 10 minutes
|
||||
lsspins.init({ base: () => C.lsPartnerBase, members: () => store.members().filter(m => Date.now() - (m.lastSeen || m.joinedAt || 0) < 60 * 86400000)
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
// Network Weekend (Marty 2026-11-17): Black Friday to Cyber Monday 2026, Fri 11-27 00:00 CT to Tue 12-01 00:00 CT, exact instants
|
||||
// (late November is CST, UTC-6). Switches on and off by itself; nothing to flip on the server.
|
||||
// On this site: 2 free post credits a day for network members (FREE_CREDITS_PER_DAY stays the normal value, 1).
|
||||
// The $10 pack's 50 credits are NOT here: that is the VBBShop SKU the owner wallet sets (see chainskus.js, the pages read it live).
|
||||
// WEEKEND_NOW (ISO time) is the test clock: tests only, never set it on the server.
|
||||
'use strict';
|
||||
const START = Date.parse('2026-11-27T06:00:00Z'); // Fri 11-27 00:00 CT
|
||||
const END = Date.parse('2026-12-01T06:00:00Z'); // Tue 12-01 00:00 CT
|
||||
const FREE_PER_DAY = 2;
|
||||
function now() { const o = process.env.WEEKEND_NOW; const t = o ? Date.parse(o) : NaN; return Number.isNaN(t) ? Date.now() : t; }
|
||||
function on(ms) { ms = ms == null ? now() : ms; return ms >= START && ms < END; }
|
||||
// free post credits per Central day: the weekend number while it runs, else the normal setting
|
||||
function freePerDay(base, ms) { return on(ms) ? Math.max(Number(base) || 0, FREE_PER_DAY) : Number(base) || 0; }
|
||||
// the ribbon's VBB deal line from live values: the biggest pack's credits as the contract holds them (chainskus.js) against the
|
||||
// normal CREDIT_PACKS number, and today's free credits. Nothing true to say (the owner has not switched the SKU yet and it is not
|
||||
// the weekend) = null, so the ribbon shows no VBB line rather than a wrong one.
|
||||
function dealLine(C, d) {
|
||||
const live = require('./chainskus').packs(C);
|
||||
const big = live.slice().sort((a, b) => b.usd - a.usd)[0]; const base = (C.packs.slice().sort((a, b) => b.usd - a.usd)[0] || {}).credits;
|
||||
const free = freePerDay(C.freeCreditsPerDay); const parts = [];
|
||||
if (big && base && big.credits > base) parts.push('The $' + big.usd + ' pack carries ' + big.credits + ' credits instead of ' + base);
|
||||
if (free > C.freeCreditsPerDay) parts.push((parts.length ? 'and network' : 'Network') + ' members get ' + free + ' free post credits a day');
|
||||
if (!parts.length) return null;
|
||||
const x = Object.assign({}, d, { text: parts.join(', ') + '.' }); delete x.byDay; return x;
|
||||
}
|
||||
module.exports = { START, END, FREE_PER_DAY, now, on, freePerDay, dealLine };
|
||||
Reference in New Issue
Block a user