Cardano Unity SDK v1.0 Adds Wallet, NFT and Native Token Tools for WebGL Games
The open-source package combines CIP-30 wallet connections, Cardano data access, WebGL templates and sample applications for NFTs and native tokens. Its client-side signing examples remain intended for testing rather than production use with valuable assets.
By SongMarketCap
Developer John Moreland has published version 1.0.0 of the Cardano Game Development SDK for Unity, a free toolkit for connecting Unity WebGL games with Cardano.
Funded through Project Catalyst Fund 12, the SDK brings together C# scripts, browser wallet connectivity, reusable templates and sample applications. The code is available under the MIT license and can be downloaded as a Unity package from GitHub.
SDK Packages Cardano Access for Unity Developers
The SDK includes integrations with Blockfrost and Koios for retrieving information about Cardano accounts, addresses, native assets and transactions. Supporting both services gives developers two data access options within the same toolkit.
For browser games, it adds a CIP-30 connection between a Unity WebGL application and compatible Cardano wallets. A game can request access to a wallet and display its balance while transaction approval remains with the user.
Two WebGL templates provide starting points for different application layouts. CardanoBasic contains the core structure required to embed a Unity application and connect a wallet. CardanoResponsive adds a mobile-first interface that adjusts the Unity content for different screen sizes.
Version 1.0.0 requires Unity 2022.3 LTS or newer with WebGL Build Support. It also uses Unity’s uGUI and TextMeshPro systems, Newtonsoft Json and a MeshJS bundle for its minting and token distribution functions.
Sample Applications Cover NFTs, Minting and Player Rewards
Three sample decentralized applications demonstrate how Cardano functions can respond to events inside a game.
The Gated Access example checks whether a connected wallet holds a specified NFT or native token. Developers can use the result to unlock restricted areas, digital content or other game features.
The Minting Tokens example can create a CIP-25 NFT or a fungible Cardano native token following an action in the application. A separate Awarding Tokens example sends existing assets from a designated treasury wallet to a player and includes optional transaction fee sponsorship.
The toolkit also provides five demonstration scenes, reusable prefabs and editor tools for checking project settings, configuring wallets and building demo scenes. These components allow developers to examine working examples before adapting them to their own projects.
Moreland did not report production deployments, adoption figures or transaction volumes for the SDK.
[NEWSBREAK]
Client-Side Signing Limits Production Use
The documentation includes a security warning for the minting and token-awarding examples. Both use a game wallet included inside the WebGL build, and files delivered to a user’s browser cannot securely conceal private signing credentials.
Developers are advised to use a dedicated wallet holding only small amounts, preferably on Cardano Preprod. Applications handling assets with real value should move transaction signing to a developer-controlled server. A server relay is planned for a future version but is not included in v1.0.0.
The SDK originated from a Project Catalyst proposal allocated 84,000 ADA. Catalyst’s project page still lists the broader initiative as in progress, with two of five milestones completed. The sample applications, Unity Asset Store publication and final closeout have not yet been marked as completed, so the GitHub version does not represent the completion of every Catalyst milestone.
The SDK was submitted to the Unity Asset Store for review on October 27. Until the listing becomes available, the official distribution remains the v1.0.0 package on GitHub, and applications using real funds must keep transaction signing outside the WebGL client.