Files
instantadpay/public/games.html
T
martbost 03284aa281 Conversion linkage, InstantAdPay side (Marty 2026-11-07, "Yes ship these"): a LinkSpin click stays with the account, and its sign-up, wallet link and each package purchase are reported to LinkSpin. Reporting only: no sponsor, payout, credit or chain path changes; accounts.js only gains a notification after a wallet is linked.
lsreport.js. A click id (lsclk or lsid) arriving on any page is kept in a first-party cookie iap.lsclk, 30 days, last click wins, like the sponsor cookie. The join page also sends its own copy with the code request and verify (the cookie is refused in traffic-exchange frames and never crosses browsers, the 2026-09-29 lesson) and it is remembered per email. It is stored in its own table ls_account_clicks when the account is created or a waiting LinkSpin shell is claimed, on /api/signup, email sign-in and in-game sign-in (a game may pass lsclk; none does yet).

Reports queue in ls_events, whose primary key is the idempotency key (join:<hash>, wallet:<hash>, purchase:<tx>:<log index>), so two app copies in a deploy cannot double a row, and LinkSpin dedupes on the same key. A background loop sends them signed, retrying up to every 5 minutes; a sign-up or a purchase never waits on LinkSpin. The purchase hook runs after the existing ev: claim and its value is the USD price on the chain event. A first purchase finds its buyer through the contract's wallet for that member id, since member_id may not be stored yet. Linked positions count as the account's purchases. Past 30 days from the sign-up nothing is queued (LinkSpin's window is from the click).

Campaigns > Conversion tracking lists everything the member's clicks led to, and joins, wallets and purchases on each campaign row. Guide, privacy page and chatbot (CANNED + FACTS) updated; common.js, join.js and my.js tags bumped.

QA: bash qa/run.sh netconv (54 checks: local InstantAdPay + local LinkSpin + a mock Polygon RPC, a real Purchase log through the real event fan-out, LinkSpin down, two copies racing).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 07:48:36 -06:00

85 lines
8.0 KiB
HTML

<!doctype html>
<html lang="en" data-theme-base="dark">
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Games that pay POL | InstantAdPay</title>
<meta name="description" content="Every game in the InstantAdPay network on one page: word puzzles, hidden objects, match-3, a runner, a scavenger hunt, a card battler and more. Free to play, and they pay POL to the wallet on your InstantAdPay account.">
<meta name="theme-color" content="#043b2f">
<meta property="og:type" content="website"><meta property="og:site_name" content="InstantAdPay">
<meta property="og:title" content="Games that pay POL | InstantAdPay">
<meta property="og:description" content="Every game in the InstantAdPay network on one page. Free to play. They pay POL to the wallet on your account.">
<meta property="og:image" content="https://instantadpay.com/banners/iap-games-1200x630.jpg"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630">
<meta property="og:url" content="https://instantadpay.com/games">
<meta name="twitter:card" content="summary_large_image">
<link rel="canonical" href="https://instantadpay.com/games">
<!--theme-head--><script>(function(){var A=0,h=document.documentElement,b=h.getAttribute("data-theme-base")||"dark",m=window.matchMedia?matchMedia("(prefers-color-scheme: dark)"):{matches:false},v;function g(){try{v=localStorage.getItem("iap.theme")}catch(e){v=null}return v==="light"||v==="dark"||v==="auto"?v:(A?"auto":b)}function ap(){var c=g();h.setAttribute("data-theme",c==="auto"?(m.matches?"dark":"light"):c);h.setAttribute("data-theme-choice",c)}ap();if(m.addEventListener)m.addEventListener("change",ap);else if(m.addListener)m.addListener(ap);window.IAPTheme={base:b,get:g,apply:ap,set:function(c,quiet){try{if(c==="light"||c==="dark"||c==="auto")localStorage.setItem("iap.theme",c);else localStorage.removeItem("iap.theme")}catch(e){}ap();if(!quiet)try{dispatchEvent(new CustomEvent("iap-theme",{detail:g()}))}catch(e){}}}})()</script><!--/theme-head-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
<link rel="icon" type="image/png" href="/logo-icon.png">
<link rel="stylesheet" href="/assets/site.css?v=20261101th">
<style>
.gp{max-width:1040px}
.gp .hero{padding:56px 0 10px}
.gp .lead{max-width:62ch}
.gsec{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:34px 0 12px;padding-top:18px;border-top:1px solid var(--line)}
.ggrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.gcard{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--ink-faint)}
.gcard .art{position:relative;aspect-ratio:1.91/1;background:#07201c center/cover no-repeat}
.gcard .art img{width:100%;height:100%;object-fit:cover;display:block}
.gcard .ribbon{position:absolute;left:12px;top:12px;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:5px 9px;border-radius:999px;background:rgba(4,59,47,.9);color:#dffbf3;border:1px solid var(--mint-line)}
.gcard .ribbon.soon{background:rgba(226,176,74,.92);color:#2a1d04;border-color:rgba(255,255,255,.3)}
.gcard .body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.gcard .tag{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--mint)}
.gcard h3{margin:0;font-size:20px}
.gcard p{margin:0;color:var(--muted);line-height:1.5;font-size:15px}
.gcard .pays{font-size:13px;color:var(--text)}
.gcard .pays b{color:var(--gold,#e2b04a)}
.gcard .row{display:flex;gap:10px;align-items:center;margin-top:auto;padding-top:6px;flex-wrap:wrap}
.gcard .btn{display:inline-block;padding:10px 16px;border-radius:12px;background:var(--mint);color:var(--mint-ink);font-weight:800;text-decoration:none;font-family:var(--disp)}
.gcard .btn.ghost{background:transparent;color:var(--text);border:1px solid var(--line)}
.gcard .btn[aria-disabled="true"]{opacity:.55;pointer-events:none}
.gcard .host{font-family:var(--mono);font-size:12px;color:var(--muted)}
.howbox{border-left:4px solid var(--mint);background:var(--mint-soft);padding:14px 18px;border-radius:0 12px 12px 0;margin:22px 0 6px;max-width:72ch}
.howbox b{font-family:var(--disp);display:block;margin-bottom:4px}
.cta{margin:36px 0 10px;padding:22px;border:1px solid var(--line);border-radius:18px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;justify-content:space-between}
.cta h2{margin:0 0 4px;font-size:22px}
.cta p{margin:0;color:var(--muted);max-width:60ch}
.cta .btn{display:inline-block;padding:12px 18px;border-radius:12px;background:var(--mint);color:var(--mint-ink);font-weight:800;text-decoration:none;font-family:var(--disp)}
#gEmpty{color:var(--muted)}
.fgrid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);gap:12px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x mandatory}
.fcard{scroll-snap-align:start;border-radius:16px;overflow:hidden;background:var(--ink-faint);border:1px solid var(--line);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rc) 35%,transparent);text-decoration:none;color:var(--text);display:flex;flex-direction:column}
.fpic{aspect-ratio:3/4;background:#061417;position:relative}.fpic img{width:100%;height:100%;object-fit:cover;display:block}
.ftag{position:absolute;left:8px;bottom:8px;font-family:var(--mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;padding:3px 7px;border-radius:999px;background:rgba(0,0,0,.6);color:var(--rc);border:1px solid var(--rc)}
.fsale{position:absolute;right:8px;bottom:8px;font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;padding:3px 7px;border-radius:999px;background:var(--mint);color:var(--mint-ink);font-weight:800}
.fb{padding:8px 10px 10px;display:grid;gap:2px}.fb b{font-size:14px}.fb small{color:var(--muted);font-size:11px}.fb .fp{color:var(--gold,#e2b04a);font-weight:800;font-size:13px}
</style>
</head>
<body>
<div class="wrap gp">
<section class="hero">
<p class="eyebrow">InstantAdPay games</p>
<h1>Play free. <em>Get paid in POL.</em></h1>
<p class="lead">Every game in the network, on one page. Each one signs you in with your InstantAdPay account in one tap and pays POL to the wallet on that account for the things you do inside it: first clears, levels, chapters, finds, daily puzzles.</p>
</section>
<div class="howbox"><b>How it works</b>Create a free InstantAdPay account, link a Polygon wallet on your Wallet tab (one free signature), then open any game below. Rewards are small per action and paid automatically when your balance in that game reaches its payout amount. Every payout carries a transaction link.</div>
<div id="gLive"></div>
<div id="gSoon"></div>
<p id="gEmpty" hidden>The game list could not load. Try again in a moment.</p>
<div class="cta">
<div><h2>Not a member yet?</h2><p>Join free, add a wallet, and every game on this page pays the same wallet. InstantAdPay itself is an advertising network: members run ads and get paid when the people they bring in buy packages.</p></div>
<a class="btn" id="gJoin" href="/join">Join free</a>
</div>
<p class="muted small" style="margin-top:26px">No income is guaranteed. Results depend on your effort. Cryptocurrency involves risk of loss. InstantAdPay sells advertising; it is not an investment. Game rewards are a marketing cost paid from a funded pool while it lasts.</p>
<footer>
<div>InstantAdPay · <a href="/">Home</a> · <a href="/join">Join free</a> · <a href="/my#games">Games tab (members)</a></div>
<div class="small">InstantAdPay is the Polygon hub of the <a href="https://cryptoteambuild.com" target="_blank" rel="noopener">Crypto Team Build Network</a>.</div>
<div class="small">Advertising services with a performance referral program. Not an investment product; no income guarantees.</div>
</footer>
</div>
<script src="/assets/common.js?v=20261107nc"></script><script src="/assets/games-page.js?v=20261012b"></script>
</body>
</html>