A JavaScript bridge connects Unity WebGL games to Nightly Wallet across browser, iOS and Android. It supports Aptos wallet connection, address and Move coin balances, transfers, transaction hashes, and live pending, success or failure status tracking.
A Unity Web-based game needed a dependable way to let players connect an Aptos wallet, see their Move coin balance and make blockchain transfers. The team required a simple game API, not wallet-specific Unity logic.
The library had to work across browser and iOS/Android Nightly wallet experiences, handle disconnects, expose clear transaction states and errors, and keep the Unity integration lightweight, documented and easy for game developers to adopt.

We developed a JavaScript library that bridges a Unity game, the Nightly wallet and the Aptos blockchain. Teams get an API for connecting or disconnecting a wallet, retrieving an address and Move coin balance, initiating transfers, and tracking a transaction from pending to success or failure.
The library also handles wallet events and recovery paths, so gameplay can respond gracefully when a connection changes mid-session. Clear documentation and predictable return values reduce blockchain complexity for Unity developers while giving players a familiar, reliable wallet flow.