Skip to content

Docs: Add guide for building onchain games on Ink (Phaser 3 + wagmi) #613

@schoolkamsergj

Description

@schoolkamsergj

🎮 Feature Request: Game Development Guide for Ink

Summary

As the Ink ecosystem grows, there's a significant opportunity to attract game developers building onchain games. Currently, the documentation lacks any guidance for developers who want to combine traditional game frameworks (like Phaser 3) with Ink smart contracts and wallet interactions.

Proposed Section

Add a new documentation page or guide under the Developers section:

Title: Building Onchain Games on Ink

Suggested Content

  1. Overview — Why Ink is great for onchain games (low fees, fast finality, EVM-compatible)
  2. Stack recommendation:
    • Phaser 3 — industry-standard HTML5 game framework
    • wagmi + viem — wallet connection & contract interaction
    • OnchainKit — UI components for wallet UX
  3. Basic integration example — connecting a Phaser 3 game scene to a smart contract (e.g., storing scores onchain, minting NFTs on game events)
  4. Ink-specific tips — RPC endpoint, chain ID (57073), recommended wallets
  5. Example project reference — link to community game projects built on Ink/Base

Why This Matters

  • 🎯 Onchain games are one of the fastest-growing verticals in Web3
  • 🔗 Ink's low fees make microtransactions (in-game actions) economically viable
  • 👨‍💻 This guide would help JS developers transition into Web3 game dev using familiar tools
  • 🌍 Expands Ink developer community beyond DeFi

Additional Context

I'm currently building Base Invaders — a Phaser 3 game integrated with Base/Ink blockchain. Happy to contribute a draft of this guide or provide a working code example as a reference implementation.


Would love to contribute this section if the team is open to it! 🦑

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions