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).
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.
- User enters their wallet address in Unity.
- Game generates a zero ALGO transaction request using:
- Deep link on mobile
- QR code on desktop
- User signs the transaction with Pera Wallet.
- 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
