Management API Reference

Wallets

WebGL Setup

Openfort's Unity SDK leverages an iframe to secure the key material for a user's embedded wallet. Given the use of an iframe, we recommend testing builds with Openfort's Unity SDK in the browser, or on a non-WebGL platform in the Unity editor.

Watch this demo of setting up the Openfort SDK in a Unity Project!

To configure settings for your WebGL build to work with Openfort, go to your Project Settings in the Unity editor. Next, select Player and navigate to WebGL. Set the following values:

  • In Resolution and Presentation, select openfort.
unity-webgl-template
  • In Other Settings/Optimization, managed stripping level to minimal
unity-stripping