Skip to content

This repo demonstrates how to securely link and verify Algorand wallets from a Unity game using Pera Wallet deep linking (mobile) or QR codes (desktop).

Notifications You must be signed in to change notification settings

Fraccas/AlgorandUnityWalletLinker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Unity + Node.js Algorand Wallet Linking with Pera Wallet

This repo demonstrates how to securely link and verify Algorand wallets from a Unity game using Pera Wallet deep linking (mobile) or QR codes (desktop).


πŸ’‘ Why?

The official Unity SDK for Algorand is deprecated. WalletConnect v2 integration is non-trivial. This method is lightweight, secure, and works without WalletConnect or custodial wallets.


πŸ” How it Works

  1. User enters their wallet address in Unity.
  2. Game generates a zero ALGO transaction request using:
    • Deep link on mobile
    • QR code on desktop
  3. User signs the transaction with Pera Wallet.
  4. Game calls your Node.js API to confirm ownership by:
    • Fetching recent transactions via indexer
    • Looking for a note {appName}-{userId} within last 5 minutes

image

About

This repo demonstrates how to securely link and verify Algorand wallets from a Unity game using Pera Wallet deep linking (mobile) or QR codes (desktop).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published