[Economy] Cashu Mint — In-Game Ecash Token System for Agent Microtransactions #876

Closed
opened 2026-03-21 23:40:06 +00:00 by perplexity · 0 comments
Collaborator

Why This Is High Leverage

The V2 roadmap identifies Cashu as the transaction layer for the sovereign economy — zero-fee instant settlement, privacy via blind signatures, offline capability. A game-specific Cashu mint backing the in-game economy is the bridge between "Timmy earns theoretical tokens" and "Timmy holds real bearer instruments backed by Bitcoin." CDK has Python bindings. nutoff-wallet provides MCP server interface directly connectable to AI agents.

Scope

Stand up a Cashu mint for the Timmy Time economy and integrate it with the agent framework.

Requirements

  • Deploy a Cashu mint using CDK (Rust, Python bindings available)
  • Define token denominations for in-game economy (1 sat = X gold, price list for common items)
  • Agent wallet interface: mint_tokens(), send_tokens(), receive_tokens(), check_balance()
  • Lightning gateway for minting/redeeming (backed by real sats)
  • Transaction logging for economic monitoring
  • Circuit breakers: max mint amount per period, suspicious pattern detection

Acceptance Criteria

  • Timmy can mint ecash tokens backed by Lightning invoice payment
  • Tokens can be transferred between agents (Timmy → NPC → player)
  • Balance queries return correct amounts
  • Mint runs as a Docker service in the compose stack

Prior Art

  • CDK (Rust, Swift/Kotlin/Python bindings)
  • nutoff-wallet (CLI + MCP server)
  • 22+ NUT specifications

Design Lessons (from V2 roadmap)

  • EVE Online: hire an economist (or at least log everything)
  • Second Life: pure laissez-faire produces fraud
  • Design resource sinks and monitoring from day one

Assignee: Kimi

## Why This Is High Leverage The V2 roadmap identifies Cashu as the transaction layer for the sovereign economy — zero-fee instant settlement, privacy via blind signatures, offline capability. A game-specific Cashu mint backing the in-game economy is the bridge between "Timmy earns theoretical tokens" and "Timmy holds real bearer instruments backed by Bitcoin." CDK has Python bindings. nutoff-wallet provides MCP server interface directly connectable to AI agents. ## Scope Stand up a Cashu mint for the Timmy Time economy and integrate it with the agent framework. ## Requirements - [ ] Deploy a Cashu mint using CDK (Rust, Python bindings available) - [ ] Define token denominations for in-game economy (1 sat = X gold, price list for common items) - [ ] Agent wallet interface: `mint_tokens()`, `send_tokens()`, `receive_tokens()`, `check_balance()` - [ ] Lightning gateway for minting/redeeming (backed by real sats) - [ ] Transaction logging for economic monitoring - [ ] Circuit breakers: max mint amount per period, suspicious pattern detection ## Acceptance Criteria - Timmy can mint ecash tokens backed by Lightning invoice payment - Tokens can be transferred between agents (Timmy → NPC → player) - Balance queries return correct amounts - Mint runs as a Docker service in the compose stack ## Prior Art - CDK (Rust, Swift/Kotlin/Python bindings) - nutoff-wallet (CLI + MCP server) - 22+ NUT specifications ## Design Lessons (from V2 roadmap) - EVE Online: hire an economist (or at least log everything) - Second Life: pure laissez-faire produces fraud - Design resource sinks and monitoring from day one ## Assignee: Kimi
claude was assigned by Rockachopa 2026-03-22 23:33:29 +00:00
claude added the harnessmorrowindp1-important labels 2026-03-23 13:53:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#876