Ledger shows each payout's username (Marty 2026-11-09), linked only when the member has a Stack POL page; LinkSpin zone spots on the blog index, posts and ledger (one zone per screen size, the hidden size never loads)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-09 14:32:34 -06:00
parent ad546660b9
commit e53565051b
6 changed files with 27 additions and 19 deletions
+3 -2
View File
@@ -5,7 +5,7 @@
'use strict';
const fs = require('fs');
const path = require('path');
const { SITE, esc, head, tail } = require('./layout');
const { SITE, esc, head, tail, ZONES, spot } = require('./layout');
const AUTHOR = 'Marty Bostick';
const PER_PAGE = 9;
const DIR = path.join(__dirname, 'content', 'blog');
@@ -71,6 +71,7 @@ function renderIndex(page, tag) {
let h = head({ title, desc, path: p, nav: '/blog', noindex: !!tag, jsonld: [{ '@context': 'https://schema.org', '@type': 'Blog', name: 'Stack POL Blog', url: SITE + '/blog', description: desc, publisher: { '@type': 'Organization', name: 'Stack POL', url: SITE } }] });
h += '<section style="padding:40px 0 10px"><p class="kick">' + (tag ? 'Tag: ' + esc(tag) : 'The Stack POL blog') + '</p><h1>Earning POL across the network, <span style="color:var(--gold)">one stack at a time</span></h1><p class="lead">' + esc(desc) + '</p></section>';
h += slice.length ? '<div class="posts">' + slice.map(cardHtml).join('') + '</div>' : '<p class="lead">Nothing published yet. Check back soon.</p>';
h += spot(ZONES.banner, ZONES.strip);
if (pages > 1) h += '<div class="pager">' + (page > 1 ? '<a href="/blog' + (page - 1 > 1 ? '/page/' + (page - 1) : '') + '">&larr; Newer</a>' : '<span></span>') + (page < pages ? '<a href="/blog/page/' + (page + 1) + '">Older &rarr;</a>' : '<span></span>') + '</div>';
return h + tail();
}
@@ -90,7 +91,7 @@ function renderPost(p) {
if (p.cover) h += '<img class="cover" src="' + esc(p.cover) + '" alt="' + esc(p.coverAlt) + '" width="1200" height="630">';
h += '<article>' + p.body;
if (p.faq.length) h += '<h2>Questions people ask</h2>' + p.faq.map(q => '<h3>' + esc(q.q) + '</h3><p>' + esc(q.a) + '</p>').join('');
h += '</article>';
h += '</article>' + spot(ZONES.blogBox, ZONES.blogBox);
if (p.tags.length) h += '<p class="tags" style="margin-top:22px">' + p.tags.map(t => '<a href="/blog/tag/' + encodeURIComponent(t) + '">' + esc(t) + '</a>').join('') + '</p>';
h += '<p class="share" style="margin-top:18px"><a href="https://x.com/intent/tweet?url=' + encodeURIComponent(url) + '&text=' + encodeURIComponent(p.title) + '" target="_blank" rel="noopener">Share on X</a><a href="https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(url) + '" target="_blank" rel="noopener">Share on Facebook</a><a href="https://t.me/share/url?url=' + encodeURIComponent(url) + '&text=' + encodeURIComponent(p.title) + '" target="_blank" rel="noopener">Telegram</a></p>';
h += '<div class="author"><span class="av">M</span><div><b>' + AUTHOR + '</b><span>Founder of InstantAdPay, LinkSpin and the Crypto Team Build Network. Twenty-plus years of internet marketing, and a habit of writing down what actually worked.</span></div></div>';
+4 -4
View File
@@ -11,8 +11,8 @@
"payouts"
],
"publishedAt": "2026-11-09T14:00:00-06:00",
"updated": "2026-11-09T14:00:00-06:00",
"body": "<p>If you have been in the network for a while, your POL probably arrives from several places. A referral payment from InstantAdPay. A drip from PolHunter. A chapter reward from SpellWheel. A weekly prize from Turkey Drop. Each one lands in your wallet, and each one is a separate line on Polygonscan.</p>\n<p>Stack POL puts those lines back together. It is one page that adds up every POL payout across the network, shows where each one came from, and links every single payment to its transaction on the Polygon chain.</p>\n<h2>What you see on Stack POL</h2>\n<ul><li><b>The network total.</b> Everything every program has paid to members so far, refreshed every 5 minutes. On November 9, 2026 that was 37,663 POL across 6,882 payments to 164 wallets.</li>\n<li><b>One card per program.</b> InstantAdPay, LinkSpin and every game that pays POL, each with its own total and number of payments.</li>\n<li><b>The public ledger.</b> The latest 300 payouts, newest first, each with a link to Polygonscan.</li>\n<li><b>Member stacks.</b> A member who switches it on gets their own page at stackpol.com/their-username, showing their own total and where it came from.</li></ul>\n<h2>Where the numbers come from</h2>\n<p>Nothing on Stack POL is typed in by hand. A small indexer reads each program's own payout records every 5 minutes, plus the payment events the InstantAdPay and LinkSpin smart contracts write to Polygon. Pages read that snapshot, so the site stays fast, and the chain stays the source of truth: every row carries its transaction hash.</p>\n<p>That matters because the network was built so payments are checkable. InstantAdPay and LinkSpin pay the sponsor line in the same transaction as the purchase, and the games send POL straight from their own payout wallets. Stack POL simply makes all of that visible in one place.</p>\n<h2>Your own stack page</h2>\n<p>Member pages are opt-in. Nobody is named on Stack POL unless they choose it; everyone else shows on the ledger as \"a member\". To get yours, join <a href=\"https://instantadpay.com/join/martbost?src=stackpol\">InstantAdPay</a> free, link a wallet, and switch on your Stack POL page in Promo tools. Your page updates every 5 minutes and carries your own referral links on every program card, so it works as a proof page you can share.</p>\n<h2>An honest note</h2>\n<p>The totals are what the whole network has paid out, added together. They are not a forecast for any one person. What a member stacks depends on what they do, and many members earn little or nothing. Cryptocurrency involves risk. Stack POL shows payouts; it never holds or sends anyone's money.</p>",
"updated": "2026-11-09T15:00:00-06:00",
"body": "<p>If you have been in the network for a while, your POL probably arrives from several places. A referral payment from InstantAdPay. A drip from PolHunter. A chapter reward from SpellWheel. A weekly prize from Turkey Drop. Each one lands in your wallet, and each one is a separate line on Polygonscan.</p>\n<p>Stack POL puts those lines back together. It is one page that adds up every POL payout across the network, shows where each one came from, and links every single payment to its transaction on the Polygon chain.</p>\n<h2>What you see on Stack POL</h2>\n<ul><li><b>The network total.</b> Everything every program has paid to members so far, refreshed every 5 minutes. On November 9, 2026 that was 37,663 POL across 6,882 payments to 164 wallets.</li>\n<li><b>One card per program.</b> InstantAdPay, LinkSpin and every game that pays POL, each with its own total and number of payments.</li>\n<li><b>The public ledger.</b> The latest 300 payouts, newest first: the program, the member it was paid to, the amount and a link to Polygonscan.</li>\n<li><b>Member stacks.</b> A member who switches it on gets their own page at stackpol.com/their-username, showing their own total and where it came from.</li></ul>\n<h2>Where the numbers come from</h2>\n<p>Nothing on Stack POL is typed in by hand. A small indexer reads each program's own payout records every 5 minutes, plus the payment events the InstantAdPay and LinkSpin smart contracts write to Polygon. Pages read that snapshot, so the site stays fast, and the chain stays the source of truth: every row carries its transaction hash.</p>\n<p>That matters because the network was built so payments are checkable. InstantAdPay and LinkSpin pay the sponsor line in the same transaction as the purchase, and the games send POL straight from their own payout wallets. Stack POL simply makes all of that visible in one place.</p>\n<h2>Your own stack page</h2>\n<p>Member pages are opt-in. The ledger shows each payout's username, the same name members already use across the network, but only members who switch it on get a page of their own. To get yours, join <a href=\"https://instantadpay.com/join/martbost?src=stackpol\">InstantAdPay</a> free, link a wallet, and switch on your Stack POL page in Promo tools. Your page updates every 5 minutes and carries your own referral links on every program card, so it works as a proof page you can share.</p>\n<h2>An honest note</h2>\n<p>The totals are what the whole network has paid out, added together. They are not a forecast for any one person. What a member stacks depends on what they do, and many members earn little or nothing. Cryptocurrency involves risk. Stack POL shows payouts; it never holds or sends anyone's money.</p>",
"faq": [
{
"q": "Is Stack POL a wallet?",
@@ -23,8 +23,8 @@
"a": "Every 5 minutes. The indexer reads each program's payout records and the InstantAdPay and LinkSpin contract events, then refreshes the site."
},
{
"q": "Can I hide my name?",
"a": "You are hidden by default. Only members who switch on their Stack POL page are named; everyone else shows as \"a member\"."
"q": "Who gets a Stack POL page?",
"a": "Any member who switches it on in InstantAdPay Promo tools. The ledger shows each payout with its username either way; the page adds your own total and your referral links on every program."
}
]
}
+9 -2
View File
@@ -82,6 +82,8 @@ footer.site b{display:block;color:var(--ink);font:700 14px var(--display);margin
.who{display:flex;gap:12px;align-items:center}.av{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--violet),var(--violet-hi));display:grid;place-items:center;font:800 18px var(--display);color:#fff;flex:none}
.who b{font:700 17px var(--display);display:block;line-height:1.2}.who span{color:var(--muted);font-size:13.5px}
.crumb{font-size:13px;color:var(--muted);margin-top:26px}.crumb a{color:var(--muted)}
/* ad spots (LinkSpin zones): neutral class names, ad blockers hide .adzone-style names (feedback 2026-10-08) */
.spot{display:flex;flex-direction:column;align-items:center;gap:4px;margin:28px auto;max-width:100%;overflow:hidden}.spot .sl{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
@media (prefers-reduced-motion:reduce){.card,.btn{transition:none}.card:hover{transform:none}}
`;
@@ -110,6 +112,11 @@ function head(o) {
+ '<header class="bar"><a class="logo" href="/" aria-label="Stack POL home">' + LOGO + 'Stack POL</a>'
+ '<nav class="top" aria-label="Main">' + [['/', 'Home'], ['/programs', 'Programs'], ['/ledger', 'Ledger'], ['/blog', 'Blog']].map(([h, l]) => '<a href="' + h + '"' + (o.nav === h ? ' aria-current="page"' : '') + '>' + l + '</a>').join('') + '</nav></header>';
}
// a LinkSpin zone spot. wide = zone for screens 760px and up, narrow = zone below that; only the one that fits is loaded, so a
// hidden size never counts a view. Zones are on Marty's LinkSpin account, site stackpol.com (created 2026-11-09).
const ZONES = { banner: 'ls-9c2a52', strip: 'ls-dc8bdd', blogBox: 'ls-72413f', ledgerBox: 'ls-1f308f' };
const spot = (wide, narrow) => '<div class="spot" data-w="' + (wide || '') + '" data-n="' + (narrow || wide || '') + '"><span class="sl">Sponsored</span></div>';
const SPOT_JS = '<script>(function(){var w=innerWidth>=760;document.querySelectorAll(".spot").forEach(function(d){var id=w?d.dataset.w:d.dataset.n;if(!id){d.remove();return;}var s=document.createElement("script");s.async=true;s.src="https://linkspin.app/z.js";s.setAttribute("data-zone",id);d.appendChild(s);});})();</script>';
function tail(extra) {
const year = new Date().getFullYear();
return '<footer class="site"><div><b>Stack POL</b>Every POL payout across the network, stacked in one place and checkable on Polygon.</div>'
@@ -117,6 +124,6 @@ function tail(extra) {
+ '<div><b>The network</b><a href="https://instantadpay.com" rel="noopener">InstantAdPay</a><a href="https://linkspin.app" rel="noopener">LinkSpin</a><a href="https://instantadpay.com/games" rel="noopener">All games</a></div>'
+ '<div><b>Honest numbers</b>Totals are the combined payouts of everyone in the network, read from each program\'s payout records and the Polygon chain. One member\'s results are not a promise of yours. Cryptocurrency involves risk.</div></footer>'
+ '<p class="disc">&copy; ' + year + ' Stack POL, part of the Crypto Team Build Network. Stack POL shows payouts; it does not hold, invest or pay out anyone\'s money.</p>'
+ '</div>' + (extra || '') + '</body></html>';
+ '</div>' + (extra || '') + SPOT_JS + '</body></html>';
}
module.exports = { SITE, esc, head, tail, OG, V };
module.exports = { SITE, esc, head, tail, OG, V, ZONES, spot };
+4 -4
View File
@@ -9,7 +9,7 @@ const http = require('http');
const fs = require('fs');
const path = require('path');
const zlib = require('zlib');
const { SITE, esc, head, tail } = require('./layout');
const { SITE, esc, head, tail, ZONES, spot } = require('./layout');
const { PROGRAMS, BY_KEY, BY_SLUG } = require('./programs');
const blog = require('./blog');
@@ -44,7 +44,7 @@ function feature(p, ref) {
function ledgerRows(rows, showWho) {
if (!rows || !rows.length) return '<tr><td colspan="5" style="color:var(--muted)">The ledger fills in on the next refresh.</td></tr>';
return rows.map(r => { const p = BY_KEY[r.k] || { n: r.k, c: '#888' };
return '<tr><td class="pg" style="--c:' + p.c + '"><i></i>' + esc(p.n) + '</td>' + (showWho ? '<td class="who">' + (r.u ? '<a href="/' + esc(r.u) + '">@' + esc(r.u) + '</a>' : 'a member') + '</td>' : '') + '<td class="amt">' + fmt(r.pol) + ' POL</td><td class="when">' + when(r.ts) + '</td><td class="tx">' + (r.tx ? '<a href="https://polygonscan.com/tx/' + esc(r.tx) + '" target="_blank" rel="noopener">' + shortTx(r.tx) + ' ↗</a>' : '') + '</td></tr>'; }).join('');
return '<tr><td class="pg" style="--c:' + p.c + '"><i></i>' + esc(p.n) + '</td>' + (showWho ? '<td class="who">' + (r.u ? (r.pub ? '<a href="/' + esc(r.u) + '">@' + esc(r.u) + '</a>' : '@' + esc(r.u)) : 'a member') + '</td>' : '') + '<td class="amt">' + fmt(r.pol) + ' POL</td><td class="when">' + when(r.ts) + '</td><td class="tx">' + (r.tx ? '<a href="https://polygonscan.com/tx/' + esc(r.tx) + '" target="_blank" rel="noopener">' + shortTx(r.tx) + ' ↗</a>' : '') + '</td></tr>'; }).join('');
}
const tableHead = showWho => '<div class="tbl"><table><thead><tr><th>Program</th>' + (showWho ? '<th>Member</th>' : '') + '<th class="r">Amount</th><th>When</th><th>Polygon transaction</th></tr></thead><tbody>';
const heroVideo = '<aside class="vid"><div class="frame"><video id="hero" src="/stackpol-hero.mp4" poster="/stackpol-hero-poster.jpg" autoplay muted loop playsinline preload="metadata" aria-label="Coins stacking up as POL payouts arrive"></video><button class="snd" id="snd" type="button">Tap for sound</button></div>'
@@ -112,9 +112,9 @@ function programPage(p) {
function ledgerPage(k) {
const p = k && BY_KEY[k]; const rows = ((IDX && IDX.recent) || []).filter(r => !p || r.k === p.k);
let h = head({ title: (p ? p.n + ' Payout Ledger' : 'The POL Payout Ledger') + ': Every Payment on Polygon | Stack POL', desc: 'The latest POL payouts across the network' + (p ? ' from ' + p.n : '') + ', each linked to its Polygon transaction. Refreshed every 5 minutes.', path: p ? '/ledger?p=' + p.k : '/ledger', nav: '/ledger', noindex: !!p });
h += live() + '<section style="padding:20px 0 6px"><p class="kick">Public and checkable</p><h1>The payout ledger</h1><p class="lead">The latest ' + rows.length + ' payouts' + (p ? ' from ' + esc(p.n) : ' across the network') + '. Members who switched on their Stack POL page show by name; everyone else shows as "a member". Every row links to its transaction on Polygonscan.</p></section>';
h += live() + '<section style="padding:20px 0 6px"><p class="kick">Public and checkable</p><h1>The payout ledger</h1><p class="lead">The latest ' + rows.length + ' payouts' + (p ? ' from ' + esc(p.n) : ' across the network') + '. Each row shows the member it was paid to; members with a Stack POL page link to it. Every row links to its transaction on Polygonscan.</p></section>';
h += '<div class="ltools"><a class="chip" href="/ledger"' + (!p ? ' aria-current="page"' : '') + '>All</a>' + sortedProgs().map(x => '<a class="chip" href="/ledger?p=' + x.k + '"' + (p && p.k === x.k ? ' aria-current="page"' : '') + '>' + esc(x.n) + '</a>').join('') + '</div>';
h += tableHead(true) + ledgerRows(rows, true) + '</tbody></table></div>';
h += spot(ZONES.banner, ZONES.strip) + tableHead(true) + ledgerRows(rows, true) + '</tbody></table></div>' + spot(ZONES.ledgerBox, ZONES.ledgerBox);
return h + tail();
}
function stackPage(u, st) {
+3 -3
View File
@@ -7,7 +7,7 @@
- opt-in: /root/stackpol-indexer/optin.txt (one username per line) plus IAP's stack-optin.json when present
It builds one snapshot (network totals, per-program totals, last 7 days, latest 300 payouts, a stack per opted-in member) and
POSTs it to https://stackpol.com/api/ingest with the key in /root/.stackpol-ingest-key. Nothing is written anywhere else.
Members who have not opted in are never named: their rows show as "a member".
The ledger shows each payout's username (Marty 2026-11-09); only opted-in members get a public stack page.
Usage: indexer.py [--dry] (print a summary, no POST)"""
import json, os, subprocess, sys, time, urllib.request, glob
@@ -127,12 +127,12 @@ def main():
programs = {k: {'pol': round(v['pol'], 4), 'payments': v['payments'], 'wallets': len(v['w'] - {''}), 'first': v['first'], 'last': v['last']} for k, v in progs.items()}
l7 = [r for r in rows if r['ts'] >= now - 7 * DAY]
rows.sort(key=lambda r: r['ts'], reverse=True)
recent = [{'k': r['k'], 'pol': round(r['pol'], 4), 'tx': r['tx'], 'ts': r['ts'], 'u': r['u'] if r['u'] in opt else None} for r in rows[:300]]
recent = [{'k': r['k'], 'pol': round(r['pol'], 4), 'tx': r['tx'], 'ts': r['ts'], 'u': r['u'] or None, 'pub': r['u'] in opt} for r in rows[:300]] # Marty 11-09: the ledger always shows the username; pub = has a public page
prog_recent = {} # each program's own latest 20 (a quiet program still has rows on its page)
for r in rows:
lst = prog_recent.setdefault(r['k'], [])
if len(lst) < 20:
lst.append({'k': r['k'], 'pol': round(r['pol'], 4), 'tx': r['tx'], 'ts': r['ts'], 'u': r['u'] if r['u'] in opt else None})
lst.append({'k': r['k'], 'pol': round(r['pol'], 4), 'tx': r['tx'], 'ts': r['ts'], 'u': r['u'] or None, 'pub': r['u'] in opt})
stacks = {}
for un in sorted(opt):
mine = [r for r in rows if r['u'] == un]
+4 -4
View File
@@ -10,24 +10,24 @@ put({'slug': 'what-is-stack-pol', 'title': 'What Is Stack POL? Every POL Payout
'seoTitle': 'What Is Stack POL? Every POL Payout in One Place',
'excerpt': 'Stack POL adds up every POL payout from InstantAdPay, LinkSpin and the network games, refreshes every 5 minutes, and links every payment to Polygonscan so anyone can check it.',
'cover': '/og-stackpol-1200x630.jpg', 'coverAlt': 'Stack POL: every POL the network pays, stacked in one place',
'tags': ['stack pol', 'polygon', 'payouts'], 'publishedAt': '2026-11-09T14:00:00-06:00', 'updated': '2026-11-09T14:00:00-06:00',
'tags': ['stack pol', 'polygon', 'payouts'], 'publishedAt': '2026-11-09T14:00:00-06:00', 'updated': '2026-11-09T15:00:00-06:00',
'body': '''<p>If you have been in the network for a while, your POL probably arrives from several places. A referral payment from InstantAdPay. A drip from PolHunter. A chapter reward from SpellWheel. A weekly prize from Turkey Drop. Each one lands in your wallet, and each one is a separate line on Polygonscan.</p>
<p>Stack POL puts those lines back together. It is one page that adds up every POL payout across the network, shows where each one came from, and links every single payment to its transaction on the Polygon chain.</p>
<h2>What you see on Stack POL</h2>
<ul><li><b>The network total.</b> Everything every program has paid to members so far, refreshed every 5 minutes. On November 9, 2026 that was 37,663 POL across 6,882 payments to 164 wallets.</li>
<li><b>One card per program.</b> InstantAdPay, LinkSpin and every game that pays POL, each with its own total and number of payments.</li>
<li><b>The public ledger.</b> The latest 300 payouts, newest first, each with a link to Polygonscan.</li>
<li><b>The public ledger.</b> The latest 300 payouts, newest first: the program, the member it was paid to, the amount and a link to Polygonscan.</li>
<li><b>Member stacks.</b> A member who switches it on gets their own page at stackpol.com/their-username, showing their own total and where it came from.</li></ul>
<h2>Where the numbers come from</h2>
<p>Nothing on Stack POL is typed in by hand. A small indexer reads each program's own payout records every 5 minutes, plus the payment events the InstantAdPay and LinkSpin smart contracts write to Polygon. Pages read that snapshot, so the site stays fast, and the chain stays the source of truth: every row carries its transaction hash.</p>
<p>That matters because the network was built so payments are checkable. InstantAdPay and LinkSpin pay the sponsor line in the same transaction as the purchase, and the games send POL straight from their own payout wallets. Stack POL simply makes all of that visible in one place.</p>
<h2>Your own stack page</h2>
<p>Member pages are opt-in. Nobody is named on Stack POL unless they choose it; everyone else shows on the ledger as "a member". To get yours, join <a href="https://instantadpay.com/join/martbost?src=stackpol">InstantAdPay</a> free, link a wallet, and switch on your Stack POL page in Promo tools. Your page updates every 5 minutes and carries your own referral links on every program card, so it works as a proof page you can share.</p>
<p>Member pages are opt-in. The ledger shows each payout's username, the same name members already use across the network, but only members who switch it on get a page of their own. To get yours, join <a href="https://instantadpay.com/join/martbost?src=stackpol">InstantAdPay</a> free, link a wallet, and switch on your Stack POL page in Promo tools. Your page updates every 5 minutes and carries your own referral links on every program card, so it works as a proof page you can share.</p>
<h2>An honest note</h2>
<p>The totals are what the whole network has paid out, added together. They are not a forecast for any one person. What a member stacks depends on what they do, and many members earn little or nothing. Cryptocurrency involves risk. Stack POL shows payouts; it never holds or sends anyone's money.</p>''',
'faq': [{'q': 'Is Stack POL a wallet?', 'a': 'No. Stack POL only shows payouts. Every payment goes from the program straight to the member\'s own wallet on Polygon.'},
{'q': 'How often does Stack POL update?', 'a': 'Every 5 minutes. The indexer reads each program\'s payout records and the InstantAdPay and LinkSpin contract events, then refreshes the site.'},
{'q': 'Can I hide my name?', 'a': 'You are hidden by default. Only members who switch on their Stack POL page are named; everyone else shows as "a member".'}]})
{'q': 'Who gets a Stack POL page?', 'a': 'Any member who switches it on in InstantAdPay Promo tools. The ledger shows each payout with its username either way; the page adds your own total and your referral links on every program.'}]})
put({'slug': 'network-payout-recap-november-2-8-2026', 'title': 'Network Payout Recap: November 2 to 8, 2026',
'seoTitle': 'POL Payout Recap, Nov 2-8 2026: 1,728 POL in 521 Payments',