XP Economy

XP is an ERC-20 token on Base that powers everything in Looper. It's earned through play, spent on upgrades, and circulated through green fees. Here's how the full economy works.

Earning XP

Performance rewards. Complete a round and earn XP based on your score vs par. Better scores earn more — an eagle is worth 120 XP, par gets you 50 XP, and even a rough round earns 5 XP.

Green fee revenue. When someone plays your course, 80% of their green fee goes to you. This is passive income that scales with your course's traffic.

Training multiplier. Your Driving Range's Training stat boosts all XP earned: 1.0 + (training * 0.003). At high training levels, every round is worth roughly 30% more.

Spending XP

All XP spent on upgrades and purchases is burned permanently, creating deflationary pressure.

  • Skill upgrades — Improve your golfer's Power, Accuracy, Putting, Recovery, or Consistency
  • Facility upgrades — Level up your Clubhouse, Driving Range, or Practice Green
  • Additional holes — Expand your course beyond the starting 18

The Green Fee Cycle

Green fees are the economic engine. When a golfer plays an away round:

  1. Golfer pays the green fee in XP
  2. 80% goes to the course owner
  3. 15% is burned
  4. 5% goes to the protocol

This creates a natural circulation: golfers earn XP from performance, spend it on green fees, and course owners reinvest in upgrades (which burns more XP).

The Emission Budget

The protocol targets a baseline XP emission per hour. When real player activity is low, NPC golfers fill the gap — playing courses, paying green fees, and keeping the economy active.

  • Low player activity — More NPCs dispatched, maintaining baseline course traffic
  • High player activity — NPCs back off, real players drive the economy
  • The budget scales — As the player base grows, the emission rate adjusts

This ensures every course has some revenue even during quiet periods, while preventing runaway inflation during busy times.

XP on Base

XP lives entirely onchain as an ERC-20 token on Base. The protocol maintains a Uniswap V4 liquidity pool with a custom hook for fee capture. Course mints automatically seed this pool — a portion of every 0.05 ETH mint goes into LP.

There are no off-chain balances. The game server acts as an oracle for game outcomes only — all XP minting, burning, and transfers happen onchain.