diff --git a/Dockerfile b/Dockerfile index c4c86c3..cbf3a30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,9 @@ -FROM nginx:1.27-alpine -COPY public/ /usr/share/nginx/html/ +FROM node:20-alpine +WORKDIR /app +COPY package.json server.js layout.js blog.js programs.js ./ +COPY content/ ./content/ +COPY public/ ./public/ +ENV NODE_ENV=production PORT=80 EXPOSE 80 +HEALTHCHECK --interval=30s --timeout=5s --start-period=10s CMD wget -qO- http://127.0.0.1/health || exit 1 +CMD ["node", "server.js"] diff --git a/README.md b/README.md index c652db7..50e2a14 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # Stack POL -stackpol.com: a member's bag of POL from every network property, as a show-off and referral page. Placeholder (coming soon) since 2026-10-01; the real app replaces it in the same Coolify slot. +stackpol.com: every POL payout across the network, stacked. Live app since 2026-11-09 (replaced the Oct 1 placeholder in the same Coolify slot k6p591wzomylttvsva3e6w7i). + +- server.js (Node 20, no dependencies): home with live network totals, /programs, /earn/ per program, /ledger (?p=), opt-in member stacks at /, /blog (+ /blog/, /blog/tag/, /blog/feed.xml), /sitemap.xml, /robots.txt, /api/totals. Full SEO head on every page (layout.js): canonical, robots, Open Graph, Twitter card, JSON-LD (WebSite, Organization, FAQPage, BlogPosting, Breadcrumb, ItemList, VideoGame/WebApplication, ProfilePage). +- Data: tools/indexer.py runs on core every 5 min (/etc/cron.d/stackpol-indexer, copy in /root/stackpol-indexer) and POSTs a snapshot to /api/ingest (Bearer STACK_INGEST_KEY, key file /root/.stackpol-ingest-key). Sources: each game's payout file, IAP + LinkSpin chain-index TierPaid events, wallet->username from IAP accounts/positions and LinkSpin accounts. Members are named only when opted in (/root/stackpol-indexer/optin.txt + IAP stack-optin.json). +- Blog: content/blog/.json, one file per post (title, seoTitle, excerpt, body HTML, cover, tags, publishedAt, updated, faq[]). Same engine as InstantAdPay/LinkSpin blog.js, ported to file storage. Future-dated posts stay hidden until their time. Generators in tools/write_posts_*.py. +- programs.js: program registry (keys match the indexer); game blurbs are InstantAdPay's own. +- mockup/: the Oct design mockup (artifact https://claude.ai/artifact/1mN4dCYUcbw7EHicCdejM3). diff --git a/blog.js b/blog.js new file mode 100644 index 0000000..59bedac --- /dev/null +++ b/blog.js @@ -0,0 +1,105 @@ +// Stack POL blog (2026-11-09, Marty: "use the same engine for the blog"): InstantAdPay/LinkSpin's blog.js, ported. Same +// sanitizer, paging, tags, related posts, RSS, BlogPosting + Breadcrumb JSON-LD. Storage is the repo itself: one JSON file per +// post in content/blog/.json ({ title, slug, excerpt, body (HTML), cover, tags[], publishedAt ISO, updated ISO }), loaded at +// boot, so posts ship with a deploy and are versioned in git. A post with publishedAt in the future stays hidden until then. +'use strict'; +const fs = require('fs'); +const path = require('path'); +const { SITE, esc, head, tail } = require('./layout'); +const AUTHOR = 'Marty Bostick'; +const PER_PAGE = 9; +const DIR = path.join(__dirname, 'content', 'blog'); + +const slugify = s => String(s || '').toLowerCase().replace(/['’]/g, '').replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '').slice(0, 80); +const words = html => String(html || '').replace(/<[^>]+>/g, ' ').replace(/\s+/g, ' ').trim(); +const readMinutes = html => Math.max(1, Math.round(words(html).split(' ').length / 220)); +const fmtDate = ts => new Date(ts).toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric', timeZone: 'America/Chicago' }); + +function sanitize(html) { + const src = String(html || '').replace(/ /g, ' ').replace(/<(script|style|iframe|object|embed|form)\b[\s\S]*?<\/\1\s*>/gi, '').replace(/<(script|style|iframe|object|embed|form|input)\b[^>]*>/gi, '').replace(//g, '').replace(/\son[a-z]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi, ''); + const ALLOW = new Set(['p', 'br', 'hr', 'h2', 'h3', 'h4', 'ul', 'ol', 'li', 'b', 'strong', 'i', 'em', 'u', 'a', 'img', 'blockquote', 'pre', 'code', 'figure', 'figcaption', 'table', 'thead', 'tbody', 'tr', 'th', 'td']); + const safeSrc = s => /^(\/img\/[a-z0-9._-]+\.(png|jpg|webp|gif)|https:\/\/[^\s"'<>]+)$/i.test(s); + return src.replace(/<\s*(\/?)\s*([a-zA-Z0-9]+)((?:[^>"']|"[^"]*"|'[^']*')*)>/g, (m, close, tag, attrs) => { + tag = tag.toLowerCase(); + if (!ALLOW.has(tag)) return ''; + if (close) return ''; + if (tag === 'a') { + const hm = /href\s*=\s*(?:"([^"]*)"|'([^']*)')/i.exec(attrs || ''); const href = (hm && (hm[1] || hm[2])) || ''; + if (!/^(https?:\/\/|\/)[^\s"'<>]*$/i.test(href)) return ''; + const internal = href.startsWith('/') || href.startsWith(SITE); + return ''; + } + if (tag === 'img') { + const sm = /src\s*=\s*(?:"([^"]*)"|'([^']*)')/i.exec(attrs || ''); const s = (sm && (sm[1] || sm[2])) || ''; + const am = /alt\s*=\s*(?:"([^"]*)"|'([^']*)')/i.exec(attrs || ''); const alt = (am && (am[1] || am[2])) || ''; + return safeSrc(s) ? '' + esc(alt) + '' : ''; + } + return '<' + tag + '>'; + }); +} + +let POSTS = []; +function load() { + const out = []; + let files = []; try { files = fs.readdirSync(DIR).filter(f => f.endsWith('.json')); } catch (e) {} + for (const f of files) { + try { + const r = JSON.parse(fs.readFileSync(path.join(DIR, f), 'utf8')); + const slug = slugify(r.slug || r.title); if (!slug || !r.title) continue; + const body = sanitize(r.body); + const pub = Date.parse(r.publishedAt) || 0; + out.push({ slug, title: String(r.title).slice(0, 140), seoTitle: r.seoTitle || '', excerpt: String(r.excerpt || words(body).slice(0, 200)).slice(0, 300), body, cover: r.cover || '', coverAlt: r.coverAlt || r.title, + tags: (r.tags || []).map(t => String(t).toLowerCase()).slice(0, 8), publishedAt: pub, created: pub, updated: Date.parse(r.updated) || pub, faq: Array.isArray(r.faq) ? r.faq : [] }); + } catch (e) { console.error('[blog] bad post file', f, e.message); } + } + POSTS = out.sort((a, b) => b.publishedAt - a.publishedAt); + return POSTS.length; +} +const listPublished = () => POSTS.filter(p => p.publishedAt && p.publishedAt <= Date.now()); +const get = slug => listPublished().find(p => p.slug === slugify(slug)) || null; + +const cardHtml = p => '' + (p.cover ? '' + esc(p.coverAlt) + '' : '') + + '

' + esc(p.title) + '

' + esc(p.excerpt) + '

' + fmtDate(p.publishedAt) + ' · ' + readMinutes(p.body) + ' min read

'; + +function renderIndex(page, tag) { + const all = tag ? listPublished().filter(p => p.tags.includes(tag)) : listPublished(); + const pages = Math.max(1, Math.ceil(all.length / PER_PAGE)); page = Math.min(Math.max(1, page || 1), pages); + const slice = all.slice((page - 1) * PER_PAGE, page * PER_PAGE); + const title = (tag ? tag + ' · ' : '') + 'Stack POL Blog: Earning POL Across the Network' + (page > 1 ? ' (page ' + page + ')' : ''); + const desc = 'Guides to every program that pays POL in the network, weekly payout recaps from the public ledger, and Polygon basics for earners.'; + const p = tag ? '/blog/tag/' + encodeURIComponent(tag) : '/blog' + (page > 1 ? '/page/' + page : ''); + 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.

'; + if (pages > 1) h += '
' + (page > 1 ? '← Newer' : '') + (page < pages ? 'Older →' : '') + '
'; + return h + tail(); +} +function related(p) { + return listPublished().filter(x => x.slug !== p.slug).map(x => ({ x, s: x.tags.filter(t => p.tags.includes(t)).length })).sort((a, b) => b.s - a.s || b.x.publishedAt - a.x.publishedAt).slice(0, 3).map(r => r.x); +} +function renderPost(p) { + const url = SITE + '/blog/' + p.slug; + const ld = [{ '@context': 'https://schema.org', '@type': 'BlogPosting', headline: p.title, description: p.excerpt, image: p.cover ? (p.cover.startsWith('http') ? p.cover : SITE + p.cover) : SITE + '/og-stackpol-1200x630.jpg', + datePublished: new Date(p.publishedAt).toISOString(), dateModified: new Date(p.updated).toISOString(), wordCount: words(p.body).split(' ').length, keywords: p.tags.join(', '), + author: { '@type': 'Person', name: AUTHOR, url: SITE + '/blog' }, publisher: { '@type': 'Organization', name: 'Stack POL', url: SITE, logo: { '@type': 'ImageObject', url: SITE + '/apple-touch-icon.png' } }, mainEntityOfPage: { '@type': 'WebPage', '@id': url } }, + { '@context': 'https://schema.org', '@type': 'BreadcrumbList', itemListElement: [{ '@type': 'ListItem', position: 1, name: 'Stack POL', item: SITE + '/' }, { '@type': 'ListItem', position: 2, name: 'Blog', item: SITE + '/blog' }, { '@type': 'ListItem', position: 3, name: p.title, item: url }] }]; + if (p.faq.length) ld.push({ '@context': 'https://schema.org', '@type': 'FAQPage', mainEntity: p.faq.map(q => ({ '@type': 'Question', name: q.q, acceptedAnswer: { '@type': 'Answer', text: q.a } })) }); + let h = head({ title: (p.seoTitle || p.title) + ' | Stack POL', ogTitle: p.title, desc: p.excerpt, path: '/blog/' + p.slug, image: p.cover, imageAlt: p.coverAlt, type: 'article', article: p, nav: '/blog', jsonld: ld }); + h += '

Stack POL / Blog' + (p.tags[0] ? ' / ' + esc(p.tags[0]) + '' : '') + '

'; + h += '

' + esc(p.title) + '

By ' + AUTHOR + ' · ' + fmtDate(p.publishedAt) + (p.updated > p.publishedAt + 864e5 ? ' · updated ' + fmtDate(p.updated) : '') + ' · ' + readMinutes(p.body) + ' min read

'; + 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 += '
'; + if (p.tags.length) h += '

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

'; + h += ''; + 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.
'; + const rel = related(p); if (rel.length) h += '

Keep reading

' + rel.map(cardHtml).join('') + '
'; + h += '

Stack POL shows payouts from programs in the network. Nothing here is investment advice, no income is guaranteed, and cryptocurrency involves risk of loss.

'; + return h + tail(); +} +function rss() { + const items = listPublished().slice(0, 30).map(p => '' + esc(p.title) + '' + SITE + '/blog/' + p.slug + '' + SITE + '/blog/' + p.slug + '' + new Date(p.publishedAt).toUTCString() + '' + esc(p.excerpt) + '').join(''); + return 'Stack POL Blog' + SITE + '/blogGuides to every program that pays POL in the network, payout recaps and Polygon basics.en-us' + items + ''; +} +module.exports = { load, listPublished, get, renderIndex, renderPost, rss, cardHtml, fmtDate, readMinutes }; diff --git a/content/blog/games-that-pay-pol-on-polygon.json b/content/blog/games-that-pay-pol-on-polygon.json new file mode 100644 index 0000000..65c55f0 --- /dev/null +++ b/content/blog/games-that-pay-pol-on-polygon.json @@ -0,0 +1,34 @@ +{ + "slug": "games-that-pay-pol-on-polygon", + "title": "Games That Pay POL on Polygon: Every Game in the Network, Compared", + "seoTitle": "Games That Pay POL on Polygon (2026): 10 Games Compared", + "excerpt": "Ten browser games in the network pay POL straight to your wallet. Here is what each one is, how it pays, and what it has paid so far, all checkable on Polygonscan.", + "cover": "/img/gk.jpg", + "coverAlt": "Gem Kingdom, one of the games that pay POL", + "tags": [ + "games", + "play to earn", + "polygon", + "gem-kingdom", + "polhunter", + "spellwheel", + "clutterhunt" + ], + "publishedAt": "2026-11-09T14:10:00-06:00", + "updated": "2026-11-09T14:10:00-06:00", + "body": "

\"Play to earn\" has a reputation problem. Too many games promised big rewards and paid in tokens nobody could sell. The games in this network take a plainer approach: they pay small amounts of POL, the native token of Polygon, straight to your wallet, and every payment is a public transaction you can check.

\n

