Home

Awesome

<div align="center">

<a href="https://solana.unity-sdk.gg/"><img height="170x" src="https://solana.unity-sdk.gg/logo.png" /></a>

<h1>Solana.Unity SDK</h1> <p> <strong>Solana.Unity integration Framework</strong> </p> <p> <a href="https://developers.garbles.fun"><img alt="Tutorials" src="https://img.shields.io/badge/docs-tutorials-blueviolet" /></a> <a href="https://github.com/magicblock-labs/Solana.Unity-SDK/issues"><img alt="Issues" src="https://img.shields.io/github/issues/magicblock-labs/Solana.Unity-SDK?color=blueviolet" /></a> <a href="https://discord.com/invite/MBkdC3gxcv"><img alt="Discord Chat" src="https://img.shields.io/discord/943797222162726962?color=blueviolet" /></a> <a href="https://opensource.org/licenses/MIT"><img alt="License" src="https://img.shields.io/github/license/magicblock-labs/Solana.Unity-SDK?color=blueviolet" /></a> </p> </div>

Solana.Unity-SDK is the interface to access Solana.Unity-Core, Solnet implementation in .NET Standard 2.0 (Unity compatible). The SDK supports an In-game wallet with Web3auth authentication, phantom and SMS (upcoming). A set of convenience methods allows Unity developers to access all the methods implemented in Solana.Unity-Core, including MPL, native dex transactions and more...

Solana.Unity-SDK started as a fork of unity-solana-wallet, but it has been detached due to the several changes we have made and upcoming pipeline of integrations.

📝 Documentation

🎮 Unity Asset Store

The SDK is also available on the Unity Asset Store as a Verified Solution

<a href="https://assetstore.unity.com/packages/decentralization/infrastructure/solana-sdk-for-unity-246931"><img width="170x" src="https://user-images.githubusercontent.com/12031208/226163933-832a84c2-09db-48f3-9a86-3f938bdabe5e.svg" /></a>

🚀 Live Demo

✨ Features

🚩 Upcoming

📌 Dependencies

➕ Installation

👷 Step-by-step instructions

  1. If you have an older version of Unity that doesn't have imported Newtonsoft.Json just import it.
  2. Create a new scene.
  3. Import WalletController prefab into your scene.
  4. Set RPC Cluster (Mainnet/Testnet/Devnet/Custom uri) on SimpleWallet script in WalletController prefab.
  5. If you use custom URI be careful to use WS/WSS instead of HTTP/HTTPS because WebSocket does not work with HTTP / HTTPS.
  6. Create new Canvas
  7. Import WalletHolder prefab into the Canvas or if you want your design just import wallet prefab and customize the scene.

💚 Open Source

Open Source is at the heart of what we do at Magicblock. We believe building software in the open, with thriving communities, helps leave the world a little better than we found it.

✨ Contributors & Community

Thanks go to these wonderful people:

<a href="https://github.com/magicblock-labs/Solana.Unity-SDK/graphs/contributors"><img width="100%" src="https://magicblock-labs.github.io/Solana.Unity-SDK/metrics.repository.svg"></a>

<a href="https://github.com/magicblock-labs/Solana.Unity-SDK/stargazers"><img width="100%" src="https://magicblock-labs.github.io/Solana.Unity-SDK/people.repository.svg"></a>