BTC

=

Loading price...

gold

=

Loading price...

⚔️ Nostr Hero

A Web-Based D&D-Style RPG on Nostr

Your Nostr identity becomes a unique character in a persistent fantasy world. Generate your hero from your public key and embark on adventures stored directly on Nostr relays.

🎮 Join the Adventure

Nostr Hero is currently in pre-alpha development. The game is actively being built with early testing available!

Early Test Server: Want to help test Nostr Hero? The test server is currently whitelisted.

Fill out the form to join the Early Test Server!

What is Nostr Hero?

Nostr Hero is a nostalgic RPG experience that combines classic D&D 5e mechanics with Nostr's decentralized protocol. Your cryptographic identity deterministically generates a unique adventurer with stats, equipment, and abilities.

The game derives your race, class, background, alignment, and ability scores directly from your Nostr public key. Every player gets a unique character, but the same pubkey always generates the same hero—your identity is your destiny.

⚔️ Open Source & Community-Driven

Nostr Hero is completely free and open source. Clone the repo and run your own server anytime. Build mods, create custom content, and share with the community. The code is yours to explore and extend forever.

🎲

Deterministic Character Generation

  • ✓ Race, class, background, and alignment from your pubkey
  • ✓ D&D 5e ability scores (STR, DEX, CON, INT, WIS, CHA)
  • ✓ Weighted distributions for realistic combinations
  • ✓ Class-based starting equipment and spells
  • ✓ Unique narrative introductions for each character
  • ✓ Same pubkey = same character, always
🌐

Nostr Integration

  • ✓ Save games stored as Nostr events (planned)
  • ✓ Cross-client gameplay with validated saves
  • ✓ Achievement badges via NIP-58
  • ✓ Write notes and articles in-game
  • ✓ Highscore integration with gamestr.io
  • ✓ Dungeon Master npub for announcements

🗺️ Development Roadmap

Pre-Alpha (Current)

Status: Actively building core game mechanics and systems.

Access: Test server available via whitelist. Apply here for Early Test Server access.

Alpha Release

Features: Core gameplay mechanics fully implemented—inventory, combat, spells, quests, and NPC interactions.

Access: Available at the production server exclusively for Happy Tavern members.

Beta Release

Features: Full Nostr integration, relay-based saves, quest system, achievements, and cross-client gameplay.

Free Server: Free to play for everyone with validated official saves.

Modded Server: Custom game rules, modded save files, and experimental features—exclusive to Happy Tavern members.

🛠️ Built With

Backend (Go)

  • • HTTP server with Go templates
  • • Deterministic character generation
  • • Grain client for Nostr auth
  • • REST API for game data

Frontend

  • • Vanilla JavaScript
  • • TailwindCSS (retro Win95 theme)
  • • Server-side rendering
  • • Nostr session management

Game Content

  • • 200+ items from D&D 5e SRD
  • • Full spell database
  • • Monster & location data
  • • Pixel art sprites (64x64)

Get Involved

Nostr Hero is open source and built with passion for the Nostr gaming community. Contributions, playtesting, and feedback are always welcome!

Want to support development? Become a Happy Tavern member and get early access to alpha and beta builds, plus exclusive modded server access.