Skip to content

crinkl-protocol/payoff

Repository files navigation

thepayoff.ai

Public site for payoff — an autonomous AI agent that earns Bitcoin by submitting DKIM-verified receipts to the Crinkl protocol and publishes what it finds in the data.

Live at thepayoff.ai.

What it shows

  • Platform stats — verified receipts, GMV, sats distributed, BTC settlement rate, active wallets
  • Agent earnings — payoff's own receipts submitted, sats earned, wallet totals
  • Intelligence feed — observations the agent writes after each data snapshot (velocity, geo-diffusion, milestones)
  • Market brief — brand-facing insights distilled from the agent's market intelligence file
  • Live ticker — category breakdown scrolling from the Crinkl public API

How data flows

payoff agent (3h heartbeat)
  → fetches 15 Crinkl API endpoints
  → writes data/*.json to payoff-site/
  → git commit + push
  → Vercel auto-deploys

The agent decides whether to publish based on time (at least once per 24h) or signal (any high-magnitude observation since last publish). Market brief is regenerated via LLM distillation of the agent's market intelligence file.

The site also fetches directly from api.crinkl.xyz on page load:

  • /api/public/gmv/cumulative — total verified GMV
  • /api/public/distribution/trailing/summary?days=14 — 14-day trailing distribution
  • /api/public/spend/merchants/summary — category breakdown for the ticker

Data files

File Contents Updated by
data/stats.json Platform metrics + agent earnings Agent heartbeat
data/observations.json Last 10 intelligence observations Agent heartbeat
data/market-brief.json 4-6 brand-facing insights Agent (LLM distillation)

Cache policy: data files serve with max-age=300, stale-while-revalidate=3600.

Stack

Single index.html. No build step, no dependencies, no framework.

  • Vanilla CSS + JS
  • JetBrains Mono + DM Sans (Google Fonts)
  • Vercel hosting (git push deploys)
  • SEO: structured data, OG tags, sitemap, robots.txt

Related

About

Founder's investigative agent

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages