• Joined on 2026-05-26
marty pushed to main at marty/banner-line 2026-11-13 16:52:14 +00:00
d5fdddd5af Network ad zones in seven subtle places (Marty 2026-11-13: 'do all seven'), LinkSpin zones on Marty's account, each mounted once with a small 'Network' label: ledger after the 10th sale (468x60), above the footer on every page (728x90 wide / 320x50 phone), after a purchase (300x250), My Spots under the stats (468x60), How it works between cards (300x250), contract proof (468x60), 404 (300x250). CSP admits linkspin.app (script + serve call). SEO: per-page descriptions, canonical, Open Graph + Twitter cards with a 1200x630 preview (art/og-share.png), JSON-LD on home, /sitemap.xml, robots Sitemap line, My Spots noindex. common.js?v=4, line.css?v=6. Smoke 76/76.
marty pushed to main at marty/stackpol 2026-11-13 16:37:55 +00:00
8bde289c39 Stack POL: Downline Banners program (member payouts = contract Paid events to sponsors and line spots, company + fund excluded); indexer reads LinkSpin/InstantAdPay data from MySQL (docstore docs table, via each app's DOCSTORE_URL) since those files moved there 2026-11-13: LinkSpin accounts, Banner Spins, spin links and InstantAdPay stack-optin (switch-offs + Pro)
marty pushed to main at marty/banner-line 2026-11-13 16:36:08 +00:00
d559c1cf26 Ledger: 'POL paid out by the contract' (the total includes the company share)
marty pushed to main at marty/instantadpay 2026-11-13 16:35:17 +00:00
e98a6ebcd8 docstore.js: claim() for once-across-copies actions (same file as Downline Banners)
marty pushed to main at marty/linkspin 2026-11-13 16:35:15 +00:00
d6fd0c8e04 docstore.js: claim() for once-across-copies actions (same file as Downline Banners)
marty pushed to main at marty/banner-line 2026-11-13 16:35:12 +00:00
87354e29b6 Payment proof + transparency (Marty 2026-11-13): every spot sale posts ONE message to the group's payments topic (tgproof.js: buyer, each member paid with POL and $ at the contract's price, company + fund line, Polygonscan verify + live ledger links; once across app copies via docstore.claim; never older than 2 h). New /ledger (every sale and payout, live, verify links) and /contract (verified source, owner, keeper, fee wallets, price feed, live reads, fixed split, how to check). Live sale toasts bottom-left on every page (real ledger rows only, newest 30 min). Nav + footer links. common.js?v=3, line.css?v=5. Smoke 76/76.
marty pushed to main at marty/banner-line 2026-11-13 15:38:54 +00:00
c6ca40a241 Downline Banners data in MySQL (Marty 2026-11-13: database is the standard): docstore.js (same file as LinkSpin/InstantAdPay) keeps store.json, refuel spots, hub report and sign-in nonces in MySQL (DOCSTORE_URL), one writer at a time; startup waits for the store before loading anything. chain-index.json stays a rebuildable cache, art/ uploads stay files. Smoke 76/76.
marty pushed to main at marty/instantadpay 2026-11-13 15:33:19 +00:00
f29f6d1407 InstantAdPay data documents in MySQL (Marty 2026-11-13: 'everything database-driven'): docstore.js (same file as LinkSpin) keeps every .json/.jsonl data document in table docs of the InstantAdPay database (DOCSTORE_URL), one writer at a time, first boot imports and sets the files aside. Accounts and the other DB-mode tables are unchanged. Rehearsed on a copy with a copy of the database: 64/64 documents byte-identical, pages and APIs answer after a restart.
marty pushed to main at marty/linkspin 2026-11-13 15:26:02 +00:00
1554c262a6 LinkSpin data in MySQL (Marty 2026-11-13: 'everything database-driven'). docstore.js: every .json/.jsonl data document under DATA_DIR lives in MySQL table docs (DOCSTORE_URL), served to the modules through their own fs calls from an in-memory copy, written through in order; one writer at a time (docs_writer), so an older copy during a deploy can never overwrite newer data; first boot imports each file and sets it aside (.imported-<date>). Spin-link clicks are rows in rot_hits (one insert per click instead of rewriting a 20 MB document; every click kept). Kept as files on purpose: chain-index cache, uploads, geo db, kits, marks, queues. Admin sessions load after the store. Rehearsed on a copy: 52/54 documents byte-identical (rotator.json minus hits, kb.json seeds refreshed), 97,579 clicks moved, links + clicks work after restart.
marty pushed to main at marty/instantadpay 2026-11-13 15:11:32 +00:00
9efdfc8ee9 Data safety (2026-11-13 incident: a deploy read a half-written rotator.json, the store fell back to empty and its next save wiped 294 spin links): safefs.js makes every .json write inside DATA_DIR atomic (temp file + rename); LinkSpin's rotator refuses to start empty when rotator.json exists but will not parse
marty pushed to main at marty/linkspin 2026-11-13 15:11:29 +00:00
d1c9d62801 Data safety (2026-11-13 incident: a deploy read a half-written rotator.json, the store fell back to empty and its next save wiped 294 spin links): safefs.js makes every .json write inside DATA_DIR atomic (temp file + rename); LinkSpin's rotator refuses to start empty when rotator.json exists but will not parse
marty pushed to main at marty/instantadpay 2026-11-13 14:55:50 +00:00
4e2178d779 Refuel spots (Marty 2026-11-13, paid from the company fee share): a counted Monthly Refuel of $50+ on either site sends one signed request to Downline Banners to buy a spot for the member's main wallet (sponsor = their network sponsor's wallet), once per tx, with a member notice. Chatbot knows Downline Banners, the Banner Spin button and the refuel spot
marty pushed to main at marty/banner-line 2026-11-13 14:55:46 +00:00
9408b7af8b My Spots: 'Use a LinkSpin Banner Spin' (two taps: pick a 468x60 spin, image + tracking link fill and save). Refuel spots: /api/partner/refuel-spot (signed) queues one buyFor per $50+ counted refuel tx, bought from the engine wallet with a 3 POL reserve, every cost recorded (refuelspots.js); never sends at the same time as the keeper. my.js?v=5, line.css?v=4
marty pushed to main at marty/linkspin 2026-11-13 14:55:43 +00:00
656c9a940d Downline Banners partner call (Marty 2026-11-13): /api/partner/bl/spins, signed with NETWORK_SSO_SECRET, lists the 468x60 Banner Spins of the account holding a wallet; with spinId it makes sure a Downline Banners source exists, tags an untagged spin with it and answers the image + click URLs with the board's macros
marty pushed to main at marty/linkspin 2026-11-13 14:36:02 +00:00
17c9764cc7 Downline Banners now lives at https://downlinebanners.com (Marty 2026-11-13): network sign-in hop default moved off new.
marty pushed to main at marty/instantadpay 2026-11-13 14:36:01 +00:00
f20062133f Downline Banners now lives at https://downlinebanners.com (Marty 2026-11-13): network sign-in hop default moved off new.
marty pushed to main at marty/banner-line 2026-11-13 14:34:56 +00:00
34ffe2eb78 One address (Marty 2026-11-13): www. and new. redirect 301 to downlinebanners.com (SITE_HOST), path and query kept
marty pushed to main at marty/banner-line 2026-11-13 14:25:56 +00:00
289fcaf2c8 Click macros (Marty 2026-11-13): a spot's Target link can carry {clickid}, {spot} and {type} (gate/organic), filled on every click, for LinkSpin's Downline Banners source; hint on My Spots, my.js?v=4
marty pushed to main at marty/linkspin 2026-11-13 14:25:55 +00:00
6301ee23ff Traffic source catalog: Downline Banners (network banner board, Marty 2026-11-13). clickid={clickid}, placement={spot}, s1={type}; the board fills them on every click
marty pushed to main at marty/instantadpay 2026-11-13 14:22:06 +00:00
24b4ae9134 Hub gaps (Marty 2026-11-13): any later username/sponsor change (old members too) -> /v1/join, deliberate sponsor changes -> /v1/sponsor-change, MemberActivated -> /v1/contract-bind (contract iap); still one way, only with HUB_ENABLED