Below is every game in the network that pays POL, with what each has paid so far according to the Stack POL ledger on November 9, 2026. All of them run in a browser, and all of them are free to play.

\n

The games, side by side

\n\n\n\n\n\n\n\n\n\n\n\n
GameTypePOL paid so farPayments
PolHunterScavenger hunt652.514,859
Gem KingdomFantasy match-3379.04686
SpellWheelWord game50.58134
ClutterHuntHidden objects33.70305
PolyWarriorsCyberpunk fighting16.6650
POL MinerMining adventure14.3348
Drip RunnerArcade runner11.28153
Turkey DropSeasonal arcade6.9133
PolyBreakBrick breaker6.2848
Road AgentHighway shooter4.6948
\n

Some games have been live much longer than others, so the totals say more about age and player count than about how generous a game is. Turkey Drop, for example, only opened on November 2.

\n

A quick look at each one

\n

PolHunter

Hunt hidden codes on sites across the network. Every find drips POL straight to your wallet. It is the busiest program on the ledger by far, with thousands of small payments.

\n

Gem Kingdom

Match gems to battle monsters with three heroes, earn stars and rebuild your village. First clears and boss wins pay POL.

\n

SpellWheel

Swipe the letter wheel to fill the crossword, travel through six cozy places, and solve a new daily puzzle with everyone. Clear levels and chapters to earn POL.

\n

ClutterHunt

Search cozy, cluttered rooms for hidden objects. New rooms arrive every season, starting with the Haunted Manor.

\n

PolyWarriors

Turn-based fights with collectible low-poly warriors. Recruit fighters born with rare traits, climb the arena and challenge other members.

\n

POL Miner

Dig down through the layers, haul ore to sell, upgrade your pick, lamp and cart, and beat a drill boss every 30 m. Rare pink Polygon crystals pay POL.

\n

Drip Runner

Hop the network, dodge the bots and clear chapters. Each first clear drips POL into your game balance.

\n

Turkey Drop

A Thanksgiving game that runs November 2 to 30. Catch the turkeys the radio station helicopter drops over the mall. Score milestones pay POL the first time you reach them, and the weekly top 3 win a POL prize.

\n

PolyBreak

Break walls of glass jewel bricks with the classic arcade capsules and catch the purple Polygon gem when it falls. First clears of each round pay POL.

\n

Road Agent

Drive the night highway, shoot the hostiles that hunt you and spare the civilians. Every sector you clear for the first time pays POL.

\n

How to start

\n

Every game uses your InstantAdPay account to sign in, so one free account covers all of them. Link a Polygon wallet and your rewards go straight to it. Pick a game from the programs page and press play.

\n

Game rewards are small and depend on how you play. No income is promised, and cryptocurrency involves risk.

", + "faq": [ + { + "q": "Do these games cost anything to play?", + "a": "No. All of them are free to play in a browser. Some offer an optional Game Pass, but you can start without paying." + }, + { + "q": "How are the rewards paid?", + "a": "In POL on the Polygon network, sent from each game's own payout wallet straight to the wallet linked to your account. Every payment is a public transaction." + }, + { + "q": "Which game pays the most?", + "a": "PolHunter and Gem Kingdom have paid the most so far, but they have also been live the longest. Totals reflect how long a game has run and how many people play it." + } + ] +} \ No newline at end of file diff --git a/content/blog/how-to-check-a-payout-on-polygonscan.json b/content/blog/how-to-check-a-payout-on-polygonscan.json new file mode 100644 index 0000000..6804f04 --- /dev/null +++ b/content/blog/how-to-check-a-payout-on-polygonscan.json @@ -0,0 +1,27 @@ +{ + "slug": "how-to-check-a-payout-on-polygonscan", + "title": "How to Check Any Payout on Polygonscan in 30 Seconds", + "seoTitle": "How to Check a POL Payout on Polygonscan (Step by Step)", + "excerpt": "Every payout on Stack POL links to Polygonscan. Here is how to read a transaction page: who sent it, who received it, how much, and when.", + "cover": "/og-stackpol-1200x630.jpg", + "coverAlt": "Checking a POL payout on Polygonscan", + "tags": [ + "polygonscan", + "polygon", + "payouts", + "beginners" + ], + "publishedAt": "2026-11-09T14:20:00-06:00", + "updated": "2026-11-09T14:20:00-06:00", + "body": "

\"Paid\" means very little until you can see it. On Polygon you can, and it takes about 30 seconds. Every row on the Stack POL ledger ends with a link to its transaction on Polygonscan, the public explorer for the Polygon network. Here is how to read what you find there.

\n

Step 1: open the transaction

\n

Click the transaction link on any ledger row. It opens a page on polygonscan.com titled Transaction Details. The long code at the top, starting with 0x, is the transaction hash: a unique fingerprint for that one payment.

\n

Step 2: check the status

\n

Look for Status. \"Success\" means the payment went through and is final. Polygon transactions confirm in seconds, so anything on the ledger is already settled.

\n

Step 3: who paid whom

\n
  • From is the wallet that sent the payment. For a game reward, that is the game's own payout wallet. For an InstantAdPay or LinkSpin referral payment, it is the buyer interacting with the smart contract.
  • \n
  • To is either the receiving wallet (game rewards) or the smart contract (package purchases).
  • \n
  • Internal transactions or transfers: on a package purchase, the contract splits the money in the same transaction and you will see each payment to each wallet listed here. That is what \"paid in the same transaction\" looks like on the chain.
\n

Step 4: amount and time

\n

Value shows the POL amount. Timestamp shows when it happened, in UTC; Stack POL shows the same time in US Central. If the numbers on Stack POL and Polygonscan ever disagree, the chain is right and we want to know.

\n

Step 5: check your own wallet

\n

Paste your own wallet address into the search box at the top of Polygonscan. You will see every transaction your wallet has ever made or received. If your wallet is linked to your account, that list and your Stack POL page should tell the same story.

\n

Why this matters

\n

Most platforms ask you to trust a number on a dashboard. The programs in this network chose to pay on a public chain so you do not have to. Stack POL just puts all those public payments in one place.

", + "faq": [ + { + "q": "Is Polygonscan safe to use?", + "a": "Yes. It is a read-only explorer. You never need to connect a wallet or sign anything to look up a transaction." + }, + { + "q": "Why does the time look different?", + "a": "Polygonscan shows UTC. Stack POL shows US Central time, which is 6 hours behind UTC in winter and 5 in summer." + } + ] +} \ No newline at end of file diff --git a/content/blog/network-payout-recap-november-2-8-2026.json b/content/blog/network-payout-recap-november-2-8-2026.json new file mode 100644 index 0000000..033492d --- /dev/null +++ b/content/blog/network-payout-recap-november-2-8-2026.json @@ -0,0 +1,16 @@ +{ + "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", + "excerpt": "The network paid 1,728.60 POL in 521 payments to 52 wallets from November 2 to 8. Here is how it split across InstantAdPay, LinkSpin, PolHunter and the games.", + "cover": "/og-stackpol-1200x630.jpg", + "coverAlt": "Stack POL weekly payout recap", + "tags": [ + "payout recap", + "payouts", + "polygon" + ], + "publishedAt": "2026-11-09T14:05:00-06:00", + "updated": "2026-11-09T14:05:00-06:00", + "body": "

Every Monday Stack POL looks back at the week before: how much POL the network paid, to how many wallets, and from which programs. These numbers come straight from the payout records and the chain, the same data behind the live ledger.

\n

The week at a glance

\n

From Monday, November 2 to Sunday, November 8 (US Central time), the network paid 1,728.60 POL in 521 payments to 52 different wallets. The week before, October 26 to November 1, came to 2,138.31 POL in 928 payments, so this was a quieter week overall.

\n

Where it came from

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ProgramPOL paidPaymentsWallets
InstantAdPay1,463.03269
LinkSpin200.1422
PolHunter45.4533738
Turkey Drop4.913018
Gem Kingdom3.51286
SpellWheel2.5675
PolyWarriors2.22113
Drip Runner2.00309
Road Agent1.58175
ClutterHunt1.15205
PolyBreak1.0393
POL Miner1.0244
\n

What stands out

\n
  • Two kinds of payouts. InstantAdPay and LinkSpin pay fewer, larger amounts: they are referral payments that the smart contract sends up the sponsor line when an ad package sells. The games pay many small amounts for things players do.
  • \n
  • PolHunter is the busiest program. 337 payments in one week, to 38 different wallets. Its drips are small and frequent, one for each hidden code a hunter finds.
  • \n
  • Turkey Drop's first week. The Thanksgiving game opened November 2 and paid 30 times to 18 players, including its first weekly top-3 prizes.
\n

Check it yourself

\n

Every one of these payments is a public Polygon transaction. Open the ledger, pick any row and follow the link to Polygonscan to see the sender, the receiving wallet, the amount and the time. Our guide to checking a payout on Polygonscan walks through it.

\n

These are network-wide totals, not a promise of what any one member will earn. Cryptocurrency involves risk.

" +} \ No newline at end of file diff --git a/content/blog/paid-in-the-same-transaction-instantadpay-linkspin.json b/content/blog/paid-in-the-same-transaction-instantadpay-linkspin.json new file mode 100644 index 0000000..cd3fafe --- /dev/null +++ b/content/blog/paid-in-the-same-transaction-instantadpay-linkspin.json @@ -0,0 +1,27 @@ +{ + "slug": "paid-in-the-same-transaction-instantadpay-linkspin", + "title": "Paid in the Same Transaction: How InstantAdPay and LinkSpin Pay the Sponsor Line", + "seoTitle": "Paid in the Same Transaction: How InstantAdPay and LinkSpin Pay", + "excerpt": "When an ad package sells on InstantAdPay or LinkSpin, the smart contract pays the sponsor line in that same transaction. Nothing is held. Here is how it works and how to see it.", + "cover": "/img/iap.jpg", + "coverAlt": "InstantAdPay pays on-chain, instantly", + "tags": [ + "instantadpay", + "linkspin", + "smart contract", + "payouts" + ], + "publishedAt": "2026-11-09T14:25:00-06:00", + "updated": "2026-11-09T14:25:00-06:00", + "body": "

The two biggest numbers on Stack POL come from InstantAdPay and LinkSpin. On November 9, 2026, InstantAdPay had paid 32,266 POL in 474 payments and LinkSpin 4,221 POL in 44 payments. Those payments work differently from game rewards, and the difference is worth understanding.

\n

What is being sold

\n

Both platforms sell advertising. A member buys an ad package, and the package buys ad delivery across the network: text ads, banners, visits and more. The ad credits are spent on advertising. They are not an investment and they do not pay income by themselves.

\n

Where the money goes, in the same transaction

\n

When a package sells, the payment goes into the platform's smart contract on Polygon. In that same transaction, the contract pays the buyer's sponsor line: the member who invited the buyer, and the levels above them. On InstantAdPay the direct sponsor receives 50%, the second level 20% and the third level 10%. Nothing waits in a company account and nobody presses a payout button. If the purchase happens, the payments happen with it.

\n

That is why these two programs show fewer, larger payments than the games. Each one is a share of a real package sale.

\n

How to see it on the chain

\n

Open any InstantAdPay or LinkSpin row on the ledger and follow it to Polygonscan. The transaction shows the purchase going into the contract and, inside the same transaction, the transfers out to each wallet in the sponsor line. Our guide to reading a transaction points out where to look.

\n

What this does not mean

\n

Payments only happen when real packages sell. A sponsor line with no purchases pays nothing. The totals on Stack POL are the whole network added together, and most of it went to members who built active lines over time. It is a record of what happened, not a forecast.

\n

Getting started

\n

Joining either platform is free. If you advertise, point your ads at a LinkSpin spin link so you can see which page turns clicks into sign-ups, and link a Polygon wallet so any payment reaches you directly.

\n

Ad credits buy advertising, not income. No income is promised, and cryptocurrency involves risk.

", + "faq": [ + { + "q": "Does InstantAdPay hold my money before paying it?", + "a": "No. The smart contract pays the sponsor line in the same transaction as the purchase. Nothing is held by the company." + }, + { + "q": "Do I have to buy a package to join?", + "a": "No. Joining is free and starts with your email. Packages are for advertising." + } + ] +} \ No newline at end of file diff --git a/content/blog/what-is-pol-polygon-guide-for-earners.json b/content/blog/what-is-pol-polygon-guide-for-earners.json new file mode 100644 index 0000000..bc73d21 --- /dev/null +++ b/content/blog/what-is-pol-polygon-guide-for-earners.json @@ -0,0 +1,31 @@ +{ + "slug": "what-is-pol-polygon-guide-for-earners", + "title": "What Is POL (Formerly MATIC)? A Plain Guide for Earners", + "seoTitle": "What Is POL (Formerly MATIC)? A Plain Guide for Earners", + "excerpt": "POL is the native token of the Polygon network, formerly MATIC. Here is what it is, why small payouts work on it, which wallets hold it, and how to move it.", + "cover": "/og-stackpol-1200x630.jpg", + "coverAlt": "What is POL on Polygon", + "tags": [ + "polygon", + "pol", + "wallets", + "beginners" + ], + "publishedAt": "2026-11-09T14:15:00-06:00", + "updated": "2026-11-09T14:15:00-06:00", + "body": "

