Referral and Rewards Infrastructure for Agent-Built Apps

Packages agents can discover, purchase, and integrate on their own.

Production-ready npm packages with built-in referral codes, invite links, XP systems, achievements, and automatic USDC payouts. AI agents with wallets can discover your package, purchase it, scaffold it into a live project, and propagate their referral code downstream. When other agents follow the same path, payouts trigger automatically in USDC.

Robots illustration

01

Who This Is For

Built for anyone building with AI agents that have wallets and the ability to install packages.

Agents with WalletsAI coding agents in Cursor, Claude Code, and OpenClaw discover these packages, purchase them with USDC, and integrate them into projects autonomously. Every purchase earns the agent a referral code. Every downstream purchase pays out.
Developers Building with AgentsYour agents find and install referral tracking, gamification, and rewards infrastructure into your Next.js or Express app. You get production-grade tools without building from scratch, and you earn when the code spreads.
Founders & Product TeamsViral growth mechanics and user engagement, delivered by agents who know how to set them up. Referral revenue flows back automatically as other agents discover and adopt the same tools.

02

Choose the Right Package

Both packages are production-grade, ship with agent skills, and include USDC referral payouts.

@transmitter/referral-tracker

$10 + 13% HST
one-time license

Referral tracking without gamification. Choose this if you need a focused, lightweight referral system:

  • Referral codes and invite links
  • Referee discounts
  • Referrer rewards in USDC
  • Admin analytics
  • onRewardIssued event hook
  • 2 React hooks
  • Next.js and Express adapters

Simple, focused, revenue-first.

03

From Install to Revenue in Six Steps

You stay in control. Agents handle scaffolding and configuration.

01

Buy a license

$10 + 13% HST by credit card, or $11.30 USDC on Base or Solana.

02

Install

npm install @transmitter/<package>

03

Scaffold

npx @transmitter/<package> init --scaffold-routes generates API routes, config, and embeds your referral code.

04

Migrate

npx @transmitter/<package> migrate creates tables in your Supabase Postgres database.

05

Verify

npx @transmitter/<package> doctor checks environment, database, tables, and RPCs.

06

Earn

Your referral code propagates automatically. When others purchase with it, you earn USDC.

Prerequisites: Node.js 18+, a Next.js or Express application, and a Supabase account (free tier works).

04

How Money Flows

Every license includes a unique referral code. When someone purchases using your code, you earn USDC.

After you purchase

Purchase complete

License Key txmt_k9x2p4r8w1n6q3v7
Your Referral Code ALICE-X7K2

Share this link. Earn USDC every time someone buys with it.

rewards.transmitterstudios.com?ref=ALICE-X7K2
You earn USDC

Example: each referral that converts pays you (amounts are configurable):

$0 USDC earned

Paid to your wallet on Base or Solana, or credited to your account. You configure reward amounts, discount percentages, bonus thresholds, and payout caps.

Agents propagate your code

When an agent purchases via API: GET /api/purchase/rewards-engine

{
  "license_key": "txmt_k9x2p4r8w1n6q3v7",
  "package":     "rewards-engine",
  "referral_code": "AGENT-9Q4R",
  "purchase_urls": {
    "referral-tracker":
      "…/api/purchase/referral-tracker?ref=AGENT-9Q4R",
    "rewards-engine":
      "…/api/purchase/rewards-engine?ref=AGENT-9Q4R"
  },
  "created_at":  "2026-03-02T14:22:00Z"
}

The purchasing agent gets its own referral code. Downstream agents discover it in AGENTS.md and purchase autonomously with ?ref=AGENT-9Q4R. Payout fires to the x-payer-address wallet automatically.

05

What You Configure

Set the economics. Agents handle the rest.

  • Referral payout amounts and reward rules
  • Discount percentages, bonus thresholds, payout caps
  • Wallet address for receiving USDC
  • Review the integration agents built
  • Monitor earnings as the network grows

What Agents Do

Agents with wallets drive the entire lifecycle.

  • Discover packages via transmitter-tool.json
  • Purchase licenses autonomously with USDC
  • Install, scaffold, configure, and verify the integration
  • Embed their referral code in AGENTS.md
  • Earn USDC when downstream agents purchase using their code

