diff --git a/blog.js b/blog.js index 59bedac..8333ede 100644 --- a/blog.js +++ b/blog.js @@ -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 += '

' + (tag ? 'Tag: ' + esc(tag) : 'The Stack POL blog') + '

Earning POL across the network, one stack at a time

' + esc(desc) + '

'; h += slice.length ? '
' + slice.map(cardHtml).join('') + '
' : '

Nothing published yet. Check back soon.

'; + h += spot(ZONES.banner, ZONES.strip); if (pages > 1) h += '
' + (page > 1 ? '← Newer' : '') + (page < pages ? 'Older →' : '') + '
'; return h + tail(); } @@ -90,7 +91,7 @@ function renderPost(p) { if (p.cover) h += '' + esc(p.coverAlt) + ''; h += '
' + p.body; if (p.faq.length) h += '

Questions people ask

' + p.faq.map(q => '

' + esc(q.q) + '

' + esc(q.a) + '

').join(''); - h += '
'; + h += '' + spot(ZONES.blogBox, ZONES.blogBox); if (p.tags.length) h += '

' + p.tags.map(t => '' + esc(t) + '').join('') + '

'; h += '

Share on XShare on FacebookTelegram

'; h += '
M
' + AUTHOR + '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.
'; diff --git a/content/blog/what-is-stack-pol.json b/content/blog/what-is-stack-pol.json index 31123fa..28a8812 100644 --- a/content/blog/what-is-stack-pol.json +++ b/content/blog/what-is-stack-pol.json @@ -11,8 +11,8 @@ "payouts" ], "publishedAt": "2026-11-09T14:00:00-06:00", - "updated": "2026-11-09T14:00:00-06:00", - "body": "

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.

\n

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.

\n

What you see on Stack POL

\n\n

Where the numbers come from

\n

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.

\n

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.

\n

Your own stack page

\n

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 InstantAdPay 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.

\n

An honest note

\n

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.

", + "updated": "2026-11-09T15:00:00-06:00", + "body": "

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.

\n

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.

\n

What you see on Stack POL

\n\n

Where the numbers come from

\n

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.

\n

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.

\n

Your own stack page

\n

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 InstantAdPay 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.

\n

An honest note

\n

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.

", "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." } ] } \ No newline at end of file diff --git a/layout.js b/layout.js index f344d26..386b05f 100644 --- a/layout.js +++ b/layout.js @@ -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) { + '
' + '
'; } +// 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) => '
Sponsored
'; +const SPOT_JS = ''; function tail(extra) { const year = new Date().getFullYear(); return '' + '

© ' + 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.

' - + '' + (extra || '') + ''; + + '' + (extra || '') + SPOT_JS + ''; } -module.exports = { SITE, esc, head, tail, OG, V }; +module.exports = { SITE, esc, head, tail, OG, V, ZONES, spot }; diff --git a/server.js b/server.js index f69438a..03da55b 100644 --- a/server.js +++ b/server.js @@ -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 'The ledger fills in on the next refresh.'; return rows.map(r => { const p = BY_KEY[r.k] || { n: r.k, c: '#888' }; - return '' + esc(p.n) + '' + (showWho ? '' + (r.u ? '@' + esc(r.u) + '' : 'a member') + '' : '') + '' + fmt(r.pol) + ' POL' + when(r.ts) + '' + (r.tx ? '' + shortTx(r.tx) + ' ↗' : '') + ''; }).join(''); + return '' + esc(p.n) + '' + (showWho ? '' + (r.u ? (r.pub ? '@' + esc(r.u) + '' : '@' + esc(r.u)) : 'a member') + '' : '') + '' + fmt(r.pol) + ' POL' + when(r.ts) + '' + (r.tx ? '' + shortTx(r.tx) + ' ↗' : '') + ''; }).join(''); } const tableHead = showWho => '
' + (showWho ? '' : '') + ''; const heroVideo = '
ProgramMemberAmountWhenPolygon transaction
'; + h += spot(ZONES.banner, ZONES.strip) + tableHead(true) + ledgerRows(rows, true) + '' + spot(ZONES.ledgerBox, ZONES.ledgerBox); return h + tail(); } function stackPage(u, st) { diff --git a/tools/indexer.py b/tools/indexer.py index ef0d5be..bbf2542 100644 --- a/tools/indexer.py +++ b/tools/indexer.py @@ -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] diff --git a/tools/write_posts_1.py b/tools/write_posts_1.py index e1a773e..0f30d30 100644 --- a/tools/write_posts_1.py +++ b/tools/write_posts_1.py @@ -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': '''

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.

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.

What you see on Stack POL

Where the numbers come from

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.

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.

Your own stack page

-

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 InstantAdPay 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.

+

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 InstantAdPay 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.

An honest note

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.

''', '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',