Introduction
Unity C# with Javascript code to integrate Cardano
Last updated
Was this helpful?
Unity C# with Javascript code to integrate Cardano
Last updated
Was this helpful?
Github repository:
Experimenting with Unity and Cardano, to integrate transaction signature and submission in a WebGL game/application.
Using the Universal Wallet Vonnector developed by Anvil, , it is easy and very similar to a web 2 implementation.
Unity allows to "bridge" JS code with C#, so I was able to reuse 80% of what I have setup for my website (it is built with Deno, Hono and HTMX).
This integration is currently a proof-of-concept prototype, with some missing components. At present, it only includes the wallet connector functionality (Weld), which relies on an external backend to provide the transaction data for signing and submission (The backend I built for my game).
In other words to use this implementation you need something like CSL, or you can take a look at my Cardano Libs implementation.