{"id":13457047,"url":"https://github.com/magicblock-labs/Solana.Unity-SDK","last_synced_at":"2025-03-24T12:30:40.019Z","repository":{"id":37786346,"uuid":"460851779","full_name":"magicblock-labs/Solana.Unity-SDK","owner":"magicblock-labs","description":"Open-Source Unity-Solana SDK with Full RPC coverage, NFT support and more","archived":false,"fork":false,"pushed_at":"2024-10-29T07:12:37.000Z","size":342533,"stargazers_count":157,"open_issues_count":17,"forks_count":89,"subscribers_count":18,"default_branch":"main","last_synced_at":"2024-10-30T05:26:03.399Z","etag":null,"topics":["game-development","nft","sdk","solana","solana-mint","solana-nft","solana-program","unity"],"latest_commit_sha":null,"homepage":"https://solana.unity-sdk.gg","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"allartprotocol/unity-solana-wallet","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magicblock-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-18T12:50:48.000Z","updated_at":"2024-10-29T07:11:38.000Z","dependencies_parsed_at":"2023-11-23T20:23:22.185Z","dependency_job_id":"e7c17070-fc03-41e8-b918-1e1f09e7fdaa","html_url":"https://github.com/magicblock-labs/Solana.Unity-SDK","commit_stats":{"total_commits":317,"total_committers":21,"mean_commits":"15.095238095238095","dds":0.2933753943217665,"last_synced_commit":"a6ef21b7dc401766933f42c13dbbfe2dd82b5ec3"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicblock-labs%2FSolana.Unity-SDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicblock-labs%2FSolana.Unity-SDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicblock-labs%2FSolana.Unity-SDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicblock-labs%2FSolana.Unity-SDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magicblock-labs","download_url":"https://codeload.github.com/magicblock-labs/Solana.Unity-SDK/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245269682,"owners_count":20587826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game-development","nft","sdk","solana","solana-mint","solana-nft","solana-program","unity"],"created_at":"2024-07-31T08:01:32.406Z","updated_at":"2025-03-24T12:30:38.708Z","avatar_url":"https://github.com/magicblock-labs.png","language":"C#","funding_links":[],"categories":["Development Tools and Libraries","C\\#"],"sub_categories":["Client Libraries"],"readme":"\u003cdiv align=\"center\"\u003e\n\n  \u003ca href=\"https://solana.unity-sdk.gg/\"\u003e\u003cimg height=\"170x\" src=\"https://solana.unity-sdk.gg/logo.png\" /\u003e\u003c/a\u003e\n  \n\n  \u003ch1\u003eSolana.Unity SDK\u003c/h1\u003e\n\n  \u003cp\u003e\n    \u003cstrong\u003eSolana.Unity integration Framework\u003c/strong\u003e\n  \u003c/p\u003e\n\n  \u003cp\u003e\n    \u003ca href=\"https://developers.garbles.fun\"\u003e\u003cimg alt=\"Tutorials\" src=\"https://img.shields.io/badge/docs-tutorials-blueviolet\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/magicblock-labs/Solana.Unity-SDK/issues\"\u003e\u003cimg alt=\"Issues\" src=\"https://img.shields.io/github/issues/magicblock-labs/Solana.Unity-SDK?color=blueviolet\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://discord.com/invite/MBkdC3gxcv\"\u003e\u003cimg alt=\"Discord Chat\" src=\"https://img.shields.io/discord/943797222162726962?color=blueviolet\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/magicblock-labs/Solana.Unity-SDK?color=blueviolet\" /\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n  \nSolana.Unity-SDK is the interface to access [Solana.Unity-Core](https://github.com/magicblock-labs/Solana.Unity-Core), Solnet implementation in .NET Standard 2.0 (Unity compatible).\nThe 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...\n\nSolana.Unity-SDK started as a fork of [unity-solana-wallet](https://github.com/allartprotocol/unity-solana-wallet), but it has been detached due to the several changes we have made and upcoming pipeline of integrations. \n\n## 📝 [Documentation](http://developers.garbles.fun/)\n\n## 🎮 [Unity Asset Store](https://assetstore.unity.com/packages/decentralization/infrastructure/solana-sdk-for-unity-246931)\n\nThe SDK is also available on the [Unity Asset Store](https://assetstore.unity.com/packages/decentralization/infrastructure/solana-sdk-for-unity-246931) as a [Verified Solution](https://assetstore.unity.com/verified-solutions)\n\n\u003ca href=\"https://assetstore.unity.com/packages/decentralization/infrastructure/solana-sdk-for-unity-246931\"\u003e\u003cimg width=\"170x\" src=\"https://user-images.githubusercontent.com/12031208/226163933-832a84c2-09db-48f3-9a86-3f938bdabe5e.svg\" /\u003e\u003c/a\u003e\n\n## 🚀 [Live Demo](https://magicblock-labs.github.io/Solana.Unity-SDK/)\n\n[![](https://solana.unity-sdk.gg/demo.gif)](https://garbles-labs.github.io/Solana.Unity-SDK/)\n\n## ✨ Features\n- Full JSON RPC API coverage\n- Wallet and accounts: Set up of a non-custodial Solana wallet in Unity (sollet and solana-keygen compatible)\n- Phantom and Web3auth support (non-custodial signup/login through social accounts)\n- Transaction decoding from base64 and wire format and encoding back into wire format\n- Message decoding from base64 and wire format and encoding back into wire format\n- Instruction decompilation \n- TokenWallet object to send and receive SPL tokens and JIT provisioning of Associated Token Accounts \n- Basic UI examples \n- NFTs\n- Compile games to xNFTs ([Backpack](https://www.backpack.app/))\n- Native DEX operations (Orca, Jupiter)\n- Websockets to register/trigger custom events (account change, signature status, programs, ...)\n- Solana Mobile Stack support\n- Solana Wallet Adapter\n\n## 🚩 Upcoming\n- Seed Vault\n- Raindrops integration, see the [DAO proposal](https://app.realms.today/dao/DTP/proposal/AyEMvQTicTBZJjfVkrhMRYTGEWczwHrdXpPuV74VpRt9) \n\n## 📌 Dependencies\n- Solana.Unity.Wallet\n- Solana.Unity.Rpc\n- Solana.Unity.Dex\n- Solana.Unity.Gum\n- Solana.Unity.Extensions\n- Solana.Unity.KeyStore\n- Solana.Unity.Programs\n- Newtonsoft.Json\n- Chaos.NaCl.Standard\n- Portable.BouncyCastle\n- Zxing\n- UniTask\n\n## ➕ Installation\n\n* Open [Unity Package Manager](https://docs.unity3d.com/Manual/upm-ui.html) window.\n* Click the add **+** button in the status bar.\n* The options for adding packages appear.\n* Select Add package from git URL from the add menu. A text box and an Add button appear.\n* Enter the `https://github.com/magicblock-labs/Solana.Unity-SDK.git` Git URL in the text box and click Add.\n* Once the package is installed, in the Package Manager inspector you will have Samples. Click on Import\n* You may also install a specific package version by using the URL with the specified version.\n  * `https://github.com/magicblock-labs/Solana.Unity-SDK.git#vX.Y.X`\n  * Please note that the version `X.Y.Z` stated here is to be replaced with the version you would like to get.\n  * You can find all the available releases [here](https://github.com/magicblock-labs/Solana.Unity-SDK/releases).\n  * The latest available release version is [![Last Release](https://img.shields.io/github/v/release/magicblock-labs/Solana.Unity-SDK)](https://github.com/Smagicblock-labs/Solana.Unity-SDK/releases/latest)\n* You will find a sample scene with a configured wallet in `Samples/Solana SDK/0.0.x/Simple Wallet/Solana Wallet/scenes/wallet_scene.unity`\n\n## 👷 Step-by-step instructions\n1. If you have an older version of Unity that doesn't have imported Newtonsoft.Json just import it.\n2. Create a new scene.\n3. Import WalletController prefab into your scene.\n4. Set RPC Cluster (Mainnet/Testnet/Devnet/Custom uri) on SimpleWallet script in WalletController prefab.\n5. If you use custom URI be careful to use WS/WSS instead of HTTP/HTTPS because WebSocket does not work with HTTP / HTTPS.\n6. Create new Canvas\n7. Import WalletHolder prefab into the Canvas or if you want your design just import wallet prefab and customize the scene.\n\n\n## 💚 Open Source\nOpen 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.\n\n## ✨ Contributors \u0026 Community\n\nThanks go to these wonderful people:\n\n\u003ca href=\"https://github.com/magicblock-labs/Solana.Unity-SDK/graphs/contributors\"\u003e\u003cimg width=\"100%\" src=\"https://magicblock-labs.github.io/Solana.Unity-SDK/metrics.repository.svg\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://github.com/magicblock-labs/Solana.Unity-SDK/stargazers\"\u003e\u003cimg width=\"100%\" src=\"https://magicblock-labs.github.io/Solana.Unity-SDK/people.repository.svg\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicblock-labs%2FSolana.Unity-SDK","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagicblock-labs%2FSolana.Unity-SDK","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicblock-labs%2FSolana.Unity-SDK/lists"}