Every payout on Stack POL is in POL. If you are new to crypto, that raises a fair question: what exactly are you being paid in? Here is the plain version, written for people who earn POL rather than trade it.

\n

Polygon and POL in one paragraph

\n

Polygon is a blockchain network that runs alongside Ethereum. It started in 2017 under the name Matic Network, built to make transactions faster and cheaper than on Ethereum itself. The network went live in 2020, rebranded to Polygon in 2021, and in 2024 its token changed from MATIC to POL. Same network, new name. When you see older guides mention MATIC, they mean the token that is now POL.

\n

Why small payouts work on Polygon

\n

On many blockchains, sending a small amount costs more in fees than the amount itself. On Polygon, a transfer usually costs a fraction of a cent and confirms in a few seconds. That is what makes it practical for a game to send you a reward of a few cents, or for an ad platform to pay four levels of a sponsor line in one transaction.

\n

Which wallet holds POL?

\n

Any wallet that supports the Polygon network can hold POL. Common choices include MetaMask, Trust Wallet and SafePal. Add or switch on the Polygon network in the wallet, copy your address (it starts with 0x), and paste it into your account. That one address receives payouts from every program on Stack POL.

\n
  • Keep your recovery phrase offline. Nobody from any program will ever ask for it.
  • \n
  • Use the same address everywhere. Your Stack POL page adds up payouts by wallet, so one address keeps your stack in one place.
  • \n
  • Keep a little POL for fees. Moving POL out of your wallet costs a tiny fee, paid in POL.
\n

What can you do with POL?

\n

You can hold it, send it to another wallet, or exchange it for another currency on a major exchange that lists POL. Inside the network, you can also use it to buy advertising on InstantAdPay. Prices move every day, so the dollar value of the same POL changes over time.

\n

Checking that you were paid

\n

Because Polygon is public, every payout can be looked up. Paste your wallet address into Polygonscan and you will see every transaction in and out. Our step-by-step guide on checking a payout shows exactly where to look.

\n

This is general information, not investment advice. Cryptocurrency prices go up and down, and you can lose money.

", + "faq": [ + { + "q": "Is POL the same as MATIC?", + "a": "Yes, in practice. MATIC was the original token of the Polygon network; in 2024 it became POL. The network and how you use it stayed the same." + }, + { + "q": "Do I need to buy POL to earn it?", + "a": "No. The games pay POL to the wallet on your account. You only need a small amount of POL if you want to send it somewhere else, to cover the transfer fee." + }, + { + "q": "What network do I pick in my wallet?", + "a": "Polygon (sometimes listed as Polygon PoS or Polygon Mainnet, chain ID 137)." + } + ] +} \ No newline at end of file diff --git a/content/blog/what-is-stack-pol.json b/content/blog/what-is-stack-pol.json new file mode 100644 index 0000000..31123fa --- /dev/null +++ b/content/blog/what-is-stack-pol.json @@ -0,0 +1,30 @@ +{ + "slug": "what-is-stack-pol", + "title": "What Is Stack POL? Every POL Payout in the Network, in One Place", + "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", + "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
  • The network total. 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.
  • \n
  • One card per program. InstantAdPay, LinkSpin and every game that pays POL, each with its own total and number of payments.
  • \n
  • The public ledger. The latest 300 payouts, newest first, each with a link to Polygonscan.
  • \n
  • Member stacks. A member who switches it on gets their own page at stackpol.com/their-username, showing their own total and where it came from.
\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.

", + "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\"." + } + ] +} \ No newline at end of file diff --git a/layout.js b/layout.js new file mode 100644 index 0000000..f344d26 --- /dev/null +++ b/layout.js @@ -0,0 +1,122 @@ +// Shared page shell for every Stack POL page (2026-11-09): full SEO head (title, description, canonical, robots, Open Graph, +// Twitter card, RSS link, JSON-LD slots) and the site's own look (Polygon violet + coin gold on deep night, one dark theme on +// purpose, matching the hero video). Server-rendered so crawlers read real HTML. +'use strict'; +const SITE = (process.env.SITE_URL || 'https://stackpol.com').replace(/\/+$/, ''); +const esc = s => String(s == null ? '' : s).replace(/[&<>"]/g, c => ({ '&': '&', '<': '<', '>': '>', '"': '"' }[c])); +const V = '20261109a'; +const OG = '/og-stackpol-1200x630.jpg'; + +const CSS = ` +:root{color-scheme:dark;--ground:#0a0715;--panel:#130c24;--panel-2:#1b1232;--line:rgba(183,148,255,.18);--ink:#f3efff;--muted:#a8a0c6;--violet:#8247e5;--violet-hi:#b794ff;--gold:#ffc24b;--gold-d:#b9781a;--ok:#4ade80; +--display:"Sora","Segoe UI",system-ui,sans-serif;--body:"Manrope",system-ui,sans-serif;--mono:"JetBrains Mono",ui-monospace,Consolas,monospace} +*{box-sizing:border-box}html{scroll-padding-top:env(safe-area-inset-top,0px)} +body{margin:0;background:var(--ground);color:var(--ink);font:15px/1.6 var(--body);padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:0 56px; +background-image:radial-gradient(ellipse 60% 38% at 78% 4%,rgba(130,71,229,.30),transparent 70%),radial-gradient(ellipse 50% 30% at 10% 0%,rgba(255,194,75,.08),transparent 70%)} +.wrap{max-width:1180px;margin:0 auto}a{color:var(--violet-hi)}img{max-width:100%} +header.bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-block:18px 4px;flex-wrap:wrap} +.logo{display:flex;gap:10px;align-items:center;font:800 19px var(--display);letter-spacing:-.01em;color:var(--ink);text-decoration:none}.logo svg{width:30px;height:30px} +nav.top{display:flex;gap:18px;flex-wrap:wrap;font:600 14px var(--body)}nav.top a{color:var(--muted);text-decoration:none}nav.top a:hover,nav.top a[aria-current]{color:var(--ink)} +.live{font-size:12.5px;color:var(--muted);display:flex;gap:8px;align-items:center}.dot{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 4px rgba(74,222,128,.15);flex:none} +h1{font:800 clamp(34px,5.4vw,58px)/1.06 var(--display);letter-spacing:-.03em;margin:8px 0 14px;text-wrap:balance} +h2{font:800 clamp(22px,3vw,30px) var(--display);letter-spacing:-.015em;margin:0;text-wrap:balance} +.kick{margin:22px 0 0;font:700 13px var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--violet-hi)} +.lead{font-size:18px;color:var(--muted);max-width:60ch;margin:0 0 6px} +.hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:40px;align-items:center;padding-block:26px 6px} +@media (max-width:880px){.hero{grid-template-columns:1fr;gap:24px}} +.total{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:4px 0 2px} +.total .n{font:800 clamp(50px,8vw,88px)/1 var(--display);letter-spacing:-.035em;color:var(--gold);text-shadow:0 0 46px rgba(255,194,75,.28);font-variant-numeric:tabular-nums}.total .u{font:800 26px var(--display);color:var(--gold)} +.verify{display:inline-flex;gap:7px;align-items:center;font-size:13.5px;color:var(--ok);margin:2px 0 16px} +.stats{display:flex;gap:26px;flex-wrap:wrap;margin:6px 0 14px}.stats div b{display:block;font:800 22px var(--display);font-variant-numeric:tabular-nums}.stats div span{color:var(--muted);font-size:13px} +.stackbar{display:flex;height:16px;border-radius:999px;overflow:hidden;background:var(--panel-2);gap:2px}.stackbar i{display:block;height:100%;background:var(--c);min-width:3px} +.keys{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px;font-size:12.5px;color:var(--muted)}.keys span{display:inline-flex;gap:6px;align-items:center}.keys i{width:9px;height:9px;border-radius:3px;background:var(--c)}.keys b{color:var(--ink);font-weight:700;font-variant-numeric:tabular-nums} +.cta{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:22px} +.btn{font:800 17px var(--display);color:#160b02;background:var(--gold);border-radius:14px;padding:15px 26px;text-decoration:none;box-shadow:0 6px 0 var(--gold-d),0 14px 30px rgba(255,194,75,.18);display:inline-block} +.btn.sec{background:transparent;color:var(--ink);box-shadow:none;border:1px solid var(--line);padding:13px 22px} +.btn:focus-visible,a:focus-visible{outline:3px solid var(--violet-hi);outline-offset:3px} +.fine{font-size:12.5px;color:var(--muted);max-width:34ch;line-height:1.45} +.vid .frame{border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:0 30px 70px rgba(0,0,0,.5),0 0 0 6px rgba(130,71,229,.10);background:#000;aspect-ratio:16/9;max-width:100%;position:relative} +.vid video{width:100%;height:100%;display:block;object-fit:cover} +.snd{position:absolute;right:12px;bottom:12px;font:600 12px var(--body);color:#fff;background:rgba(10,7,21,.72);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:6px 12px;cursor:pointer} +.trust{margin-top:14px;display:flex;gap:12px;align-items:flex-start;font-size:13.5px;color:var(--muted)}.trust b{color:var(--ink)} +.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:52px 0 16px}.sec-head p{margin:0;color:var(--muted);font-size:14px} +.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}@media (max-width:960px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.cards{grid-template-columns:1fr}} +.card{background:var(--panel);border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;transition:transform .18s ease,border-color .18s ease} +.card:hover{transform:translateY(-3px);border-color:rgba(183,148,255,.4)} +.card .img{position:relative;aspect-ratio:800/420;background:#000}.card .img img{width:100%;height:100%;object-fit:cover;display:block}.bl .cover{height:auto} +.card .body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:1} +.card .head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px} +.card .nm{display:flex;gap:8px;align-items:center;font:700 17px var(--display)}.card .nm a{color:var(--ink);text-decoration:none}.card .nm i{width:10px;height:10px;border-radius:3px;background:var(--c)} +.card .kind{font-size:12px;color:var(--muted)} +.card .earned{text-align:right;flex:none}.card .earned b{display:block;font:800 21px/1.05 var(--display);color:var(--gold);font-variant-numeric:tabular-nums}.card .earned b small{font-size:12px;margin-left:3px}.card .earned span{font-size:11.5px;color:var(--muted)} +.card p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.5} +.card a.join{margin-top:auto;padding-top:10px;text-decoration:none}.card a.join span{display:block;text-align:center;font:700 14px var(--body);color:#120a1f;background:var(--c);border-radius:11px;padding:10px} +.feature{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);background:var(--panel);border:1px solid rgba(251,146,60,.45);border-radius:20px;overflow:hidden;margin-bottom:18px;box-shadow:0 0 0 6px rgba(251,146,60,.07)} +@media (max-width:760px){.feature{grid-template-columns:1fr}}.feature img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:800/420} +.feature .fb{padding:22px 24px;display:flex;flex-direction:column;gap:10px;justify-content:center} +.feature .ftag{align-self:flex-start;font:700 11px var(--body);letter-spacing:.1em;text-transform:uppercase;color:#2b0418;background:#fb923c;padding:5px 10px;border-radius:7px} +.feature h3{margin:0;font:800 26px var(--display)}.feature p{margin:0;color:var(--muted)}.feature .ends{font:700 13px var(--body);color:#fb923c} +.feature a.go{align-self:flex-start;text-decoration:none;font:800 15px var(--display);color:#2b0418;background:#fb923c;border-radius:12px;padding:11px 18px} +.ltools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:12px} +.chip{font:600 13px var(--body);color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:999px;padding:6px 14px;text-decoration:none}.chip[aria-current]{background:var(--violet);border-color:var(--violet)} +.tbl{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel)} +table{border-collapse:collapse;width:100%;min-width:640px;font-size:14px}th{text-align:left;font:700 11px var(--body);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding:11px 16px;border-bottom:1px solid var(--line)} +td{padding:9px 16px;border-bottom:1px solid rgba(183,148,255,.07);font-variant-numeric:tabular-nums;vertical-align:middle}tr:last-child td{border-bottom:0} +td.pg{font-weight:700}td.pg i{display:inline-block;width:9px;height:9px;border-radius:3px;background:var(--c);margin-right:8px} +td.amt{font:700 15px var(--display);color:var(--gold);text-align:right}th.r{text-align:right}td.tx{font:500 12.5px var(--mono);color:var(--muted);white-space:nowrap}td.who{color:var(--muted)} +@media (max-width:640px){.tbl{overflow:visible}table{min-width:0}thead{display:none}tbody tr{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:12px 14px;border-bottom:1px solid rgba(183,148,255,.1)}tbody td{padding:0;border:0}td.amt{grid-row:1/span 2;grid-column:2;align-self:center}td.when,td.tx,td.who{font-size:12px}} +.faq details{border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:14px 18px;margin:0 0 10px}.faq summary{cursor:pointer;font:700 16px var(--display)}.faq p{color:var(--muted);margin:10px 0 0;max-width:72ch} +.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}@media (max-width:900px){.posts{grid-template-columns:1fr}} +.post-card{display:block;background:var(--panel);border:1px solid var(--line);border-radius:16px;overflow:hidden;color:inherit;text-decoration:none}.post-card:hover{border-color:rgba(183,148,255,.45)} +.post-card img{width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;display:block}.post-card .pc{padding:14px 16px 16px}.post-card h3{font:700 18px/1.3 var(--display);margin:0 0 6px}.post-card p{margin:0;color:var(--muted);font-size:14px}.post-card .meta{margin-top:8px;font-size:12.5px;color:var(--muted)} +.bl{max-width:760px;margin:0 auto}.bl h1{font-size:clamp(30px,4.6vw,46px)}.bl .meta{color:var(--muted);font-size:14px;margin:0 0 22px}.bl .cover{width:100%;border-radius:16px;border:1px solid var(--line);margin:0 0 26px;display:block} +.bl article{font-size:17.5px;line-height:1.72}.bl article p{margin:0 0 18px;max-width:68ch}.bl article h2{font-size:26px;margin:36px 0 12px}.bl article h3{font-size:20px;margin:28px 0 10px;font-family:var(--display)} +.bl article ul,.bl article ol{margin:0 0 18px 22px;max-width:66ch}.bl article li{margin:6px 0}.bl article blockquote{border-left:4px solid var(--gold);margin:0 0 18px;padding:8px 18px;color:var(--muted);font-style:italic} +.bl article img{border-radius:12px;border:1px solid var(--line)}.bl article table{min-width:0;font-size:15px}.bl article th,.bl article td{border-bottom:1px solid var(--line);padding:8px 10px} +.tags a{display:inline-block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--violet-hi);border:1px solid var(--line);border-radius:999px;padding:3px 10px;margin:0 6px 6px 0;text-decoration:none} +.author{display:flex;gap:14px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:36px 0 0;background:var(--panel)}.author .av{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,var(--violet),var(--violet-hi));display:grid;place-items:center;font:800 20px var(--display);flex:none}.author b{display:block}.author span{color:var(--muted);font-size:14px} +.share a{margin-right:14px;font-size:14px}.pager{display:flex;justify-content:space-between;margin:26px 0} +footer.site{margin-top:64px;border-top:1px solid var(--line);padding-top:22px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;font-size:13.5px;color:var(--muted)} +footer.site b{display:block;color:var(--ink);font:700 14px var(--display);margin-bottom:6px}footer.site a{color:var(--muted);text-decoration:none;display:block;margin:3px 0}footer.site a:hover{color:var(--ink)} +.disc{font-size:12.5px;color:var(--muted);margin-top:22px;max-width:90ch} +.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)} +@media (prefers-reduced-motion:reduce){.card,.btn{transition:none}.card:hover{transform:none}} +`; + +const LOGO = ''; + +// o: { title, desc, path, image, type ('website'|'article'|'profile'), article, noindex, jsonld: [objects], nav } +function head(o) { + const url = SITE + (o.path || '/'); + const img = o.image ? (/^https?:/.test(o.image) ? o.image : SITE + o.image) : SITE + OG; + const a = o.article; + return '' + + '' + esc(o.title) + '' + + '' + + '' + + '' + + '' + + (a ? '' + (a.tags || []).map(t => '').join('') : '') + + '' + + '' + + '' + + '' + + '' + + '' + + (o.jsonld || []).map(j => '').join('') + + '
' + + '
' + + '
'; +} +function tail(extra) { + const year = new Date().getFullYear(); + return '
Stack POLEvery POL payout across the network, stacked in one place and checkable on Polygon.
' + + '' + + '' + + '
Honest numbersTotals 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.
' + + '

