Commit Graph

42 Commits

Author SHA1 Message Date
martbost afb367cafc Promo kit: add 600x300 wide and 250x250 small creatives for all 3 angles
Member request. kit-art.mjs synced with Downline Banners (wide + small
layouts, short headlines for the small square; prize wide card keeps the
pot figure out).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 10:01:06 -06:00
martbost f3aabd75aa Tutorial video: 2-minute narrated walkthrough on /how (Watch how it works) + 'Watch the 2-minute walkthrough' link under the home hero buttons; server sends .mp4/.webm with byte ranges (sendMedia); chatbot fact; vbb.css?v=9 (Marty 2026-11-18: tutorial explainer videos for each rebuilt site)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 08:21:06 -06:00
martbost 5d34997287 Network link nwypb: YourProgramBuilder as its own tracked network link (netsites CODES), the nwvas pattern (YourProgramBuilder go-live, Marty GO 2026-11-17)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 11:31:21 -06:00
martbost 756a25068d Guides (Marty 2026-11-17): /guides index plus Is it legit (VBBShop 0x36F6...07D7, 30/10/60 split from the contract constants, ledger, what the owner can and cannot change), Getting the most from your free account, How the weekly prize boards work (no cap shown) and the FAQ (from the chatbot answers); Guides in nav and footer, sitemap, a More guides card on /how, chatbot FAQ entry + PAGES fact; live values via static.js data-k; common.js?v=11, vbb.css?v=8; smoke checks for every guide
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 08:28:00 -06:00
martbost c4ec646bdf netdeals.js: the first ask after a boot waits for the hub once (shared copy, 2026-11-17)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 07:40:00 -06:00
martbost 3e0dee517d Network Weekend (Marty 2026-11-17): 2 free post credits a day Fri 11-27 00:00 CT to Tue 12-01 00:00 CT, live VBBShop SKU values on every page and in the chatbot, the network ribbon
weekend.js: the date gate (WEEKEND_NOW test clock), FREE_CREDITS_PER_DAY stays 1. chainskus.js: skus() read every 60 s, so the
$10 pack shows what the contract credits (50 once the owner signs setSku, 40 before or after). netdeals.js + /assets/netweekend.js:
/api/network-deals and the ribbon; the VBB line is built from live values and drops itself if there is nothing true to say.
chatcore render hook, chatbot FACTS/CANNED from live values with a dated weekend fact. qa/weekend.test.mjs 33 pass, chatbot 182, smoke 268.
common.js?v=10, my.js?v=6, packages.js?v=2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 07:26:05 -06:00
martbost 7b973edcf8 Network sign-in: the way back after signing in on InstantAdPay (Marty 2026-11-17)
networksso.js (the shared file, same in every network site): providers now also know every
site in the hub's GET /v1/sso-sites, ?return=<site>&to=/path links on IAP/LinkSpin remember
the way back, a missing wallet sends the member to the provider's wallet step first and then
back, and the deliberate-tap state lives 1 hour (was 20 minutes) so a sign-up has time.
Join links to InstantAdPay carry ?return=<this site>&to=/my.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 07:09:38 -06:00
martbost b93b66f585 netsites: ViralAdSource tracked link code nwvas (LinkSpin /r/nwvas, Marty 2026-11-17 go-live)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 05:59:18 -06:00
martbost 3e59eca250 Remove street mailing address from public pages (Marty 2026-11-16)
Pages, footers and the site assistant now name only TrustClickz; the footer
reads "(c) 2026 TrustClickz". Contact stays the network support link.
QA checks updated to assert no street address is shown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 10:52:52 -06:00
martbost 7c68faded5 Contract page: Polygonscan verification env-driven (VERIFIED_POLYGONSCAN=1); VBBShop verified on Polygonscan 2026-11-16
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 07:20:52 -06:00
martbost e5595bdf4a Smarter chatbot matching by meaning (Marty 2026-11-16): the hub's semantic match (free core2 embeddings)
chatcore.js + netkb.js (route): a hand-off pattern still answers first; then the hub's POST /v1/kb/match answers with this
site's entry when it is sure, keeps or overrules the CANNED regex hit, and picks the AI prompt context, this site's own entries
first. 1.5 s timeout, then the hub is skipped for 30 s and the old pattern + BM25 path answers (NETKB_MATCH=0 = off).
netkb.js also has suggest() for the support desk (used by InstantAdPay and LinkSpin). Same chatcore.js in the six rebuilt
sites, same netkb.js in all eight. Test: node qa/netkb-semantic.test.mjs (decisions, fail soft, shared-file parity).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 05:48:27 -06:00
martbost fb45fcddca Network hub hook (Marty 2026-11-16): sign out everywhere, hub blocks and erases end sessions here; "Sign out everywhere" button
hubevents.js (new, byte-identical in VBB, DLB, ViralAdBlitz, DownlineHydra, 5xYourTeam): POST /api/hub/events, signed by the hub
with HUB_SECRET (same hook InstantAdPay and LinkSpin take). member.signedout and member.blocked: the person is looked up by hub id
(/v1/resolve, signed as vbb) and their sessions here end (by the main wallet or any contract wallet). member.erased: matched by the wallet SHA-256s
(and email SHA-256) the hub now sends with the event. Only sessions made before the event end (a replay never signs anyone out
twice); a failed hub lookup answers 503 so the hub resends. Off with HUB_HOOK=0. Admin status: hubEvents (counts only).
My Banners: "Sign out everywhere" next to Sign out (POST /api/auth/logout-everywhere -> networksso.signOutEverywhere, then every
session of this member here ends).
Smoke: section 16 (refused signatures, signedout in two browsers, replay, older event, blocked, erased by wallet hash, other events, hub down -> 503 -> resent, Sign out everywhere, admin view): 322/322 with UI. my.js?v=5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 05:05:35 -06:00
martbost 43e8dac257 Promo kit: add 336x280 (Large box) for every angle (Marty 2026-11-16, Network Ad Space gaps)
New kit shapes rendered from HTML in the site's own look by tools/kit-art.mjs (a shape list now renders only those shapes and leaves the other art alone). Listed in promokit.js SHAPES, so /promote, /api/promo-kit and InstantAdPay's Network sites tab show them. Smoke test counts updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 04:56:15 -06:00
martbost ef79fcc461 Network hub sign-in, step 3 (Marty 2026-11-15): networksso.js hub mode + every GET passes networksso.page()
networksso.js (the same file on every network site): with HUB_SSO=on (and HUB_URL, HUB_SECRET, HUB_SITE) /sso/start asks the network hub instead of one other site, /sso/in takes the hub's h1. token (this site's HUB_SECRET, iss hub, aud this site, 60 s, single use, state cookie) and falls back once to the old pairwise provider when the hub has nobody. page(): a signed-in member's real page load tells the hub once (nsso.hp, through hub /sso/set and straight back) and pings POST /v1/activity once a day (fire and forget; HUB_ACTIVITY=0 turns it off), only when the hub answered /health lately, so a hub that is down never takes a page with it. HUB_SSO stays off until switched on per site.
qa smoke passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:20:04 -06:00
martbost 8e6d2f9cd0 One swap per banner + admin takedown (Marty 2026-11-15: "allow the member to swap it only, and they can only do it one time. Admin takes down the option to credit back or none.")
Member swap: My Banners shows "Swap image or link" on a banner that is waiting or in the loop, usable once (then "Swap used"). POST /api/my/banners/<id>/swap changes the image and/or link (or a Banner Spin to another of the member's own 125x125/250x250 spins via lsspins), same checks as a new post (checkLink, probeLink, upload/https image checks); id, place, clicks and loop progress stay. Logged on the banner (swaps: old/new image + link, time). No withdraw, removal or refund for members.

Admin takedown: /admin finds banners (#id, wallet, username), POST /api/admin/banners/<id>/takedown {reason required, credit: back|none}. The banner is hidden at once (splash loop + waiting line show a house tile in its place, /go goes home, no look/teaser/swap); its place rides out on time so nobody moves, then it ends with no cycle, no network views, no prize count. My Banners shows "Taken down" with the reason. Restore reverses a given credit (when the owner still holds one) and, if its place rode out meanwhile, records the cycle then. Admin ledger: GET /api/admin/actions (who, when, reason, credit decision).

Chatbot: CANNED 'swap' + FACTS line (KNOWLEDGE_DATE already 2026-11-15), chat-qa entry. my.js?v=4, admin.js?v=3, vbb.css?v=8.
Tests: smoke section 15 (swap once, refused twice, keeps place, bad link/image refused, spin swap, takedown credit back vs none, others keep places, ride-out without a cycle, restore, admin ledger, phone UI): 308/308 with the committed networksso.js; chatbot.test 182/182; qa:chain 49/49.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:18:49 -06:00
martbost 666cdd9569 networksso.js: the network-wide copy (Marty 2026-11-15). Loop guard TRIED_AGE 30 min -> 120 s (the 30-minute guard blocked Marty's silent sign-in on LinkSpin); NAMES gains fivex (5xYourTeam); a provider refuses an unknown r= instead of answering it as its peer (IAP answered 5xYourTeam as LinkSpin, the loop Marty hit). Byte-identical in IAP, LinkSpin, VBB, DLB, ViralAdBlitz, DownlineHydra, 5xYourTeam (DLB also catches up with the 2026-11-14 deliberate-tap pieces it was missing). qa smoke: 5x 160/160, VBB 249/249, VAB 198/198, DLB 131/131, DH 210/211 (the 1 front-page check also fails on a clean HEAD).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:51:48 -06:00
martbost 4ea6e038e1 Link check: safeLookup answers in the shape Node 20's https agent asks for (opts.all -> an array; every address checked for private ranges). Answering with one address made every probe fail as 'could not reach', so no text ad / banner link could be saved (Marty 2026-11-15). The status note scrolls into view when it shows (it sits at the foot of the page, so a refused post looked like a dead button). Smoke all green.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:15:06 -06:00
martbost 484f4a0242 Chat widget: #scPanel[hidden]{display:none} so closing always wins over the panel's display:flex (Stack POL's widget could not close without it; this site was fine because its own stylesheet hides [hidden], the rule keeps it so).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:57:08 -06:00
martbost 9e5b30c744 Site assistant widget: plain divs instead of header/section (a site stylesheet that styles every header pushed the panel title down on Downline Banners), chat.js cache tag bumped; the shared chatbot test runs without a config.js or data volume (Stack POL)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:26:50 -06:00
martbost 5afde38f6f Site assistant (Marty 2026-11-15): chat widget in the Viral Banner Blitz pop-art look on every page, CANNED + FACTS from this repo's code (loop 50, 10 verified visitors per shift, 150 network ad views per cycle recorded but not credited yet, 1 free post credit a day for network members, packs 10/$3 and 40/$10, look $2, split 30% introducer + 10% prize pot + 60% company, weekly boards; the pot's floor and cap are never stated), retrieval over the shared network knowledge base on the hub (netkb.js, home entries boosted, another site named = its answer), reasoning off, account problems hand off to network support. chatbot.test 170, smoke 249/249
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 12:58:40 -06:00
martbost d759d1f67d Network footer links: CODES adds viraladblitz nwvab, fivex nw5x and downlinehydra nwdh (Marty 2026-11-15: every site is its own LinkSpin traffic source), so links to the three new sites are tracked instead of plain; same list as LinkSpin and Stack POL.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 10:10:30 -06:00
martbost 6798503c1f Footer network links carry a referral username (Marty 2026-11-15): the signed-in member's own, else the ?ref= the visitor came in on; tracked links as s1, plain links as ?ref=, none for Earners Corner. common.js?v=8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 07:54:20 -06:00
martbost 47cb360204 Phone menu wraps onto two centered lines instead of a hidden side-scroll that pushed half the links off screen (Marty 2026-11-15); vbb.css?v=7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 07:26:00 -06:00
martbost 909f4373d8 qa/chain: page check matches any common.js?v= tag (was pinned to v=5, so the five legal/contract page checks failed after the zones bump; the pages have no em dashes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 17:05:08 -06:00
martbost cab68c01dd PolHunter mission vbb-how (Marty 2026-11-14: every rebuilt network site gets a PolHunter mission). /how carries the one-line PolHunter embed (data-selector "main.wrap > .card", 4 slots, the code lands in one of the How the loop works cards, picked per hunter per day); CSP admits https://polhunter.com in script-src and connect-src only. Smoke 245/245 (qa:chain 44/49, the same 5 legal-page em-dash checks fail without this change)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 17:00:34 -06:00
martbost 636ebb56bd Network sign-in: deliberate taps carry m=go and a 20-minute state so the member can sign in on the provider first (2026-11-14)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 14:32:04 -06:00
martbost 86a84b9606 GET /api/admin/member-lookup (Marty 2026-11-14, network hub member lookup): read-only, behind the admin token; ?q=<wallet> | #<banner id> | <username> answers myData (banners, credits, rewards) plus known, record, purchases and sponsored (VBBShop Purchase rows with tx), contract, explorer. Smoke 245/245
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 12:53:40 -06:00
martbost 89f79f934b Tracked network links (Marty 2026-11-14: "make sure each of these sites is its own traffic source and link spun so we can track it"). netsites.js: /api/network-sites adds go = the LinkSpin network link for each site with ?src=<this site> (linkspin.app/r/<code>, fixed codes on Marty's LinkSpin account), this site found by NETWORK_SITE_ID or the request host; the footer uses go (rel nofollow), plain url as fallback. Promo kit: every link gets a tracked twin (linkspin.app/r/nwvbb?src=vbb&s1=<member>&s2=<page>, lands on the same page with ?ref=<member>), trackedTemplate; /promote shows both. Same netsites.js in all five sites. common.js?v=7, kitpage.js?v=2. Smoke 242/242
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 11:38:02 -06:00
martbost 2f58a41af5 Network ad zones live on VBB: Marty's LinkSpin zones ls-b17eff (footer wide), ls-e8f989 (footer phone), ls-0be4df (leaders), ls-88b761 (My Banners), ls-9824e4 (How it works), ls-d83484 (404); common.js?v=6. Smoke 241/241
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 11:11:33 -06:00
martbost 2fe3d9e4c0 Trust pack (Marty 2026-11-14): contract proof, live ledger, proof toasts, Telegram sale cards, legal pages, network footer.
- proof.js: /api/ledger (each VBBShop purchase with its split read from the receipt's Paid/PaymentFailed events, else the contract's fixed 30/10/60 math; weekly prize transfers with their transactions), /api/contract (owner, prize wallet, company, keeper, paused, orders, balance and owed, read live and cached 5 min; Sourcify exact match, Polygonscan pending).
- Telegram (CTB Rewards bot, payments topic, TG_TOKEN/TG_CHAT/TG_PAY_TOPIC same as Downline Banners): one photo card per purchase (prebuilt VBB proof image rotated, buyer, sponsor/prize/company split in POL, this week's purchases + prize pot, Polygonscan + ledger links) and one line per confirmed prize payout. Hooks: shop.setHook (newly credited purchases only) and prize.setHook (confirmed transfers); once per tx via an in-process guard plus docstore.claim; nothing older than 2 hours.
- Pages /contract, /ledger, /terms, /disclaimer (Earnings Disclaimer), /privacy (TrustClickz, real mechanics: advertising not income, same-transaction split, prize wallet holds the 10% until Monday, no refunds on-chain, one-time purchases, crypto risk, data incl. hashed visit checks and the network hub); sitemap.
- Footer: Terms, Earnings Disclaimer, Privacy, Contract, Ledger, Support, company line, 'Part of the network' from the hub (netsites.js, /api/network-sites, fallback list), VBB marked current. Toasts add purchases and prize payouts.
- tools/proof-art.mjs renders public/art/proof/vbb-proof-{pink,blue,yellow}.png. common.js?v=5, vbb.css?v=6.
chain.mjs 49/49 (real contract on anvil + stand-in Telegram: exact split, 2 cards, no repost on rescans, 6 prize lines). smoke 241/241.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 10:38:40 -06:00
martbost d049c529ac LinkSpin Banner Spins in Viral Banner Blitz (Marty 2026-11-14: "make sure Viral Banner Blitz incorporates banner spins that could be pulled in just like downline banners"), the Downline Banners pattern. lsspins.js calls LinkSpin's /api/partner/bl/spins with { site: 'vbb' }, signed with NETWORK_SSO_SECRET (by wallet; the network username too for network-verified members). My Banners: "Use my LinkSpin Banner Spin" lists the member's 125x125 / 250x250 spins (GET /api/my/lsspins) and one tap posts one (POST /api/my/banners { spinId }): one credit, same credit + waiting rules, image + link from LinkSpin's signed answer only (https, same host), the image is the spin's rotating image and the link its click link, so clicks count in LinkSpin Reports under a Viral Banner Blitz source. /go/ fills {clickid}, {spot} (banner number) and {type} (loop or waiting). Splash: the loop's open places (one stays "post yours") and the empty waiting line show members' Banner Spins (SPIN tiles, refreshed every 10 minutes, one per member, none for a member with a banner on the page, no image twice, same picks for 2 minutes); they are never in the loop list, never shift it, cycle or earn, and a note says so. Admin status: lsSpins. LS_PARTNER_URL for the smoke stand-in. common.js?v=4, splash.js?v=3, my.js?v=3, vbb.css?v=5. Smoke 227/227 (35 new, stand-in LinkSpin), chain 29/29. Needs LinkSpin 5d630ec.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 10:07:41 -06:00
martbost aee1ccc36a VBB purchases live + weekly prize payouts (Marty 2026-11-14: "why does it say 'coming soon' on all the stuff in it? Shouldn't it all be live already?")
Buying (VBBShop 0x36F6...07D7): Packages page has live Buy buttons for the 10 and 40 credit packs (USD price + live POL from quoteWei, SafePal or any other crypto wallet, one-time, never a subscription, where the payment goes); My Banners has "Add the banner look ($2)" on each waiting or in-loop banner (SKU 3, ref = banner id) and a 40-character teaser editor once it has the look. POST /api/my/order builds the member's buy() call on the server (fresh keeper voucher when the hub knows their sponsor, else no sponsor); the page checks the connected wallet is the member's VBB account (explains how to switch if not), checks the balance, sends with Polygon's fee floor (/api/gas), waits on /api/tx, nudges the watcher (/api/my/paid) and polls until the credits or the look arrive. Public: /api/quote, /api/gas, /api/tx/<hash>; /api/config has shop {live, contract} + explorer. The banner look on the loop: double border + star, hover teaser (always shown on touch screens; default = the link's site). Only Tokens still says coming soon. wallet.js gains sendTx/waitTx/balance (DLB flow).

Weekly prize payouts (prize.js): each Central-time week's pot = 10% of its VBBShop sales (usdCents of Purchase events by block time), $20 floor (company top-up shown to admin), $50 cap internal, half per board, 50/30/20. Every Monday the app prepares last week's plan (winners, wallets, USD; POL quoted live from the Chainlink feed the contract uses). /admin "Approve and pay" (two clicks): refuses unless PRIZE_KEY is the contract's prizeWallet(), the feed is fresh and the wallet holds the POL + gas (says how much more to send); then once per week (docstore.claim in MySQL + plan status), consecutive nonces, each hash saved as sent, stops at the first unclear send (never auto-retried), receipts watched. Ties: earlier to reach the count wins (leaderboards use the same rule). A winner that cannot be paid (the prize or company wallet) is skipped and the rest move up; an unfilled place stays in the prize wallet. /leaders shows past winners with transaction links. Posts nothing anywhere. Compose passes PRIZE_KEY.

Tests: smoke 192/192 (stand-in chain answers quoteWei + receipts: quote, order calldata + voucher, look purchase, teaser, prizes API, UI Buy buttons). New qa/chain.mjs on a local anvil with the real VBBShop + mock feed: buy -> Purchase -> credits, voucher binds sponsor, 30/10/60 split, overpay refunded, banner look; prize prepare -> short refusal -> pay 6 transfers exact POL -> paid once: 29/29. common.js?v=3, vbb.css?v=4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 09:47:58 -06:00
martbost a6a9b3cace Promo kit (Marty 2026-11-14: "get all the creatives built ... and put them in all the places they need to go"): promokit.js is the one source for the VBB kit, published as GET /api/promo-kit?u=<network username or wallet> (public, CORS open, read by /promote and InstantAdPay's promo center): personal links (?ref=), 21 creatives (3 angles: free daily post / every visitor pushes the loop / weekly prizes, in 125x125, 468x60, 728x90, 300x250, 160x600, 1200x630, 1080x1080) at /art/kit/vbb-<angle>-<shape>.png (ad-blocker-neutral names, rendered by tools/kit-art.mjs with Playwright), 5 lines, 3 headlines, 1 email, 2 posts built from config (perShift, viewsPerCycle, prize floor shown as "at least", never the cap). /promote page (kitpage.js + promote.js + kit.css): username from sign-in, ?u= or typed. Nav + footer link Promote. Network zones wired like DLB (common.js ZONES: footer wide/phone, Leaderboards, My Banners, How it works; 404 in server.js ZONE_404), never on the loop page; ids empty until the LinkSpin zones exist. CSP admits linkspin.app. common.js?v=2, vbb.css?v=3. Smoke 160/160 on this commit alone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 09:41:50 -06:00
martbost 840161b367 Membership and sponsors through the network hub (Marty 2026-11-14): hubpeople.js (the Downline Banners module, signed as vbb, cached 5 minutes, never waits on a down hub); netMember asks the hub first, InstantAdPay only when the hub is unreachable. Free daily credits: verified = the hub knows this wallet, or the network member who signed in through InstantAdPay/LinkSpin (by the token's email, never stored); InstantAdPay or a network sign-in counts only while the hub is unreachable. /api/my/voucher: sponsor = the hub network sponsor for the wallet, resolved to a wallet by hub id; hub unreachable = no voucher (why hub-unavailable). Admin status shows hubLookup. Smoke 142/142 (stand-in hub answers /v1/resolve)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 09:25:57 -06:00
martbost 7c3e7f9a0e networksso.js: same NAMES line as InstantAdPay + LinkSpin (vbb listed there 2026-11-14). Smoke 117/117 (HTTP)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 08:09:48 -06:00
martbost be9de262db Launch prep: /health + Dockerfile HEALTHCHECK; old site links (/?<old username>, /splashpg.php?pid=N&r=, /lcp.php?pid=N&r= -> /?ref=<network username> from the oldrefs.json MySQL document, loaded by POST /api/admin/oldrefs; any other *.php -> /), checked before any page; hubreport.js (DLB pattern): each VBBShop purchase reported to the network hub by wallet, first as contract-bind with the sponsor, later as contract-spend, signed as vbb, off unless HUB_ENABLED; compose passes HUB_* + RPC_URLS + CHAIN_ID. Smoke 134/134
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 08:03:26 -06:00
martbost 07cc1944e6 VBBShop hooks (inert until configured, nothing deployed): GET /api/my/voucher signs an EIP-712 sponsor voucher with KEEPER_KEY when the hub lookup names the member's network sponsor (new optional sponsor field; none or self = no voucher); shop.js watcher reads Purchase logs (CONTRACT_ADDRESS + CHAIN_RPC, confirmed blocks, 1,000-block ranges) and credits packs once per txHash:logIndex, dedupe marks saved in vbb.json with the credits; admin status shows the watcher, never the key. Packages page stays coming soon. Smoke 117/117 (fake chain + voucher checks)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:20:24 -06:00
martbost 471fefacf0 VBB own look (Marty 2026-11-13: each site its own vibrant look): pop-art blitz on warm paper, hot pink / electric blue / sunshine yellow / mint, ink outlines + hard shadows, Bricolage Grotesque + DM Sans + Space Mono; new mark, OG image, icon, 404 + fallback tile; CTA 'Post your banner' (free is network members only); smoke 102/102
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:51:33 -06:00
martbost 885187bfb1 Free daily post credits for network-verified members only (Marty 2026-11-13): InstantAdPay/LinkSpin sign-in or a wallet the network knows; plain wallets rechecked each visit; copy on My Banners, How and Packages; smoke 102/102
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:48:30 -06:00
martbost cb77582926 Weekly prize pot (Marty 2026-11-13): 10% of the week's sales, $20 floor topped up by the company, $50 cap kept internal; half per leaderboard, split 50/30/20; leaderboard page shows the live pot, never the cap; smoke 100/100
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:42:03 -06:00
martbost 832395daa4 VBB v1: Marty's approved numbers as config defaults (1 free credit/day; packs 10 for $3, 40 for $10; look $2; split 30/70 kept for later; 150 views per cycle; weekly prizes $15/$7/$3 per leaderboard, display only); packages page shows planned prices as coming soon; smoke test (99/99); OG image + icon; env example + compose (not deployed)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:30:19 -06:00
martbost 9d0dde4b57 VBB v1 skeleton: off-chain loop engine, verified visitors, members, banners, leaderboards, admin; docstore + networksso from Downline Banners
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 15:24:34 -06:00