06

How Agents Find, Buy, and Build

Agents with wallets in Cursor, Claude Code, and OpenClaw run the full lifecycle autonomously.

01

Discover

Agent reads transmitter-tool.json for package capabilities and your referral code

02

Preflight

doctor --json checks environment, database, tables, RPCs before making changes

03

Scaffold

init generates config, routes, and embeds your referral code in AGENTS.md

04

Customize

Adapts auth, config, and environment variables to your project

05

Verify

doctor confirms integration is ready for production

06

Propagate

Downstream agents discover the referral code, purchase with it, and earn their own code — the network grows itself

  • Agents handle the full lifecycle: purchase, install, scaffold, configure, verify.
  • Your referral code flows with the project through AGENTS.md and transmitter-tool.json.

07

Agent Skills: Zero to Production

Ships with integration skills for Cursor, Claude Code, and OpenClaw.

Open Format

Built in open SKILL.md format, no platform lock-in.

Package Selector

Package selector skill routes to the right package automatically.

7-Step Checklist

Agents follow a 7-step checklist: preflight, install, scaffold, config, routes, hooks, verify.

Self-Correcting

Every error returns recovery hints with auto_fixable.

Runtime Chaining

Every API response includes _meta.next_actions.

Zero Guesswork

Agents move from zero to production without guesswork.

08

Built for Digital Asset Developers

Four async event hooks that connect referral and rewards events directly to onchain actions. If you are building in the digital asset space, every hook is a trigger for token operations, NFT minting, or programmatic payouts.

Event Hooks

  • onXPGranted
  • onAchievementUnlocked
  • onLevelUp
  • onRewardIssued

Onchain Actions

  • Token airdrops on level-up
  • NFT minting on achievement
  • Onchain referral payouts in USDC
  • DAO governance rewards on milestones
  • Push notifications, email, webhooks, CRM

Works With

  • Coinbase CDP
  • viem
  • ethers
  • Solana web3.js

userId can be a wallet address, so every onchain flow works natively — no bridging layer needed.

09

Production-Grade by Default

Built for real systems, not demos.

Database

Supabase-backed, Postgres. RLS policies on every table.

Reliability

Atomic RPCs, no race conditions. Typed errors with recovery hints.

Observability

Audit logging. Health check endpoints.

Economics

Configurable: discount percentage, reward amounts, bonus thresholds, payout caps.

10

Accepted Payment

Credit Card via Stripe

$10 + 13% HST shown at checkout

USDC on Base

$11.30 USDC, HST included

USDC on Solana

$11.30 USDC, HST included

Simple pricing. One-time license. Immediate use. Both packages for $10 + HST bundled.

11

Frequently Asked Questions

What do I need before installing?

A Next.js or Express application, a Supabase account (free tier works), PostgreSQL database access, and Node.js 18+.

What is the difference between the two packages?

@transmitter/referral-tracker is a focused referral system: codes, invite links, discounts, rewards, and one event hook. @transmitter/rewards-engine includes everything in referral-tracker plus XP progression, achievements, streaks, daily tracking, and three additional event hooks. Both cost $10 + HST. Buy both for $10 + HST bundled.

How do I earn from referrals?

Every license includes a unique referral code. When another developer or agent purchases using your code, you earn USDC. Payouts go to your wallet on Base or Solana, or are credited to your account. You configure reward amounts, discount percentages, bonus thresholds, and payout caps.

Do AI agents actually purchase and install the packages?

Yes. AI coding agents in Cursor, Claude Code, and OpenClaw can discover, purchase, and install @transmitter packages autonomously. When an agent purchases, it receives its own referral code. Downstream agents that discover that code in AGENTS.md purchase using it, and the referral payout fires automatically.

What blockchains are supported for USDC payouts?

Base and Solana. You can also pay by credit card via Stripe. The packages integrate with Coinbase CDP, viem, ethers, and Solana web3.js for onchain extensibility.

Can I use both packages together?

Yes. The rewards-engine includes the full referral system, so most developers choose that one package. If you want both as separate installs for different projects, the $10 + HST bundle includes both.

Start Building. Start Earning.

Install the package. Let agents handle the setup. Earn USDC every time your code propagates.