Example project showing how to connect to Proton chain and transfer XPR from Unity (WebGL)
- Install Unity 2021.2.14f
- Install WebGL Modules (File > Build Settings > WebGL > Switch Platform)
- Open project, File > Build (choose build folder)
- Locate html/index.html in the build folder, paste this script link just before
</head>
<script src="https://unpkg.com/@proton/web-sdk@4.1.4"></script>
- File > Build & Run (will automatically start server)
Huge thank you to Syed Jafri & Lee for their contributions!