Files
viraladblitz/.env.example
T
Marty Bostick 001878bdae ViralAdBlitz v1 (viraladblitz.com rebuild, Marty approved 2026-11-14): the network's text-ad home, local build, not deployed
- Free text ad for network members (InstantAdPay / LinkSpin sign-in or wallet, membership through the hub), one per member
- Member pages viraladblitz.com/<username>: own ad + the first 5 people above in the hub line with a live ad (by place) + 2 Boosted places
- Front page: amber ticker (Boosted starred), Top ads this week by verified clicks, today's numbers, ledger, contract proof
- Verified visitors / views / clicks (ticket + dwell + per-visitor dedupe + per-connection cap + bot filter, owner excluded)
- Boost $5 = 500 guaranteed views through VABShop: keeper-signed EIP-712 line voucher from the hub line, watcher, delivery
  counted per verified view with an audit row each, Network Ad Space text-ad finishing after 30 days (vabnas.js)
- Trust pack: /ledger, /contract, toasts, Telegram card per Boost (once), Terms / Earnings Disclaimer / Privacy (TrustClickz),
  network footer from the hub with tracked links, promo kit (21 creatives) + /promote, LinkSpin zone placeholders, hub report
- Old YFW links via the oldrefs map (admin load route); docstore MySQL documents + row tables
- qa/smoke.mjs 162/162 (stand-in hub, chain, Telegram, NAS; Playwright desktop + phone), qa/chain.mjs 20/20 (real VABShop on anvil)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 13:52:03 -06:00

45 lines
2.6 KiB
Bash

# ViralAdBlitz app env (Coolify). Never commit real values.
DOCSTORE_URL= # mysql://user:pass@host:3306/viraladblitz REQUIRED for launch (files are local prototype only)
SITE_HOST=viraladblitz.com
SESSION_SECRET= # random hex; default = generated into DATA_DIR/.secret
ADMIN_TOKEN= # x-admin-token for /api/admin/* (8+ characters)
NETWORK_SSO_SECRET= # same value as InstantAdPay + LinkSpin; they must also list viraladblitz under wallets
WALLETCONNECT_PROJECT_ID= # Reown id (IAP project); add viraladblitz.com to its allowlist first
NETWORK_SITE_ID=viraladblitz # this site in the network footer list and tracked links (LinkSpin code nwvab)
JOIN_URL= # default https://instantadpay.com/?ref={ref} (where a non-member joins under a page owner)
# Boost (display copy; must match VABShop SKU 1): $5 = 500 guaranteed views, delivered on-site within 30 days, then NAS
BOOST_USD=5
BOOST_VIEWS=500
BOOST_DELIVER_DAYS=30
BOOST_SLOTS=2 # Boosted places on each member page
TICKER_BOOSTS=12 # starred Boosted ads in the ticker
VISIT_SECONDS=6 # page visible this long before views count
VISITS_PER_IP_DAY=3 # browsers counted per connection per 24 h
LINK_PROBE=1 # 0 skips the "link answers" check (local tests only)
CF_PROXIED=0 # 1 only if Cloudflare proxies the domain
NETWORK_LOOKUP_URL= # default InstantAdPay /api/network/member (used only while the hub is unreachable)
# VABShop (../contracts). All empty = inert.
CONTRACT_ADDRESS= # the deployed VABShop
CHAIN_RPC= # server-side Polygon RPC for the watcher (publicnode like VBB)
SHOP_START_BLOCK= # the deploy block
SHOP_CONFIRMATIONS=10
SHOP_POLL_MS=30000
KEEPER_KEY= # private key of the contract's keeper (signs line vouchers). Coolify secret only
VOUCHER_SECONDS=1800
COMPANY_WALLET= # display only; default Tangem 0x7627...7b70 (immutable in the contract)
# Network hub (hubpeople.js lookups are on whenever HUB_URL + HUB_SECRET are set; HUB_ENABLED only switches the Boost report)
HUB_URL= # https://hub.saasy.top
HUB_SECRET= # this site's secret in the hub's HUB_SITES (32+ chars)
HUB_SITE=viraladblitz
HUB_ENABLED=0
# Telegram sale cards (CTB Rewards bot, payments topic; same values as Downline Banners / VBB)
TG_TOKEN=
TG_CHAT=
TG_PAY_TOPIC=
# Network Ad Space finishing of late Boosts (same NAS_DB_* as InstantAdPay / Downline Banners). Empty = off.
NAS_DB_HOST=
NAS_DB_PORT=3306
NAS_DB_USER=
NAS_DB_PASSWORD=
NAS_DB_NAME=