© ' + 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 || '') + ''; +} +module.exports = { SITE, esc, head, tail, OG, V }; diff --git a/mockup/hero-small.mp4 b/mockup/hero-small.mp4 new file mode 100644 index 0000000..459c27f Binary files /dev/null and b/mockup/hero-small.mp4 differ diff --git a/mockup/hero.mp4 b/mockup/hero.mp4 new file mode 100644 index 0000000..5c33808 Binary files /dev/null and b/mockup/hero.mp4 differ diff --git a/mockup/og/compose-pd.mjs b/mockup/og/compose-pd.mjs new file mode 100644 index 0000000..aa86497 --- /dev/null +++ b/mockup/og/compose-pd.mjs @@ -0,0 +1,18 @@ +// PassiveDrip share image (it had none): art + title in the same clean style as the InstantAdPay / PolHunter cards. +import pkg from 'file:///D:/Projects/MarketingAgent/qa-tester/node_modules/playwright/index.js'; +import fs from 'node:fs'; +const { chromium } = pkg; +const D = 'D:/Projects/HighRisk/stackpol/mockup/og/'; +const img = 'data:image/png;base64,' + fs.readFileSync(D + 'pd-art.png').toString('base64'); +const b = await chromium.launch(); const p = await b.newPage({ viewport: { width: 1200, height: 630 } }); +await p.setContent(` + +
Earn · faucet · offers

PassiveDrip

