// Writes public/*.html from one place (the legal.py idea from the trust pack: one source of facts per site). Run after editing:
// node tools/pages.mjs
// Copy rules: no em dashes, no income promises, "Advertising, not income. Nothing is promised.", never an earnings cap,
// wallets = "SafePal or any other crypto wallet" (never recommend MetaMask), one-time Boosts, never a subscription.
import fs from 'node:fs';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
const PUB = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', 'public');
const SITE = 'https://viraladblitz.com';
const V = { css: 5, common: 6, page: 5 };
const F = { co: 'TrustClickz', addr: '615 Green Valley Drive, Moody, AL 35004', updated: 'November 14, 2026', boostUsd: 5, views: '500', days: 30 };
const FONTS = 'https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap';
// the daylight look's shared SVG bits (same as common.js)
const NETLINES = '';
const CHECK = '';
const ICON = {
ad: '',
team: '',
bars: ''
};
const PAGEHEAD = (kicker, title, lead, extra) => ` ${NETLINES}
${kicker ? `
${kicker}
` : ''}
${title}
${lead ? `
${lead}
` : ''}${extra || ''}
`;
const LVLBARS = '
' + [1, 2, 3, 4, 5].map(i => `
L${i} 10%
`).join('') + '
';
function head(o) {
const t = o.title, d = o.desc, url = SITE + o.path;
return `
${t}
${o.noindex ? '' : ``}
${o.ld ? '\n' : ''}
`;
}
const tail = scripts => '\n' + scripts.map(s => '').join('\n') + '\n\n\n';
const page = (file, o, body, scripts) => fs.writeFileSync(path.join(PUB, file), head(o) + body + tail(scripts));
// ---------------------------------------------------------------- front page
page('index.html', { path: '/', title: 'ViralAdBlitz | Your text ad on your whole team\'s pages, five levels deep',
desc: 'The network\'s text ad wire. Post one free text ad: it shows on your page and on the page of everyone you bring in, five levels down. Live ticker, top ads by verified clicks, a $5 one-time Boost.',
ld: { '@context': 'https://schema.org', '@graph': [{ '@type': 'WebSite', name: 'ViralAdBlitz', url: SITE + '/' }, { '@type': 'Organization', name: 'ViralAdBlitz', url: SITE + '/', logo: SITE + '/art/icon-192.png' }] } }, `${NETLINES}
A Boost buys advertising, not income. Nothing is promised.
`, ['front.js']);
// ---------------------------------------------------------------- member page
page('member.html', { path: '/', title: 'A member\'s page | ViralAdBlitz', desc: 'Text ads recommended by a ViralAdBlitz member and the five people above them in the network.', noindex: false }, `
RECOMMENDED
Loading...
Also recommended by the team
the five people above them in the network
Boosted across the network
members who boosted their ad
Want your ad on pages like this one?
Join free. Your ad goes on your own page and on every page you bring in, five levels down.
`, ['member.js']);
// ---------------------------------------------------------------- my page
page('my.html', { path: '/my', title: 'My page | ViralAdBlitz', desc: 'Post or edit your free text ad, share your page, and follow your Boost.', noindex: true }, `
${PAGEHEAD('Your dashboard', 'My page', 'One free text ad for network members. Share your page and your ad spreads five levels down.')}
Sign in
Sign in with your network account. Your username and your sponsor line come with you.
A Boost buys advertising, not income. Nothing is promised.
`, ['wallet.js', 'my.js']);
// ---------------------------------------------------------------- boost
page('boost.html', { path: '/boost', title: 'Boost | ViralAdBlitz', desc: 'A $5 one-time Boost buys 500 guaranteed network views for your text ad, a starred spot on the live ticker and extra places on member pages. Split on-chain five levels up your line.' }, `${NETLINES}
One-time, never a subscription
Boost your text adacross the network
A Boost puts your ad in front of more people: 500 guaranteed network views, a starred spot on the live ticker, and an extra place on the five-level pages. Paid in POL on Polygon.
Views count only from verified visitors: a real browser that keeps the page open and visible for a few seconds, once per visitor per day. If the views are not all delivered on ViralAdBlitz within 30 days, the rest is finished through Network Ad Space.
BOOST PACK$5about ... POL at today's price
${CHECK}500 guaranteed network views
${CHECK}Starred spot on the live ticker
${CHECK}Extra place on the five-level pages
Where each Boost goes, in the same transaction
LEVEL 110%your sponsor
LEVEL 210%their sponsor
LEVEL 310%next up
LEVEL 410%next up
LEVEL 510%next up
COMPANY50%runs the network
Levels follow your sponsor line in the network. Someone in your line who has not bought a Boost is passed over, and their share goes up to the next person who has. The contract looks up to 20 places up the line; a share nobody qualifies for goes to the company. Nothing is held and there is nothing to withdraw. A Boost buys advertising, not income: you are paid only when people in your team buy Boosts, and nothing is promised.
YOUR LINE IS SET ONCEYour sponsor line comes from the network hub.On your first Boost the site signs your line and the contract records it. After that it never changes, so every later Boost pays the same people.
Every sale is posted in Telegram
Each Boost posts a card to the network's Telegram with the week's stats and a link to verify the transaction, and every payout gets its own line. The same events show as toasts on the site and rows in the live ledger.
Telegram · payments topic
ViralAdBlitz @member boosted an ad This week: Boosts, ads live, verified clicks
`, ['wallet.js', 'buy.js', 'boost.js']);
// ---------------------------------------------------------------- ledger
page('ledger.html', { path: '/ledger', title: 'Live Ledger | ViralAdBlitz', desc: 'Every ViralAdBlitz Boost and every level payout, read from the Polygon contract, with a link to verify each transaction.' }, `
${PAGEHEAD('Straight from the chain', 'Live ledger', 'Every Boost and every payout. Each row links to its transaction on Polygonscan, so you can check it yourself.')}
TIME CT
BOOST
PAID IN THE SAME TRANSACTION
TX
Loading the ledger...
Levels follow the buyer's sponsor line. Someone who has not bought a Boost is passed over and their share goes up to the next person who has. Advertising, not income. Nothing is promised.
`, ['ledger.js']);
// ---------------------------------------------------------------- contract
page('contract.html', { path: '/contract', title: 'Contract Proof | ViralAdBlitz', desc: 'The ViralAdBlitz Boost contract on Polygon: owner, company, keeper and the fixed five-level split, read live from the chain.' }, `
${PAGEHEAD('Read live from Polygon', 'Contract proof', 'Every Boost is paid to one smart contract on Polygon. It splits the payment in the same transaction. Check every number here yourself.')}
The contract
Reading the contract...
Where each Boost goes
LEVEL 110%nearest qualified
LEVEL 210%next qualified
LEVEL 310%next qualified
LEVEL 410%next qualified
LEVEL 510%next qualified
COMPANY50%plus any share nobody qualifies for
The percentages are constants in the contract code: nobody can change who gets what share. There is no owner withdraw. 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.
Check it yourself
Open the contract on Polygonscan (link above) and read its verified source code.
Choose Read Contract and compare owner, company and keeper with this page.
Open any Boost in the live ledger and look at its Logs: one Purchase event, one Paid event per level and one for the company, and a PassedOver event for anyone in the line who had not boosted.
`, ['contract.js']);
// ---------------------------------------------------------------- promote
page('promote.html', { path: '/promote', title: 'Promote | ViralAdBlitz', desc: 'Your ViralAdBlitz links, creatives in every common size, and copy you can paste anywhere.' }, `
${PAGEHEAD('Share the wire', 'Promote ViralAdBlitz', 'Your links, creatives in every common size, and copy you can paste anywhere. Everything carries your network username.')}
Your network username
Your InstantAdPay or LinkSpin username works here. Sign in on My page and it fills in by itself.
Questions, problems or a request about your data: network support, or write to ${F.co}, ${F.addr}.
`];
legal('terms.html', '/terms', 'Terms and Conditions', 'The rules for using ViralAdBlitz, in plain English.', [
['Who we are', `
ViralAdBlitz (viraladblitz.com) is run by ${F.co}, ${F.addr}. It is part of the network: one network account works across InstantAdPay, LinkSpin, Downline Banners, Viral Banner Blitz, ViralAdBlitz, Stack POL and Earners Corner. By using ViralAdBlitz you agree to these terms.
`],
['What ViralAdBlitz is', `
ViralAdBlitz is the network's home for text ads. A network member posts one text ad: a headline, two lines and a link. Each member has a page that shows their own ad and the ads of the five people above them in their network sponsor line, so an ad appears on the pages of the people its owner brings in, five levels down. The front page shows a live ticker of the newest ads and a weekly board of the top ads by verified clicks.
`],
['Your free text ad', `
One text ad is free for each network member (InstantAdPay or LinkSpin, checked with the network hub). You can edit it at any time. There is nothing to pay to post it.
`],
['What a Boost is', `
A Boost is a single, one-time purchase of $${F.boostUsd} for your text ad. It buys ${F.views} guaranteed network views, a starred spot on the live ticker while the views are delivered, and an extra place on member pages. You can buy more than one; each adds its own ${F.views} views.
A view counts only from a verified visitor: a real browser that keeps a ViralAdBlitz page open and visible for a few seconds, once per visitor per ad each day, never your own views, never bots. Views are delivered on ViralAdBlitz pages first. If a Boost's views are not all delivered within ${F.days} days, the rest is delivered through Network Ad Space, a network ad site, as a text ad with the same headline, lines and link.
Boosts are paid in POL on Polygon at the live Chainlink POL/USD price the contract reads when you buy. Anything you send above the price comes back to you in the same transaction. Nothing renews and nothing is ever billed again. There are no subscriptions.
What you buy is advertising for your own text ad. It is not income, an investment or a share of anything.
`],
['How a payment is split', `
The ViralAdBlitz contract splits each Boost in the same transaction it is paid: 10% to each of five levels up the buyer's sponsor line and 50% to ViralAdBlitz.
Only someone who has bought at least one Boost can receive a level share. Someone in the line who has not is passed over, and the share goes up to the next person who has. The contract looks up to 20 places up the line for five such people; a share nobody qualifies for goes to ViralAdBlitz.
Your sponsor line comes from the network hub. On your first Boost the site signs it and the contract records it link by link. A link already recorded is never changed, so every later Boost pays along the same line. Members of the line without a wallet in the network cannot receive payments and are left out of the recorded line.
The split is fixed in the contract code and there is no owner withdraw. The contract keeps nothing: each share goes straight to the person's wallet in the buyer's transaction. If a payment cannot be delivered, it waits in the contract for that wallet to claim, and nobody else can take it.
`],
['Nothing is promised', `
We do not promise or guarantee any income, payout or result. A level share is paid only when someone in your team chooses to buy a Boost. Read the Earnings Disclaimer.
`],
['No refunds', `
Payments are made on the blockchain and are final once confirmed. We cannot reverse, cancel or refund them. Check the amount before you confirm in your wallet. If your ad is removed for breaking these terms, the views left on its Boosts are not delivered or refunded.
`],
['Crypto risk', `
The price of POL moves. The dollar value of a payment can be higher or lower later than when it was paid.
You are responsible for your wallet and its recovery phrase. Nobody, including us, can recover a lost wallet or reverse a payment sent from it.
Blockchain transactions are final. Each one costs a small network fee (gas) in POL, paid to the network, not to us.
Use SafePal or any other crypto wallet you trust, and never share your recovery phrase with anyone. We will never ask for it.
`],
['Text ad rules', `
Your ad and its link must be your own or ones you have the right to use, and the link must lead to a lawful page that loads. No adult content, malware, phishing, deceptive offers, hate, or anything illegal where you or your visitors live. No link shorteners. We may pause or remove an ad that breaks these rules and close the account behind it.
`],
['Fair use', `
Views and clicks count only from verified visitors, and only a few visitors per internet connection count each day. Bots, crawlers and repeat visits do not count. We may refuse visits or clicks we judge not to be real, and may remove anyone who fakes traffic from the board. Do not try to break, overload or game the site.
`],
['Your account', `
You sign in with your wallet or through InstantAdPay or LinkSpin. Your network account, username and sponsor are shared across the network through the network hub, as described in the Privacy Policy. You must be old enough to make a binding agreement where you live, and using crypto must be legal there.
`],
['The service', `
The site is provided as it is. We work to keep it running but cannot promise it will always be available or free of errors. The smart contract runs on Polygon on its own; its rules are public and can be checked on the contract page. We may change features, the price of future Boosts or these terms; changes apply from the date they are posted here.
`],
['Limits', `
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 ads, 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.
`],
CONTACT]);
legal('disclaimer.html', '/disclaimer', 'Earnings Disclaimer', 'Advertising, not income. Nothing is promised.', [
['What you are buying', `
A ViralAdBlitz Boost is advertising for your own text ad: guaranteed views, a ticker spot and member-page places. It is not an investment, a business opportunity, a share of profits or a promise of any payment.
`],
['Level shares are not promised', `
The contract pays a level share only when someone in your team chooses to buy a Boost. Nobody is required to buy one, and we do not know or promise whether anyone in your team ever will. Many members receive nothing, and many receive less than they spend. Your results depend on other people's free choices, not on anything we do.
`],
['No examples are promises', `
Any number on this site, in the ledger or in a Telegram post shows what really happened in one transaction. It is not a typical result and not a forecast of what you will receive.
`],
['Prices and taxes', `
Boosts are priced in US dollars and paid in POL, whose price moves. Anything you receive is in POL and its dollar value can change. You are responsible for any taxes on what you receive where you live.
`]]);
legal('privacy.html', '/privacy', 'Privacy Policy', 'What ViralAdBlitz keeps about you, why, and for how long.', [
['Who we are', `
ViralAdBlitz is run by ${F.co}, ${F.addr}.
`],
['What we keep', `
Your wallet address and network username, and your text ad (it is public: that is its purpose).
Your network record from the network hub: your hub id and your sponsor line. ViralAdBlitz does not store your email. When you sign in through InstantAdPay or LinkSpin, your email is used once to check your network membership and is not kept.
Your Boosts, which are public on the Polygon blockchain, and how many of their views have been delivered.
For counting real views and clicks: a one-way code made from your internet address and browser type (never the address itself), the page, and the site that sent you. Visit and click records are kept 15 days; the records of each view counted toward a Boost are kept 120 days so delivery can be checked.
`],
['Cookies', `
A sign-in cookie (7 days), a cookie that remembers whose page you came from (30 days), and short-lived cookies for signing in through the network. No advertising or tracking cookies of our own.
`],
['Who else sees data', `
The Polygon blockchain: every Boost and payment is public there, by its nature.
The network hub, which keeps one record per person across the network sites (username, wallet, sponsor).
Our Telegram payments topic: each Boost is posted with the buyer's username (or a shortened wallet) and the amounts paid.
Services the pages load: Google Fonts, WalletConnect (Reown) when you connect a wallet, LinkSpin network ad zones, and Network Ad Space for finishing Boost views.
We do not sell personal data.
`],
['Your choices', `
You can edit your ad at any time, or ask us to remove it and your account here. Records on the blockchain cannot be removed by anyone.