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/[email protected]"></script>
- File > Build & Run (will automatically start server)
Huge thank you to Syed Jafri & Lee for their contributions!