Earn every day.
Paid out in POL to your wallet.
passivedrip.com
`); +await p.evaluate(() => document.fonts.ready); await p.waitForTimeout(400); +await p.screenshot({ path: D + 'pd.src', type: 'jpeg', quality: 88 }); +await b.close(); console.log('ok'); diff --git a/mockup/og/pd-art.log b/mockup/og/pd-art.log new file mode 100644 index 0000000..879e553 --- /dev/null +++ b/mockup/og/pd-art.log @@ -0,0 +1,14 @@ +Generating 1200x630 banner via kie.ai [nano-banana-pro @ 2K] at aspect 16:9 (~1.778), target ratio 1.905, center-cropping with 5% buffer +kie.ai task created: d80b3ba26a9cfc6d4219822598e8f09d +[poll] task d80b3ba26a9cfc6d4219822598e8f09d: waiting +[poll] task d80b3ba26a9cfc6d4219822598e8f09d: waiting +[poll] task d80b3ba26a9cfc6d4219822598e8f09d: waiting +[poll] task d80b3ba26a9cfc6d4219822598e8f09d: waiting +[poll] task d80b3ba26a9cfc6d4219822598e8f09d: waiting +[poll] task d80b3ba26a9cfc6d4219822598e8f09d: waiting +[poll] task d80b3ba26a9cfc6d4219822598e8f09d: waiting +[poll] task d80b3ba26a9cfc6d4219822598e8f09d: waiting +[poll] task d80b3ba26a9cfc6d4219822598e8f09d: waiting +kie.ai image ready: https://tempfile.aiquickdraw.com/workers/images/image_28723bfa7b3b55dc5f17a6991e12458d.png +kie.ai output: 2752x1536 (target: 1200x630) +Banner image saved: D:\Projects\HighRisk\stackpol\mockup\og\pd-art.png diff --git a/mockup/og/pd-art.png b/mockup/og/pd-art.png new file mode 100644 index 0000000..78797e8 Binary files /dev/null and b/mockup/og/pd-art.png differ diff --git a/mockup/poster-small.jpg b/mockup/poster-small.jpg new file mode 100644 index 0000000..944f61d Binary files /dev/null and b/mockup/poster-small.jpg differ diff --git a/mockup/poster.jpg b/mockup/poster.jpg new file mode 100644 index 0000000..55859f2 Binary files /dev/null and b/mockup/poster.jpg differ diff --git a/mockup/stackpol-mockup.html b/mockup/stackpol-mockup.html new file mode 100644 index 0000000..1a733c5 --- /dev/null +++ b/mockup/stackpol-mockup.html @@ -0,0 +1,239 @@ +Stack POL Member Page + + + + + +
MockupExample member and example numbers to judge the layout. The live page fills these from the real payout records.
+ +
+
+ +
Ledger refreshed 3 min ago
+
+ +
+
+
M
@martbostStacking POL since September 2026
+

Paid straight to one wallet

+
0POL
+
From 7 programs, every payment on Polygon
+
+
+ Start your own stack, free + Free to join. One member's results, not a promise. What you stack depends on what you do. +
+
+ +
+ +

Where the POL comes from

Tap any program to start. Each pays to your own wallet.

+
+
+ +

Every payment, in one ledger

Refreshed every 5 minutes. Each line links to its Polygon transaction.

+
+ + + Next refresh in 2:00 +
+
+ + +
ProgramPaid toAmountWhen (CT)Transaction
+ +
Mockup notes for Marty (not on the live page)
+

Totals

A small indexer refreshes every 5 minutes from each game's payout log and from the InstantAdPay and RM Circle contracts. Page loads read the cached copy, never the chain.

+

Join buttons

Our programs build the member's link from their InstantAdPay username (?ref=). Outside programs come from their cryptoteambuild.com downline builder entries, falling back to their sponsor's link.

+

Order

Cards sort by what the member has earned, so the strongest proof leads. New or seasonal programs (Turkey Drop this month) carry a tag.

+

Opt-in

Members switch on "show my stack" in InstantAdPay Promo tools, where they also get the link, QR code and their own view, click and signup stats.

+
+
+ + diff --git a/package.json b/package.json new file mode 100644 index 0000000..7b8a15b --- /dev/null +++ b/package.json @@ -0,0 +1 @@ +{ "name": "stackpol", "version": "1.0.0", "private": true, "main": "server.js", "scripts": { "start": "node server.js" } } diff --git a/programs.js b/programs.js new file mode 100644 index 0000000..0d7a3d1 --- /dev/null +++ b/programs.js @@ -0,0 +1,36 @@ +// The programs a Stack POL page can show (2026-11-09). Keys match the indexer (tools/indexer.py). Blurbs for the games are +// InstantAdPay's own game descriptions (onchain-ad-membership/site server.js GAMES), so this site never invents how a game pays. +// join(u): the member's own referral link; the network pages use the site owner's (martbost). +'use strict'; +const g = slug => u => 'https://instantadpay.com/g/' + slug + '?ref=' + encodeURIComponent(u); +const PROGRAMS = [ + { k: 'iap', slug: 'instantadpay', n: 'InstantAdPay', c: '#2dd4bf', kind: 'Ad platform', site: 'https://instantadpay.com', join: u => 'https://instantadpay.com/join/' + encodeURIComponent(u), + d: 'The advertising platform at the center of the network. Ad packages buy delivery across the network, and each package pays the sponsor line on Polygon in the same transaction.', + how: 'Payouts here are the referral payments the InstantAdPay smart contract sends up the sponsor line when an ad package sells. Nothing is held by the company: the contract pays in the same transaction as the purchase.' }, + { k: 'ls', slug: 'linkspin', n: 'LinkSpin', c: '#3b82f6', kind: 'Link tools', site: 'https://linkspin.app', join: u => 'https://linkspin.app/join/' + encodeURIComponent(u), + d: 'Free link tools: spin links that rotate your traffic, bridge pages built from any offer link, banner spins and ad zones. Package sales pay the sponsor line in POL in the same transaction.', + how: 'Payouts here are the referral payments the LinkSpin smart contract sends up the sponsor line when a package sells, in the same transaction as the purchase.' }, + { k: 'ph', slug: 'polhunter', n: 'PolHunter', c: '#a3e635', kind: 'Scavenger hunt', site: 'https://polhunter.com', join: g('polhunter'), + d: 'Hunt hidden codes on sites across the network. Every find drips POL straight to your wallet.' }, + { k: 'gk', slug: 'gem-kingdom', n: 'Gem Kingdom', c: '#f472b6', kind: 'Fantasy match-3', site: 'https://gemkingdom.app', join: g('gemkingdom'), + d: 'Match gems to battle monsters with three heroes, earn stars and rebuild your village. First clears and boss wins pay POL.' }, + { k: 'sw', slug: 'spellwheel', n: 'SpellWheel', c: '#facc15', kind: 'Word game', site: 'https://spellwheel.com', join: g('spellwheel'), + d: 'Swipe the letter wheel to fill the crossword, travel through six cozy places, and solve a new daily puzzle with everyone. Clear levels and chapters to earn POL.' }, + { k: 'ch', slug: 'clutterhunt', n: 'ClutterHunt', c: '#34d399', kind: 'Hidden objects', site: 'https://clutterhunt.com', join: g('clutterhunt'), + d: 'Search cozy, cluttered rooms for hidden objects. New rooms every season, starting with the Haunted Manor.' }, + { k: 'pw', slug: 'polywarriors', n: 'PolyWarriors', c: '#22d3ee', kind: 'Cyberpunk fighting', site: 'https://polywarriors.com', join: g('polywarriors'), + d: 'Turn-based fights with collectible low-poly warriors. Recruit fighters born with rare traits, climb the arena and challenge other members.' }, + { k: 'pm', slug: 'pol-miner', n: 'POL Miner', c: '#c084fc', kind: 'Mining adventure', site: 'https://polminer.com', join: g('polminer'), + d: 'Dig down through the layers, haul ore to sell, upgrade your pick, lamp and cart, and beat a drill boss every 30 m. Rare pink Polygon crystals pay POL.' }, + { k: 'dr', slug: 'drip-runner', n: 'Drip Runner', c: '#38bdf8', kind: 'Arcade runner', site: 'https://driprunner.app', join: g('driprunner'), + d: 'Hop the network, dodge the bots, clear chapters. Each first clear drips POL into your game balance.' }, + { k: 'td', slug: 'turkey-drop', n: 'Turkey Drop', c: '#fb923c', kind: 'Thanksgiving, Nov 2 to 30', site: 'https://turkeydropgame.com', join: g('turkeydrop'), season: { ends: '2026-11-30', label: 'Season runs November 2 to 30.' }, + d: 'The WFWL 98.7 helicopter is dropping turkeys over the mall. Catch them before they splat. Score milestones pay POL the first time you reach them, and the weekly top 3 win a POL prize.' }, + { k: 'ra', slug: 'road-agent', n: 'Road Agent', c: '#f59e0b', kind: 'Night highway shooter', site: 'https://roadagent.app', join: g('roadagent'), + d: 'Drive the night highway, shoot the hostiles that hunt you, spare the civilians. Every sector you clear for the first time pays POL.' }, + { k: 'pb', slug: 'polybreak', n: 'PolyBreak', c: '#60a5fa', kind: 'Brick breaker', site: 'https://polybreak.app', join: g('polybreak'), + d: 'Break walls of glass jewel bricks with the classic arcade capsules and catch the purple Polygon gem when it falls. First clears of each round pay POL.' }, +]; +const BY_KEY = Object.fromEntries(PROGRAMS.map(p => [p.k, p])); +const BY_SLUG = Object.fromEntries(PROGRAMS.map(p => [p.slug, p])); +module.exports = { PROGRAMS, BY_KEY, BY_SLUG }; diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100644 index 0000000..01bf0bb Binary files /dev/null and b/public/apple-touch-icon.png differ diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..22586f0 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/icon-512.png b/public/icon-512.png new file mode 100644 index 0000000..d428516 Binary files /dev/null and b/public/icon-512.png differ diff --git a/public/img/ch.jpg b/public/img/ch.jpg new file mode 100644 index 0000000..bbf6699 Binary files /dev/null and b/public/img/ch.jpg differ diff --git a/public/img/dr.jpg b/public/img/dr.jpg new file mode 100644 index 0000000..a04b406 Binary files /dev/null and b/public/img/dr.jpg differ diff --git a/public/img/gk.jpg b/public/img/gk.jpg new file mode 100644 index 0000000..125da86 Binary files /dev/null and b/public/img/gk.jpg differ diff --git a/public/img/iap.jpg b/public/img/iap.jpg new file mode 100644 index 0000000..0635fb6 Binary files /dev/null and b/public/img/iap.jpg differ diff --git a/public/img/ls.jpg b/public/img/ls.jpg new file mode 100644 index 0000000..77b656b Binary files /dev/null and b/public/img/ls.jpg differ diff --git a/public/img/pb.jpg b/public/img/pb.jpg new file mode 100644 index 0000000..bc00411 Binary files /dev/null and b/public/img/pb.jpg differ diff --git a/public/img/ph.jpg b/public/img/ph.jpg new file mode 100644 index 0000000..eb5683f Binary files /dev/null and b/public/img/ph.jpg differ diff --git a/public/img/pm.jpg b/public/img/pm.jpg new file mode 100644 index 0000000..d8d356f Binary files /dev/null and b/public/img/pm.jpg differ diff --git a/public/img/pw.jpg b/public/img/pw.jpg new file mode 100644 index 0000000..292ad34 Binary files /dev/null and b/public/img/pw.jpg differ diff --git a/public/img/ra.jpg b/public/img/ra.jpg new file mode 100644 index 0000000..d4d1e3d Binary files /dev/null and b/public/img/ra.jpg differ diff --git a/public/img/sw.jpg b/public/img/sw.jpg new file mode 100644 index 0000000..89dc5be Binary files /dev/null and b/public/img/sw.jpg differ diff --git a/public/img/td.jpg b/public/img/td.jpg new file mode 100644 index 0000000..575fce6 Binary files /dev/null and b/public/img/td.jpg differ diff --git a/public/index.html b/public/index.html deleted file mode 100644 index 25b7aa9..0000000 --- a/public/index.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - -Stack POL · coming soon - - - - - - - - - - - -
-
- - -
- Coming soon -

Stack POL

-

Every site in the network that pays you POL, stacked into one bag you can show off and share.

-

It is being built now. Until then, these are the places that fill it:

- -

The amounts in the video are an illustration, not a promise of what anyone will earn.

- -
-
- - - diff --git a/public/og-stackpol-1200x630.jpg b/public/og-stackpol-1200x630.jpg new file mode 100644 index 0000000..96593d2 Binary files /dev/null and b/public/og-stackpol-1200x630.jpg differ diff --git a/public/site.webmanifest b/public/site.webmanifest new file mode 100644 index 0000000..e37f15d --- /dev/null +++ b/public/site.webmanifest @@ -0,0 +1 @@ +{"name":"Stack POL","short_name":"Stack POL","start_url":"/","display":"standalone","background_color":"#0a0715","theme_color":"#0a0715","icons":[{"src":"/apple-touch-icon.png","sizes":"180x180","type":"image/png"},{"src":"/icon-512.png","sizes":"512x512","type":"image/png"}]} \ No newline at end of file diff --git a/server.js b/server.js new file mode 100644 index 0000000..f69438a --- /dev/null +++ b/server.js @@ -0,0 +1,202 @@ +// Stack POL (stackpol.com), 2026-11-09. Marty: build it out before LinkSpin's Nov 15 launch, its own blog on the same engine, +// full SEO footprint. Every POL payout across the network, stacked: a network home with live totals, one page per program, +// the public ledger (every row links to Polygonscan), opt-in member stacks at /, and the blog. +// Data: tools/indexer.py on core reads every program's payout records and IAP/LinkSpin's chain index every 5 minutes and POSTs +// one JSON snapshot to /api/ingest (Bearer STACK_INGEST_KEY). Pages read that snapshot, never the chain. The last snapshot is +// kept in /tmp so a restart serves numbers at once; the next push replaces it within 5 minutes. +'use strict'; +const http = require('http'); +const fs = require('fs'); +const path = require('path'); +const zlib = require('zlib'); +const { SITE, esc, head, tail } = require('./layout'); +const { PROGRAMS, BY_KEY, BY_SLUG } = require('./programs'); +const blog = require('./blog'); + +const PORT = Number(process.env.PORT) || 80; +const KEY = String(process.env.STACK_INGEST_KEY || '').trim(); +const OWNER = 'martbost'; // the network pages' join links (the site owner's referral) +const SNAP = '/tmp/stack-index.json'; +const PUB = path.join(__dirname, 'public'); +let IDX = null; try { IDX = JSON.parse(fs.readFileSync(SNAP, 'utf8')); } catch (e) {} +blog.load(); + +const fmt = n => Number(n || 0).toLocaleString('en-US', { minimumFractionDigits: 2, maximumFractionDigits: 2 }); +const fmtInt = n => Number(n || 0).toLocaleString('en-US'); +const ago = ts => { const s = Math.max(0, (Date.now() - ts) / 1000); return s < 90 ? 'just now' : s < 5400 ? Math.round(s / 60) + ' min ago' : s < 129600 ? Math.round(s / 3600) + ' h ago' : Math.round(s / 86400) + ' days ago'; }; +const when = ts => new Date(ts).toLocaleString('en-US', { month: 'short', day: 'numeric', hour: 'numeric', minute: '2-digit', timeZone: 'America/Chicago' }) + ' CT'; +const shortTx = tx => tx ? tx.slice(0, 10) + '…' + tx.slice(-4) : ''; +const RESERVED = new Set(['blog', 'ledger', 'programs', 'earn', 'api', 'img', 'sitemap', 'robots', 'favicon', 'about', 'admin', 'login', 'join', 'feed', 'www', 'static', 'assets']); +const net = () => (IDX && IDX.network) || { pol: 0, payments: 0, wallets: 0 }; +const prog = k => (IDX && IDX.programs && IDX.programs[k]) || { pol: 0, payments: 0, wallets: 0 }; +const live = () => IDX ? '
Ledger refreshed ' + ago(IDX.at) + '
' : '
Ledger warming up
'; +const seasonOn = p => !p.season || Date.parse(p.season.ends + 'T23:59:59-06:00') >= Date.now(); + +function card(p, amt, pays, ref, opts) { + opts = opts || {}; + return ''; +} +function feature(p, ref) { + return ''; +} +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(''); +} +const tableHead = showWho => '
' + (showWho ? '' : '') + ''; +const heroVideo = ''; +const videoJs = ''; +const sortedProgs = () => PROGRAMS.slice().sort((a, b) => prog(b.k).pol - prog(a.k).pol); +const FAQ = [ + ['What is Stack POL?', 'Stack POL adds up every POL payout from the programs in the Crypto Team Build Network: InstantAdPay, LinkSpin and the games that pay POL. The network page shows everyone combined; a member who switches it on gets their own page with their own stack.'], + ['Where do the numbers come from?', 'From each program\'s own payout records and from the InstantAdPay and LinkSpin smart contracts on Polygon. Every row in the ledger links to its Polygon transaction, so anyone can check it on Polygonscan.'], + ['Is this income? Will I earn this much?', 'No promise of income is made. The totals are what the whole network has paid out so far. What one member stacks depends on what they do, and many members earn little or nothing.'], + ['What is POL?', 'POL is the native token of the Polygon network, formerly MATIC. Fees are a fraction of a cent and transfers confirm in seconds, which is why small payouts work on it.'], + ['How do I get my own Stack POL page?', 'Join InstantAdPay free, link a wallet, and switch on "Show my Stack POL page" in Promo tools. Your page lives at stackpol.com/your-username and updates every 5 minutes.'], + ['Does Stack POL hold my money?', 'No. Stack POL only shows payouts. Every payment goes straight from the program to your own wallet on Polygon.'] +]; + +function home() { + const n = net(), ps = sortedProgs(), feat = ps.filter(p => p.season && seasonOn(p)), rest = ps.filter(p => !(p.season && seasonOn(p))), live7 = IDX && IDX.last7 ? IDX.last7 : null; + const ld = [{ '@context': 'https://schema.org', '@type': 'WebSite', name: 'Stack POL', url: SITE + '/', description: 'Every POL payout across the network, stacked in one place.' }, + { '@context': 'https://schema.org', '@type': 'Organization', name: 'Stack POL', url: SITE + '/', logo: SITE + '/apple-touch-icon.png', sameAs: ['https://instantadpay.com', 'https://linkspin.app'] }, + { '@context': 'https://schema.org', '@type': 'FAQPage', mainEntity: FAQ.map(([q, a]) => ({ '@type': 'Question', name: q, acceptedAnswer: { '@type': 'Answer', text: a } })) }]; + let h = head({ title: 'Stack POL: Every POL Payout Across the Network, in One Place', desc: 'See every POL payout from InstantAdPay, LinkSpin and ' + (PROGRAMS.length - 2) + ' games that pay on Polygon. ' + fmt(n.pol) + ' POL paid in ' + fmtInt(n.payments) + ' payments so far, each one checkable on Polygonscan.', path: '/', nav: '/', jsonld: ld }); + h += live(); + h += '

Paid straight to members\' wallets

Every POL the network pays, stacked in one place

'; + h += '
' + fmt(n.pol) + 'POL
Paid by ' + PROGRAMS.length + ' programs, every payment on Polygon
'; + h += '
' + fmtInt(n.payments) + 'payments
' + fmtInt(n.wallets) + 'wallets paid
' + (live7 ? '
' + fmt(live7.pol) + 'POL in the last 7 days
' : '') + '
'; + h += '
' + ps.filter(p => prog(p.k).pol > 0).map(p => '').join('') + '
'; + h += '
' + ps.filter(p => prog(p.k).pol > 0).map(p => '' + esc(p.n) + ' ' + fmt(prog(p.k).pol) + '').join('') + '
'; + h += '
Start your own stack, freeFree to join. Network totals, not a promise. What you stack depends on what you do.
' + heroVideo + '
'; + h += '

Where the POL comes from

Each program pays straight to your own wallet. See all programs

'; + h += feat.map(p => feature(p, OWNER)).join('') + '
' + rest.map(p => card(p, prog(p.k).pol, prog(p.k).payments, OWNER)).join('') + '
'; + h += '

Latest payouts on the ledger

Refreshed every 5 minutes. Open the full ledger

' + tableHead(true) + ledgerRows(((IDX && IDX.recent) || []).slice(0, 15), true) + '
ProgramMemberAmountWhenPolygon transaction
'; + const posts = blog.listPublished().slice(0, 3); + if (posts.length) h += '

From the blog

All posts

' + posts.map(blog.cardHtml).join('') + '
'; + h += '

Questions

' + FAQ.map(([q, a]) => '
' + esc(q) + '

' + esc(a) + '

').join('') + '
'; + return h + tail(videoJs); +} +function programsPage() { + const ps = sortedProgs(); + const ld = [{ '@context': 'https://schema.org', '@type': 'ItemList', name: 'Programs that pay POL in the network', itemListElement: ps.map((p, i) => ({ '@type': 'ListItem', position: i + 1, name: p.n, url: SITE + '/earn/' + p.slug })) }]; + let h = head({ title: 'Programs That Pay POL: Games, Ads and Link Tools | Stack POL', desc: 'Every program in the network that pays POL on Polygon, with what each has paid so far: InstantAdPay, LinkSpin, PolHunter, Gem Kingdom, SpellWheel, ClutterHunt and more.', path: '/programs', nav: '/programs', jsonld: ld }); + h += '

' + PROGRAMS.length + ' programs

Programs that pay POL

Ad platforms, link tools and games. Each one pays straight to your own wallet on Polygon, and every payout shows up on the ledger.

'; + h += '
' + ps.map(p => card(p, prog(p.k).pol, prog(p.k).payments, OWNER)).join('') + '
'; + return h + tail(); +} +function programPage(p) { + const s = prog(p.k), rows = ((IDX && IDX.progRecent && IDX.progRecent[p.k]) || ((IDX && IDX.recent) || []).filter(r => r.k === p.k)).slice(0, 20); + const desc = p.n + ' pays POL on Polygon. ' + fmt(s.pol) + ' POL paid in ' + fmtInt(s.payments) + ' payments to ' + fmtInt(s.wallets) + ' wallets so far. ' + p.d.slice(0, 90); + const ld = [{ '@context': 'https://schema.org', '@type': 'BreadcrumbList', itemListElement: [{ '@type': 'ListItem', position: 1, name: 'Stack POL', item: SITE + '/' }, { '@type': 'ListItem', position: 2, name: 'Programs', item: SITE + '/programs' }, { '@type': 'ListItem', position: 3, name: p.n, item: SITE + '/earn/' + p.slug }] }, + p.k === 'iap' || p.k === 'ls' ? { '@context': 'https://schema.org', '@type': 'WebApplication', name: p.n, url: p.site, applicationCategory: 'BusinessApplication', operatingSystem: 'Web', offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' } } + : { '@context': 'https://schema.org', '@type': 'VideoGame', name: p.n, url: p.site, genre: p.kind, gamePlatform: 'Web browser', playMode: 'SinglePlayer', offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' } }]; + let h = head({ title: p.n + ': How It Pays POL, and What It Has Paid So Far | Stack POL', desc, path: '/earn/' + p.slug, image: '/img/' + p.k + '.jpg', imageAlt: p.n, nav: '/programs', jsonld: ld }); + h += '

Stack POL / Programs / ' + esc(p.n) + '

'; + h += '

' + esc(p.kind) + '

' + esc(p.n) + '

' + esc(p.d) + '

'; + h += '
' + fmt(s.pol) + 'POL
' + fmtInt(s.payments) + 'payments
' + fmtInt(s.wallets) + 'wallets paid
' + (s.last ? '
' + ago(s.last) + 'last payout
' : '') + '
'; + if (p.season) h += '

' + esc(p.season.label) + '

'; + h += '
'; + h += '
'; + h += '

How ' + esc(p.n) + ' pays

' + esc(p.how || ('Rewards are sent in POL from ' + p.n + '\'s own payout wallet straight to the wallet on your account, on the Polygon network. Every payment is a public transaction you can open on Polygonscan.')) + '

'; + h += '

Latest ' + esc(p.n) + ' payouts

All of them

' + tableHead(true) + ledgerRows(rows, true) + ''; + const posts = blog.listPublished().filter(b => b.tags.includes(p.slug) || b.tags.includes(p.n.toLowerCase())).slice(0, 3); + if (posts.length) h += '

Guides

' + posts.map(blog.cardHtml).join('') + '
'; + h += '

More programs that pay POL

' + sortedProgs().filter(x => x.k !== p.k).slice(0, 3).map(x => card(x, prog(x.k).pol, prog(x.k).payments, OWNER)).join('') + '
'; + return h + tail(); +} +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() + '

Public and checkable

The payout ledger

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.

'; + h += '
All' + sortedProgs().map(x => '' + esc(x.n) + '').join('') + '
'; + h += tableHead(true) + ledgerRows(rows, true) + ''; + return h + tail(); +} +function stackPage(u, st) { + const ps = PROGRAMS.filter(p => st.byProg[p.k]).sort((a, b) => st.byProg[b.k].pol - st.byProg[a.k].pol); + const since = st.since ? new Date(st.since).toLocaleDateString('en-US', { month: 'long', year: 'numeric', timeZone: 'America/Chicago' }) : ''; + const ld = [{ '@context': 'https://schema.org', '@type': 'ProfilePage', name: '@' + u + ' on Stack POL', url: SITE + '/' + u, mainEntity: { '@type': 'Person', alternateName: u } }]; + let h = head({ title: '@' + u + '\'s POL Stack: ' + fmt(st.total) + ' POL From ' + ps.length + ' Programs | Stack POL', desc: '@' + u + ' has stacked ' + fmt(st.total) + ' POL from ' + ps.length + ' programs in the network, every payment on Polygon. Start your own stack free.', path: '/' + u, type: 'profile', jsonld: ld }); + h += live() + '
' + esc(u[0].toUpperCase()) + '
@' + esc(u) + '' + (since ? 'Stacking POL since ' + since : 'Stacking POL') + '

Paid straight to one wallet

'; + h += '
' + fmt(st.total) + 'POL
From ' + ps.length + ' programs, ' + fmtInt(st.payments) + ' payments on Polygon
'; + h += '
' + ps.map(p => '').join('') + '
' + ps.map(p => '' + esc(p.n) + ' ' + fmt(st.byProg[p.k].pol) + '').join('') + '
'; + h += '
Start your own stack, freeFree to join. One member\'s results, not a promise. What you stack depends on what you do.
' + heroVideo + '
'; + const feat = PROGRAMS.filter(p => p.season && seasonOn(p)), rest = PROGRAMS.filter(p => !(p.season && seasonOn(p))).sort((a, b) => ((st.byProg[b.k] || {}).pol || 0) - ((st.byProg[a.k] || {}).pol || 0)); + h += '

Where @' + esc(u) + '\'s POL comes from

Tap any program to start. Each pays to your own wallet.

' + feat.map(p => feature(p, u)).join('') + '
' + rest.map(p => card(p, (st.byProg[p.k] || {}).pol || 0, (st.byProg[p.k] || {}).payments || 0, u)).join('') + '
'; + h += '

@' + esc(u) + '\'s latest payouts

' + tableHead(false) + ledgerRows(st.recent || [], false) + ''; + return h + tail(videoJs); +} +function notFound(msg) { return head({ title: 'Not found | Stack POL', desc: 'This page is not on Stack POL.', path: '/404', noindex: true }) + '

Nothing stacked here

' + esc(msg || 'That page does not exist.') + '

Go to Stack POL

' + tail(); } +function sitemap() { + const d = new Date().toISOString().slice(0, 10); + const u = [['/', 'daily', '1.0'], ['/programs', 'daily', '0.9'], ['/ledger', 'hourly', '0.8'], ['/blog', 'daily', '0.9']].map(([p, f, pr]) => '' + SITE + p + '' + d + '' + f + '' + pr + '').join('') + + PROGRAMS.map(p => '' + SITE + '/earn/' + p.slug + '' + d + 'daily0.8').join('') + + blog.listPublished().map(p => '' + SITE + '/blog/' + p.slug + '' + new Date(p.updated).toISOString().slice(0, 10) + 'monthly0.7').join('') + + Object.keys((IDX && IDX.stacks) || {}).map(x => '' + SITE + '/' + x + 'daily0.5').join(''); + return '' + u + ''; +} +const robots = () => 'User-agent: *\nAllow: /\nDisallow: /api/\n\nSitemap: ' + SITE + '/sitemap.xml\n'; + +const TYPES = { '.jpg': 'image/jpeg', '.png': 'image/png', '.svg': 'image/svg+xml', '.mp4': 'video/mp4', '.webmanifest': 'application/manifest+json', '.ico': 'image/x-icon', '.txt': 'text/plain; charset=utf-8', '.xml': 'application/xml' }; +function send(req, res, code, type, body, cache) { + const h = { 'Content-Type': type, 'Cache-Control': cache || 'public, max-age=60', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'strict-origin-when-cross-origin' }; + if (/gzip/.test(req.headers['accept-encoding'] || '') && /text|xml|json|javascript/.test(type) && body.length > 1024) { h['Content-Encoding'] = 'gzip'; h.Vary = 'Accept-Encoding'; body = zlib.gzipSync(body); } + res.writeHead(code, h); res.end(req.method === 'HEAD' ? undefined : body); +} +const html = (req, res, code, body, cache) => send(req, res, code, 'text/html; charset=utf-8', body, cache); +function staticFile(req, res, p) { + const f = path.normalize(path.join(PUB, p)); if (!f.startsWith(PUB)) return false; + let st; try { st = fs.statSync(f); } catch (e) { return false; } if (!st.isFile()) return false; + const type = TYPES[path.extname(f).toLowerCase()] || 'application/octet-stream'; + if (type === 'video/mp4' && req.headers.range) { // seeking support for the hero video + const m = /bytes=(\d*)-(\d*)/.exec(req.headers.range); const s = m && m[1] ? Number(m[1]) : 0, e = m && m[2] ? Number(m[2]) : st.size - 1; + res.writeHead(206, { 'Content-Type': type, 'Content-Range': 'bytes ' + s + '-' + e + '/' + st.size, 'Accept-Ranges': 'bytes', 'Content-Length': e - s + 1, 'Cache-Control': 'public, max-age=604800' }); + return fs.createReadStream(f, { start: s, end: e }).pipe(res), true; + } + res.writeHead(200, { 'Content-Type': type, 'Content-Length': st.size, 'Cache-Control': 'public, max-age=604800', 'Accept-Ranges': 'bytes' }); + if (req.method === 'HEAD') res.end(); else fs.createReadStream(f).pipe(res); + return true; +} + +const server = http.createServer((req, res) => { + let u; try { u = new URL(req.url, SITE); } catch (e) { res.writeHead(400); return res.end(); } + const p = decodeURIComponent(u.pathname); + if ((req.headers.host || '').startsWith('www.')) { res.writeHead(301, { Location: SITE + req.url }); return res.end(); } + try { + if (p === '/api/ingest' && req.method === 'POST') { + if (!KEY || req.headers.authorization !== 'Bearer ' + KEY) { res.writeHead(401); return res.end(); } + const chunks = []; let n = 0; + req.on('data', c => { n += c.length; if (n > 8e6) req.destroy(); else chunks.push(c); }); + req.on('end', () => { try { const j = JSON.parse(Buffer.concat(chunks).toString('utf8')); if (!j || !j.network || !j.programs) throw new Error('shape'); j.at = j.at || Date.now(); IDX = j; fs.writeFile(SNAP, JSON.stringify(j), () => {}); send(req, res, 200, 'application/json', JSON.stringify({ ok: true, at: j.at }), 'no-store'); } catch (e) { send(req, res, 400, 'application/json', JSON.stringify({ error: e.message }), 'no-store'); } }); + return; + } + if (req.method !== 'GET' && req.method !== 'HEAD') { res.writeHead(405); return res.end(); } + if (p === '/api/totals') return send(req, res, 200, 'application/json', JSON.stringify({ at: IDX ? IDX.at : null, network: net(), programs: (IDX && IDX.programs) || {} }), 'public, max-age=120'); + if (p === '/health') return send(req, res, 200, 'text/plain', 'ok', 'no-store'); + if (p === '/') return html(req, res, 200, home(), 'public, max-age=120'); + if (p === '/programs') return html(req, res, 200, programsPage(), 'public, max-age=300'); + if (p === '/ledger') return html(req, res, 200, ledgerPage(u.searchParams.get('p')), 'public, max-age=120'); + let m = /^\/earn\/([a-z0-9-]+)\/?$/.exec(p); if (m) return BY_SLUG[m[1]] ? html(req, res, 200, programPage(BY_SLUG[m[1]]), 'public, max-age=300') : html(req, res, 404, notFound()); + if (p === '/blog' || p === '/blog/') return html(req, res, 200, blog.renderIndex(1)); + m = /^\/blog\/page\/(\d+)$/.exec(p); if (m) return html(req, res, 200, blog.renderIndex(Number(m[1]))); + m = /^\/blog\/tag\/([^/]+)$/.exec(p); if (m) return html(req, res, 200, blog.renderIndex(1, m[1].toLowerCase())); + if (p === '/blog/feed.xml') return send(req, res, 200, 'application/rss+xml; charset=utf-8', blog.rss(), 'public, max-age=600'); + m = /^\/blog\/([a-z0-9-]+)\/?$/.exec(p); if (m) { const post = blog.get(m[1]); return post ? html(req, res, 200, blog.renderPost(post), 'public, max-age=600') : html(req, res, 404, notFound('That post is not here.')); } + if (p === '/sitemap.xml') return send(req, res, 200, 'application/xml; charset=utf-8', sitemap(), 'public, max-age=3600'); + if (p === '/robots.txt') return send(req, res, 200, 'text/plain; charset=utf-8', robots(), 'public, max-age=86400'); + if (staticFile(req, res, p)) return; + m = /^\/@?([a-z0-9_]{3,30})\/?$/i.exec(p); + if (m && !RESERVED.has(m[1].toLowerCase())) { + const name = m[1].toLowerCase(), st = IDX && IDX.stacks && IDX.stacks[name]; + if (st) return html(req, res, 200, stackPage(name, st), 'public, max-age=120'); + return html(req, res, 404, notFound('@' + name + ' has not switched on a Stack POL page yet. Members turn it on in InstantAdPay Promo tools.')); + } + return html(req, res, 404, notFound()); + } catch (e) { console.error('[stackpol]', p, e); html(req, res, 500, notFound('Something went wrong on our side. Try again in a minute.'), 'no-store'); } +}); +server.listen(PORT, () => console.log('Stack POL on :' + PORT + ' | snapshot ' + (IDX ? new Date(IDX.at).toISOString() : 'none yet') + ' | posts ' + blog.listPublished().length + ' | ingest ' + (KEY ? 'on' : 'OFF (no STACK_INGEST_KEY)'))); diff --git a/tools/indexer.py b/tools/indexer.py new file mode 100644 index 0000000..ef0d5be --- /dev/null +++ b/tools/indexer.py @@ -0,0 +1,160 @@ +#!/usr/bin/env python3 +"""Stack POL indexer (2026-11-09). Runs on core every 5 minutes (/etc/cron.d/stackpol-indexer), read-only on every source: + - each game's payout file on its Docker volume (rows with status 'paid': pol, tx, wallet, username, paidAt) + - InstantAdPay's and LinkSpin's chain index (TierPaid events: the referral payments the contracts send in the purchase tx; + MemberActivated maps a member id to its wallet) + - usernames for wallets: IAP accounts + positions (MySQL, via the IAP container) and LinkSpin's accounts.json + - 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". +Usage: indexer.py [--dry] (print a summary, no POST)""" +import json, os, subprocess, sys, time, urllib.request, glob + +VOL = '/var/lib/docker/volumes' +GAMES = { # key: (volume dir glob, file) + 'ph': ('ovmrb8rj1lngf3in4w1ou1pd-polhunter-data', 'payouts.json'), + 'dr': ('l11nhvnej9kwsjrjyvs7z3f0-drip-runner-data', 'payouts.json'), + 'gk': ('toguzi1lnewgghxhdn4ot3w0-*gem-kingdom-data', 'polpayouts.json'), + 'sw': ('u9d4b3e4o5ylrpccl1q613uv-spellwheel-data', 'polpayouts.json'), + 'ch': ('z11vzqktt76jedghxsplii0w-clutterhunt-data', 'polpayouts.json'), + 'pb': ('cwoa0935eyq2h1sofafzmacw-polybreak-data', 'polpayouts.json'), + 'ra': ('ugmtf5of3fgzsa3lg981xg4g-*road-agent-data', 'polpayouts.json'), + 'pm': ('0xdfl7ulqjvg65a4azhxjoca-*polminer-data', 'polpayouts.json'), + 'pw': ('kq67q1d59m31uqfx1txyr18q-polywarriors-data', 'polpayouts.json'), + 'td': ('eo4tqkuwcvny0oqo2dfck9fe-turkeydrop-data', 'polpayouts.json'), +} +CHAINS = {'iap': 'h8jd2hmt9y3c1gco9ed5nmva-instantadpay-data', 'ls': 'c10c6soppcsowxsgbrufqb01-*linkspin-prod-data'} +IAP_UUID = 'h8jd2hmt9y3c1gco9ed5nmva' +HERE = '/root/stackpol-indexer' +URL = 'https://stackpol.com/api/ingest' +DAY = 86400000 + + +def voldir(pattern): + m = sorted(glob.glob(os.path.join(VOL, pattern, '_data'))) + return m[0] if m else None + + +def load(path, default): + try: + with open(path, encoding='utf-8') as f: + return json.load(f) + except Exception: + return default + + +def ms(v): + try: + v = float(v) + except Exception: + return 0 + return int(v if v > 1e12 else v * 1000) + + +def iap_wallet_users(): + """{address_lower: username} from IAP accounts + positions, via the IAP container (its DATABASE_URL never leaves it).""" + c = subprocess.run(['docker', 'ps', '--format', '{{.Names}}'], capture_output=True, text=True).stdout.split() + name = next((x for x in c if x.startswith(IAP_UUID)), None) + if not name: + return {} + js = ("const m=require('mysql2/promise');(async()=>{const c=await m.createConnection(process.env.DATABASE_URL);" + "const [a]=await c.query(\"SELECT LOWER(address) a, username u FROM accounts WHERE address IS NOT NULL AND address<>'' AND username IS NOT NULL AND username<>''\");" + "const [p]=await c.query(\"SELECT LOWER(p.address) a, x.username u FROM positions p JOIN accounts x ON x.email=p.email WHERE p.address IS NOT NULL AND x.username IS NOT NULL\");" + "const o={};for(const r of a.concat(p))if(r.a&&r.u&&!o[r.a])o[r.a]=String(r.u).toLowerCase();console.log(JSON.stringify(o));await c.end()})().catch(e=>{console.log('{}')})") + r = subprocess.run(['docker', 'exec', '-i', '-w', '/app', name, 'node', '-e', js], capture_output=True, text=True, timeout=60) + try: + return json.loads(r.stdout.strip().splitlines()[-1]) + except Exception: + return {} + + +def main(): + dry = '--dry' in sys.argv + rows = [] + for k, (pat, fn) in GAMES.items(): + d = voldir(pat) + data = load(os.path.join(d, fn), []) if d else [] + if isinstance(data, dict): + data = list(data.values()) + for x in data: + if x.get('status') != 'paid' or not x.get('tx'): + continue + try: + pol = float(x.get('pol') or 0) + except Exception: + continue + if pol <= 0: + continue + rows.append({'k': k, 'pol': pol, 'tx': x['tx'], 'ts': ms(x.get('paidAt') or x.get('ts') or x.get('at')), 'w': str(x.get('wallet') or '').lower(), 'gu': str(x.get('username') or '').lower()}) + for k, pat in CHAINS.items(): + d = voldir(pat) + ci = load(os.path.join(d, 'chain-index.json'), {}) if d else {} + ev = ci.get('events', []) + acct = {e['id']: str(e.get('account', '')).lower() for e in ev if e.get('type') == 'MemberActivated'} + for e in ev: + if e.get('type') != 'TierPaid': + continue + pol = int(e['amountWei']) / 1e18 + if pol <= 0: + continue + rows.append({'k': k, 'pol': pol, 'tx': e['tx'], 'ts': ms(e.get('ts')), 'w': acct.get(e.get('recipientId'), ''), 'gu': ''}) + # wallet -> username + wu = iap_wallet_users() + lsd = voldir(CHAINS['ls']) + for a in (load(os.path.join(lsd, 'accounts.json'), {}).get('byEmail', {}) or {}).values() if lsd else []: + addr, un = str(a.get('address') or '').lower(), str(a.get('username') or '').lower() + if addr and un and addr not in wu: + wu[addr] = un + for r in rows: + r['u'] = wu.get(r['w']) or r['gu'] or '' + # opt-in + opt = set() + for line in open(os.path.join(HERE, 'optin.txt'), encoding='utf-8').read().split() if os.path.exists(os.path.join(HERE, 'optin.txt')) else []: + opt.add(line.strip().lower().lstrip('@')) + iapd = voldir(CHAINS['iap']) + so = load(os.path.join(iapd, 'stack-optin.json'), {}) if iapd else {} + for un, on in (so.get('users', {}) if isinstance(so, dict) else {}).items(): + (opt.add if on else opt.discard)(str(un).lower()) + # aggregate + now = int(time.time() * 1000) + progs, wallets = {}, set() + for r in rows: + p = progs.setdefault(r['k'], {'pol': 0.0, 'payments': 0, 'w': set(), 'first': 0, 'last': 0}) + p['pol'] += r['pol']; p['payments'] += 1; p['w'].add(r['w']) + p['first'] = min(p['first'] or r['ts'], r['ts']); p['last'] = max(p['last'], r['ts']) + wallets.add(r['w']) + 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]] + 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}) + stacks = {} + for un in sorted(opt): + mine = [r for r in rows if r['u'] == un] + if not mine: + continue + by = {} + for r in mine: + b = by.setdefault(r['k'], {'pol': 0.0, 'payments': 0}); b['pol'] += r['pol']; b['payments'] += 1 + stacks[un] = {'total': round(sum(r['pol'] for r in mine), 4), 'payments': len(mine), 'since': min(r['ts'] for r in mine), + 'byProg': {k: {'pol': round(v['pol'], 4), 'payments': v['payments']} for k, v in by.items()}, + 'recent': [{'k': r['k'], 'pol': round(r['pol'], 4), 'tx': r['tx'], 'ts': r['ts']} for r in mine[:25]]} + snap = {'v': 1, 'at': now, 'network': {'pol': round(sum(r['pol'] for r in rows), 4), 'payments': len(rows), 'wallets': len(wallets - {''})}, + 'last7': {'pol': round(sum(r['pol'] for r in l7), 4), 'payments': len(l7)}, 'programs': programs, 'recent': recent, 'progRecent': prog_recent, 'stacks': stacks} + print('network %.2f POL, %d payments, %d wallets | last7 %.2f | stacks %s' % (snap['network']['pol'], snap['network']['payments'], snap['network']['wallets'], snap['last7']['pol'], ','.join(stacks) or '-')) + for k, v in sorted(programs.items(), key=lambda x: -x[1]['pol']): + print(' %-4s %10.2f POL %6d payments %5d wallets' % (k, v['pol'], v['payments'], v['wallets'])) + if dry: + return + key = open('/root/.stackpol-ingest-key').read().strip() + req = urllib.request.Request(URL, data=json.dumps(snap).encode(), headers={'Content-Type': 'application/json', 'Authorization': 'Bearer ' + key, 'User-Agent': 'stackpol-indexer'}) + print('push', urllib.request.urlopen(req, timeout=30).read().decode()[:120]) + + +if __name__ == '__main__': + main() diff --git a/tools/write_posts_1.py b/tools/write_posts_1.py new file mode 100644 index 0000000..e1a773e --- /dev/null +++ b/tools/write_posts_1.py @@ -0,0 +1,101 @@ +# Stack POL launch posts (2026-11-09). Numbers come from the indexer's snapshot of Nov 9 2026 (network 37,663.15 POL, 6,882 +# payments, 164 wallets; week Nov 2-8: 1,728.60 POL, 521 payments, 52 wallets). Game descriptions are InstantAdPay's own. +import json, os +D = os.path.join(os.path.dirname(__file__), '..', 'content', 'blog') +os.makedirs(D, exist_ok=True) +def put(p): + json.dump(p, open(os.path.join(D, p['slug'] + '.json'), 'w', encoding='utf-8'), ensure_ascii=False, indent=1) + +put({'slug': 'what-is-stack-pol', 'title': 'What Is Stack POL? Every POL Payout in the Network, in One Place', + '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', + '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

+
  • The network total. 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.
  • +
  • One card per program. InstantAdPay, LinkSpin and every game that pays POL, each with its own total and number of payments.
  • +
  • The public ledger. The latest 300 payouts, newest first, each with a link to Polygonscan.
  • +
  • Member stacks. A member who switches it on gets their own page at stackpol.com/their-username, showing their own total and where it came from.
+

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.

+

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".'}]}) + +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', + 'excerpt': 'The network paid 1,728.60 POL in 521 payments to 52 wallets from November 2 to 8. Here is how it split across InstantAdPay, LinkSpin, PolHunter and the games.', + 'cover': '/og-stackpol-1200x630.jpg', 'coverAlt': 'Stack POL weekly payout recap', + 'tags': ['payout recap', 'payouts', 'polygon'], 'publishedAt': '2026-11-09T14:05:00-06:00', 'updated': '2026-11-09T14:05:00-06:00', + 'body': '''

Every Monday Stack POL looks back at the week before: how much POL the network paid, to how many wallets, and from which programs. These numbers come straight from the payout records and the chain, the same data behind the live ledger.

+

The week at a glance

+

From Monday, November 2 to Sunday, November 8 (US Central time), the network paid 1,728.60 POL in 521 payments to 52 different wallets. The week before, October 26 to November 1, came to 2,138.31 POL in 928 payments, so this was a quieter week overall.

+

Where it came from

+ + + + + + + + + + + + + +
ProgramPOL paidPaymentsWallets
InstantAdPay1,463.03269
LinkSpin200.1422
PolHunter45.4533738
Turkey Drop4.913018
Gem Kingdom3.51286
SpellWheel2.5675
PolyWarriors2.22113
Drip Runner2.00309
Road Agent1.58175
ClutterHunt1.15205
PolyBreak1.0393
POL Miner1.0244
+

What stands out

+
  • Two kinds of payouts. InstantAdPay and LinkSpin pay fewer, larger amounts: they are referral payments that the smart contract sends up the sponsor line when an ad package sells. The games pay many small amounts for things players do.
  • +
  • PolHunter is the busiest program. 337 payments in one week, to 38 different wallets. Its drips are small and frequent, one for each hidden code a hunter finds.
  • +
  • Turkey Drop's first week. The Thanksgiving game opened November 2 and paid 30 times to 18 players, including its first weekly top-3 prizes.
+

Check it yourself

+

Every one of these payments is a public Polygon transaction. Open the ledger, pick any row and follow the link to Polygonscan to see the sender, the receiving wallet, the amount and the time. Our guide to checking a payout on Polygonscan walks through it.

+

These are network-wide totals, not a promise of what any one member will earn. Cryptocurrency involves risk.

'''}) + +put({'slug': 'games-that-pay-pol-on-polygon', 'title': 'Games That Pay POL on Polygon: Every Game in the Network, Compared', + 'seoTitle': 'Games That Pay POL on Polygon (2026): 10 Games Compared', + 'excerpt': 'Ten browser games in the network pay POL straight to your wallet. Here is what each one is, how it pays, and what it has paid so far, all checkable on Polygonscan.', + 'cover': '/img/gk.jpg', 'coverAlt': 'Gem Kingdom, one of the games that pay POL', + 'tags': ['games', 'play to earn', 'polygon', 'gem-kingdom', 'polhunter', 'spellwheel', 'clutterhunt'], 'publishedAt': '2026-11-09T14:10:00-06:00', 'updated': '2026-11-09T14:10:00-06:00', + 'body': '''

"Play to earn" has a reputation problem. Too many games promised big rewards and paid in tokens nobody could sell. The games in this network take a plainer approach: they pay small amounts of POL, the native token of Polygon, straight to your wallet, and every payment is a public transaction you can check.

+

Below is every game in the network that pays POL, with what each has paid so far according to the Stack POL ledger on November 9, 2026. All of them run in a browser, and all of them are free to play.

+

The games, side by side

+ + + + + + + + + + + +
GameTypePOL paid so farPayments
PolHunterScavenger hunt652.514,859
Gem KingdomFantasy match-3379.04686
SpellWheelWord game50.58134
ClutterHuntHidden objects33.70305
PolyWarriorsCyberpunk fighting16.6650
POL MinerMining adventure14.3348
Drip RunnerArcade runner11.28153
Turkey DropSeasonal arcade6.9133
PolyBreakBrick breaker6.2848
Road AgentHighway shooter4.6948
+

Some games have been live much longer than others, so the totals say more about age and player count than about how generous a game is. Turkey Drop, for example, only opened on November 2.

+

A quick look at each one

+

PolHunter

Hunt hidden codes on sites across the network. Every find drips POL straight to your wallet. It is the busiest program on the ledger by far, with thousands of small payments.

+

Gem Kingdom

Match gems to battle monsters with three heroes, earn stars and rebuild your village. First clears and boss wins pay POL.

+

SpellWheel

Swipe the letter wheel to fill the crossword, travel through six cozy places, and solve a new daily puzzle with everyone. Clear levels and chapters to earn POL.

+

ClutterHunt

Search cozy, cluttered rooms for hidden objects. New rooms arrive every season, starting with the Haunted Manor.

+

PolyWarriors

Turn-based fights with collectible low-poly warriors. Recruit fighters born with rare traits, climb the arena and challenge other members.

+

POL Miner

Dig down through the layers, haul ore to sell, upgrade your pick, lamp and cart, and beat a drill boss every 30 m. Rare pink Polygon crystals pay POL.

+

Drip Runner

Hop the network, dodge the bots and clear chapters. Each first clear drips POL into your game balance.

+

Turkey Drop

A Thanksgiving game that runs November 2 to 30. Catch the turkeys the radio station helicopter drops over the mall. Score milestones pay POL the first time you reach them, and the weekly top 3 win a POL prize.

+

PolyBreak

Break walls of glass jewel bricks with the classic arcade capsules and catch the purple Polygon gem when it falls. First clears of each round pay POL.

+

Road Agent

Drive the night highway, shoot the hostiles that hunt you and spare the civilians. Every sector you clear for the first time pays POL.

+

How to start

+

Every game uses your InstantAdPay account to sign in, so one free account covers all of them. Link a Polygon wallet and your rewards go straight to it. Pick a game from the programs page and press play.

+

Game rewards are small and depend on how you play. No income is promised, and cryptocurrency involves risk.

''', + 'faq': [{'q': 'Do these games cost anything to play?', 'a': 'No. All of them are free to play in a browser. Some offer an optional Game Pass, but you can start without paying.'}, + {'q': 'How are the rewards paid?', 'a': 'In POL on the Polygon network, sent from each game\'s own payout wallet straight to the wallet linked to your account. Every payment is a public transaction.'}, + {'q': 'Which game pays the most?', 'a': 'PolHunter and Gem Kingdom have paid the most so far, but they have also been live the longest. Totals reflect how long a game has run and how many people play it.'}]}) +print('3 posts') diff --git a/tools/write_posts_2.py b/tools/write_posts_2.py new file mode 100644 index 0000000..0c9c27e --- /dev/null +++ b/tools/write_posts_2.py @@ -0,0 +1,75 @@ +# Stack POL launch posts, part 2 (2026-11-09). Contract facts match the network's own published material: IAP and LinkSpin pay +# the sponsor line in the purchase transaction; tiers 50% / 20% / 10% (InstantAdPay's tier image, LinkSpin wallet labels). +import json, os +D = os.path.join(os.path.dirname(__file__), '..', 'content', 'blog') +def put(p): + json.dump(p, open(os.path.join(D, p['slug'] + '.json'), 'w', encoding='utf-8'), ensure_ascii=False, indent=1) + +put({'slug': 'what-is-pol-polygon-guide-for-earners', 'title': 'What Is POL (Formerly MATIC)? A Plain Guide for Earners', + 'seoTitle': 'What Is POL (Formerly MATIC)? A Plain Guide for Earners', + 'excerpt': 'POL is the native token of the Polygon network, formerly MATIC. Here is what it is, why small payouts work on it, which wallets hold it, and how to move it.', + 'cover': '/og-stackpol-1200x630.jpg', 'coverAlt': 'What is POL on Polygon', + 'tags': ['polygon', 'pol', 'wallets', 'beginners'], 'publishedAt': '2026-11-09T14:15:00-06:00', 'updated': '2026-11-09T14:15:00-06:00', + 'body': '''

Every payout on Stack POL is in POL. If you are new to crypto, that raises a fair question: what exactly are you being paid in? Here is the plain version, written for people who earn POL rather than trade it.

+

Polygon and POL in one paragraph

+

Polygon is a blockchain network that runs alongside Ethereum. It started in 2017 under the name Matic Network, built to make transactions faster and cheaper than on Ethereum itself. The network went live in 2020, rebranded to Polygon in 2021, and in 2024 its token changed from MATIC to POL. Same network, new name. When you see older guides mention MATIC, they mean the token that is now POL.

+

Why small payouts work on Polygon

+

On many blockchains, sending a small amount costs more in fees than the amount itself. On Polygon, a transfer usually costs a fraction of a cent and confirms in a few seconds. That is what makes it practical for a game to send you a reward of a few cents, or for an ad platform to pay four levels of a sponsor line in one transaction.

+

Which wallet holds POL?

+

Any wallet that supports the Polygon network can hold POL. Common choices include MetaMask, Trust Wallet and SafePal. Add or switch on the Polygon network in the wallet, copy your address (it starts with 0x), and paste it into your account. That one address receives payouts from every program on Stack POL.

+
  • Keep your recovery phrase offline. Nobody from any program will ever ask for it.
  • +
  • Use the same address everywhere. Your Stack POL page adds up payouts by wallet, so one address keeps your stack in one place.
  • +
  • Keep a little POL for fees. Moving POL out of your wallet costs a tiny fee, paid in POL.
+

What can you do with POL?

+

You can hold it, send it to another wallet, or exchange it for another currency on a major exchange that lists POL. Inside the network, you can also use it to buy advertising on InstantAdPay. Prices move every day, so the dollar value of the same POL changes over time.

+

Checking that you were paid

+

Because Polygon is public, every payout can be looked up. Paste your wallet address into Polygonscan and you will see every transaction in and out. Our step-by-step guide on checking a payout shows exactly where to look.

+

This is general information, not investment advice. Cryptocurrency prices go up and down, and you can lose money.

''', + 'faq': [{'q': 'Is POL the same as MATIC?', 'a': 'Yes, in practice. MATIC was the original token of the Polygon network; in 2024 it became POL. The network and how you use it stayed the same.'}, + {'q': 'Do I need to buy POL to earn it?', 'a': 'No. The games pay POL to the wallet on your account. You only need a small amount of POL if you want to send it somewhere else, to cover the transfer fee.'}, + {'q': 'What network do I pick in my wallet?', 'a': 'Polygon (sometimes listed as Polygon PoS or Polygon Mainnet, chain ID 137).'}]}) + +put({'slug': 'how-to-check-a-payout-on-polygonscan', 'title': 'How to Check Any Payout on Polygonscan in 30 Seconds', + 'seoTitle': 'How to Check a POL Payout on Polygonscan (Step by Step)', + 'excerpt': 'Every payout on Stack POL links to Polygonscan. Here is how to read a transaction page: who sent it, who received it, how much, and when.', + 'cover': '/og-stackpol-1200x630.jpg', 'coverAlt': 'Checking a POL payout on Polygonscan', + 'tags': ['polygonscan', 'polygon', 'payouts', 'beginners'], 'publishedAt': '2026-11-09T14:20:00-06:00', 'updated': '2026-11-09T14:20:00-06:00', + 'body': '''

"Paid" means very little until you can see it. On Polygon you can, and it takes about 30 seconds. Every row on the Stack POL ledger ends with a link to its transaction on Polygonscan, the public explorer for the Polygon network. Here is how to read what you find there.

+

Step 1: open the transaction

+

Click the transaction link on any ledger row. It opens a page on polygonscan.com titled Transaction Details. The long code at the top, starting with 0x, is the transaction hash: a unique fingerprint for that one payment.

+

Step 2: check the status

+

Look for Status. "Success" means the payment went through and is final. Polygon transactions confirm in seconds, so anything on the ledger is already settled.

+

Step 3: who paid whom

+
  • From is the wallet that sent the payment. For a game reward, that is the game's own payout wallet. For an InstantAdPay or LinkSpin referral payment, it is the buyer interacting with the smart contract.
  • +
  • To is either the receiving wallet (game rewards) or the smart contract (package purchases).
  • +
  • Internal transactions or transfers: on a package purchase, the contract splits the money in the same transaction and you will see each payment to each wallet listed here. That is what "paid in the same transaction" looks like on the chain.
+

Step 4: amount and time

+

Value shows the POL amount. Timestamp shows when it happened, in UTC; Stack POL shows the same time in US Central. If the numbers on Stack POL and Polygonscan ever disagree, the chain is right and we want to know.

+

Step 5: check your own wallet

+

Paste your own wallet address into the search box at the top of Polygonscan. You will see every transaction your wallet has ever made or received. If your wallet is linked to your account, that list and your Stack POL page should tell the same story.

+

Why this matters

+

Most platforms ask you to trust a number on a dashboard. The programs in this network chose to pay on a public chain so you do not have to. Stack POL just puts all those public payments in one place.

''', + 'faq': [{'q': 'Is Polygonscan safe to use?', 'a': 'Yes. It is a read-only explorer. You never need to connect a wallet or sign anything to look up a transaction.'}, + {'q': 'Why does the time look different?', 'a': 'Polygonscan shows UTC. Stack POL shows US Central time, which is 6 hours behind UTC in winter and 5 in summer.'}]}) + +put({'slug': 'paid-in-the-same-transaction-instantadpay-linkspin', 'title': 'Paid in the Same Transaction: How InstantAdPay and LinkSpin Pay the Sponsor Line', + 'seoTitle': 'Paid in the Same Transaction: How InstantAdPay and LinkSpin Pay', + 'excerpt': 'When an ad package sells on InstantAdPay or LinkSpin, the smart contract pays the sponsor line in that same transaction. Nothing is held. Here is how it works and how to see it.', + 'cover': '/img/iap.jpg', 'coverAlt': 'InstantAdPay pays on-chain, instantly', + 'tags': ['instantadpay', 'linkspin', 'smart contract', 'payouts'], 'publishedAt': '2026-11-09T14:25:00-06:00', 'updated': '2026-11-09T14:25:00-06:00', + 'body': '''

The two biggest numbers on Stack POL come from InstantAdPay and LinkSpin. On November 9, 2026, InstantAdPay had paid 32,266 POL in 474 payments and LinkSpin 4,221 POL in 44 payments. Those payments work differently from game rewards, and the difference is worth understanding.

+

What is being sold

+

Both platforms sell advertising. A member buys an ad package, and the package buys ad delivery across the network: text ads, banners, visits and more. The ad credits are spent on advertising. They are not an investment and they do not pay income by themselves.

+

Where the money goes, in the same transaction

+

When a package sells, the payment goes into the platform's smart contract on Polygon. In that same transaction, the contract pays the buyer's sponsor line: the member who invited the buyer, and the levels above them. On InstantAdPay the direct sponsor receives 50%, the second level 20% and the third level 10%. Nothing waits in a company account and nobody presses a payout button. If the purchase happens, the payments happen with it.

+

That is why these two programs show fewer, larger payments than the games. Each one is a share of a real package sale.

+

How to see it on the chain

+

Open any InstantAdPay or LinkSpin row on the ledger and follow it to Polygonscan. The transaction shows the purchase going into the contract and, inside the same transaction, the transfers out to each wallet in the sponsor line. Our guide to reading a transaction points out where to look.

+

What this does not mean

+

Payments only happen when real packages sell. A sponsor line with no purchases pays nothing. The totals on Stack POL are the whole network added together, and most of it went to members who built active lines over time. It is a record of what happened, not a forecast.

+

Getting started

+

Joining either platform is free. If you advertise, point your ads at a LinkSpin spin link so you can see which page turns clicks into sign-ups, and link a Polygon wallet so any payment reaches you directly.

+

Ad credits buy advertising, not income. No income is promised, and cryptocurrency involves risk.

''', + 'faq': [{'q': 'Does InstantAdPay hold my money before paying it?', 'a': 'No. The smart contract pays the sponsor line in the same transaction as the purchase. Nothing is held by the company.'}, + {'q': 'Do I have to buy a package to join?', 'a': 'No. Joining is free and starts with your email. Packages are for advertising.'}]}) +print('3 more posts')