Commit Graph

3 Commits

Author SHA1 Message Date
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