Skip to main content

What is Cartridge Controller?

Cartridge Controller is a smart wallet solution designed specifically for gaming on Starknet. It provides:
  • Session keys - Sign transactions without popups
  • Social login - Email, Google, Twitter authentication
  • Passkey support - Biometric authentication
  • Custom UI theming - Match your game’s branding

Why Cartridge Controller?

Traditional wallet experiences break gaming immersion:

Integration in Abyss

Session Policies

Abyss pre-approves specific contract calls so players don’t need to confirm each action:

Connector Setup

Player Experience

First-Time Connection

  1. Player clicks “Connect Wallet”
  2. Cartridge modal opens (themed to Abyss)
  3. Player chooses login method:
    • Email + password
    • Google account
    • Passkey (biometric)
  4. Session established with pre-approved policies

Gameplay Flow

Once connected, players can:
  • Spin - No confirmation needed
  • Buy items - Instant execution
  • Activate relics - Seamless action
  • End session - Quick confirmation

Custom Theming

Abyss uses a custom theme for the Controller UI:

useController Hook

Abyss provides a custom hook for Controller integration:

Security

Session Keys

  • Limited to pre-approved contract methods
  • Cannot transfer tokens arbitrarily
  • Expire after inactivity

Passkey Authentication

  • Hardware-backed security
  • No seed phrases to lose
  • Biometric verification

Account Abstraction

  • Smart contract wallet
  • Social recovery options
  • Future-proof design

Resources