Other Crypto Tools

Solana Unity CoreSolana Development Library for C# and Unity

A free MIT-licensed C# library for Solana and Unity developers. Explore features, install steps, safety tips and common questions.

Free Open source Windows: Yes v6.0.6 Updated 11 Feb 2026
10 min read Last update 11 Feb 2026 github.com/garbles-labs/solana.unity-core

Solana Unity Core is a free, open-source C# library for developers who want to work with the Solana blockchain from .NET applications and Unity games. It is a ported version of the Solnet library, adapted to run on .NET Standard 2.0 and to work inside Unity projects. The package is released under the MIT license and is aimed at programmers rather than casual users.

If you are building a game, a trading dashboard or a backend service in C# and need to read Solana account data, send SPL tokens or decode transactions, this library gives you the building blocks. It covers the full JSON RPC API and the streaming JSON RPC API, along with wallet, keystore and transaction tools. The latest release is v6.0.6, and the code was last updated on February 11, 2026, so the project is recently updated and in active use.

02

What Is Solana Unity Core?

Solana Unity Core, published under the name Solana.Unity, is a port of Solnet, an earlier .NET client for Solana. The main change is compatibility: the code targets .NET Standard 2.0, which means it can be referenced from many .NET projects, including those that run on older runtimes.

The library can also be used with Unity. That matters because Unity is a common environment for games, simulations and interactive apps, and developers who work in C# there usually want to avoid switching languages just to talk to a blockchain. With this package, the same C# logic can handle account lookups, token transfers and transaction building inside a game.

Think of the library as a toolkit rather than a finished product. It does not give end users a graphical app. Instead, it provides classes and methods that a developer calls from their own code to read network data, manage keys and assemble transactions.

03

Who Is This Library For?

Solana Unity Core is built for programmers who already work in C# or Unity. A typical user is a game developer who wants to show a player's token balance, reward players with SPL tokens, or let them sign simple on-chain actions from within the game.

Backend developers are another audience. A .NET service that monitors account changes, decodes incoming transactions for an internal dashboard, or prepares token transfers can use the RPC and transaction tools without writing low-level request code.

People who are not programmers will get little direct use from the library on its own. If you want to check a balance or send tokens without writing code, a finished wallet application is a better fit. Solana Unity Core is the layer underneath such applications, which is why its features focus on building blocks rather than on a user interface.

04

How Rent Exemption and Token Accounts Work

Two concepts come up repeatedly when working with this library: rent exemption and Associated Token Accounts. On Solana, an account must hold a minimum balance of lamports to be considered rent-exempt, so it is not reclaimed by the network. The library's examples call GetMinimumBalanceForRentExemption for both token accounts and mint accounts, using the data sizes defined in the Token Program, and then wait for the result before creating the account.

An Associated Token Account is a standard address derived from a wallet and a token mint. Each wallet and token pair has one predictable account, which makes it easier for applications to know where tokens should go. When the recipient does not have such an account yet, one can be created during the transfer. The library's comment in its examples notes that the account is created if required and funded by the fee payer.

Understanding these two points helps you budget for transactions and avoid surprises. If you build the account setup yourself, you must calculate the rent amount correctly. If you rely on the TokenWallet, much of that work is handled for you, but you still need to know who pays the fees and account rent in your application.

05

Key features

Full JSON RPC API coverage

The library covers the full Solana JSON RPC API, so your C# code can call node methods directly instead of building raw HTTP requests by hand. Developers get typed calls for reading chain state and submitting transactions, which keeps request handling consistent across a project.

Streaming JSON RPC API coverage

Streaming support lets an application subscribe to updates rather than polling a node on a timer. This suits game clients and dashboards that need to react when account data or transaction status changes, and it reduces the need for repeated requests.

Wallet and account handling

The wallet and account tools are compatible with the sollet and solana-keygen conventions. Keys created with those common Solana tools can be loaded into a project, and developers can generate and manage accounts inside their own code.

Keystore compatibility

The keystore module follows the sollet and solana-keygen conventions, so key files produced by those tools can be read. Keep private keys out of source control, and never hardcode them into a Unity build that ships to players.

Transaction decoding and encoding

Transactions can be decoded from base64 or wire format and re-encoded back into wire format. This is useful when an application receives a serialized transaction, inspects it, and then needs to send a modified version back to the network.

Message decoding and encoding

Transaction messages follow the same round trip: decode them from base64 or wire format, inspect the contents, and encode them back. Developers can check what a message contains before forwarding it, which makes debugging far less guesswork.

Instruction decompilation

Instruction decompilation turns the compiled instruction data in a transaction back into readable program calls. It helps developers verify what a transaction intends to do, which is especially valuable when reviewing transactions produced by other parts of their own code.

TokenWallet for SPL tokens

The TokenWallet object sends SPL tokens and can create Associated Token Accounts just in time when the recipient does not yet have one. Developers do not need to write that account setup logic themselves, which removes a common source of failed transfers.

Native Programs support

The library includes access to Solana's native programs, the built-in on-chain programs that every Solana cluster provides. Calling them through typed classes reduces mistakes in account addresses and instruction layouts.

Solana Program Library integration

Support for the Solana Program Library covers the standard token and account programs used across the ecosystem. Combined with the TokenWallet, this lets a project handle fungible token transfers without importing separate tooling.
06

Supported coins

The library's documentation mentions Ethereum (ETH) alongside Solana (SOL). The API surface is centered on Solana, including its JSON RPC interface, SPL token programs and native programs, so Solana is the network most developers will plan around when using this package.

07

How to install Solana Unity Core on Windows

  1. 1

    Check the current release

    The latest version is v6.0.6, and the code was last updated on February 11, 2026. Check the release notes on the GitHub Releases page to confirm you are downloading the newest build and to see what changed since your last project setup.

  2. 2

    Download the package

    Download only from the official website or the GitHub Releases page for the project. The source code is hosted at github.com/garbles-labs/solana.unity-core. Avoid copies from unofficial mirrors, forums or file-sharing sites, since those may be altered.

  3. 3

    Verify the file

    Compare the SHA-256 checksum of the downloaded file with the value published on the release page, or check the release signature if one is provided. A mismatch means the file should not be used. Delete it and download it again from the official source.

  4. Install and reference the library

    The project offers a Windows build or installer. Run the installer or extract the build, then add the library to your .NET or Unity project so your code can reference its namespaces. Open the project once to confirm it compiles before writing any blockchain code.

08

System requirements

  • Compatible with projects that target .NET Standard 2.0
  • Usable inside Unity projects
09

How to use Solana Unity Core

Solana Unity Core works as a code library, so using it means adding it to a project and calling its classes from your own code. The steps below describe a typical setup for a .NET or Unity project.

  1. Open your project in your development environment and confirm it targets a framework compatible with .NET Standard 2.0, or a Unity version that supports the library.
  2. Add the library to the project, following the layout of the release you downloaded.
  3. Create an RPC client and point it at the Solana endpoint you plan to use. Start with a test environment so mistakes do not cost real tokens.
  4. Load or create a wallet with the wallet and keystore classes, and keep key files outside version control.
  5. Build a transaction, for example a TokenWallet transfer of SPL tokens, then inspect the result with the decoding functions before sending it.
  6. Use the streaming API if your application needs live updates, and handle failed requests in your own code.

Repeat each step on a test network first. Once the flow works reliably, move to production with the same code and a different endpoint.

10

Pros & cons

Pros
  • Covers the full JSON RPC and streaming JSON RPC APIs
  • Compatible with sollet and solana-keygen key conventions
  • Works in both .NET and Unity projects
  • Includes TokenWallet with automatic Associated Token Account creation
  • Free and released under the MIT license
Cons
  • It is a developer library, so it offers no end-user interface
  • Requires working knowledge of C# and Solana concepts such as rent and token accounts
  • Documentation mentions Ethereum, but the API is centered on Solana
11

Is Solana Unity Core safe?

Solana Unity Core handles wallets and keys, so treat it with care. Download only from the official website or the GitHub repository, and verify the SHA-256 checksum or release signature before installing. Never enter a seed phrase on a third-party website, and never paste one into a chat or form that is not part of your own software. Keep private keys out of source control and out of client-side game builds, where players could extract them. The project was recently updated and is not marked as deprecated, but check the latest version on the official website before starting a new project.

  • Official source only. Download from github.com/garbles-labs/solana.unity-core. Ignore ads and lookalike domains.
  • Check the SHA-256. Compare the installer hash with the value the developer publishes before running it.
  • Never share your seed phrase. No developer, support agent or website — including CryptApps — will ever ask for it.
12

Alternatives

Solana Unity Core differs from the other programs in this catalog mainly by chain and language. MEV Boost is middleware for Ethereum block building, aimed at validators and infrastructure operators. TrueBlocks Core focuses on improving access to blockchain data on EVM-compatible chains, particularly Ethereum mainnet. Powershell Algorand Module brings Algorand operations into PowerShell scripts for Windows administrators. Solana Unity Core, by contrast, is a C# library built around Solana's RPC and token programs, with Unity support for game developers. If your project is in .NET and targets Solana, it is the most direct choice; if you work with Ethereum or Algorand, the alternatives above are better matches.

13

Specifications

Price
Free
Type
Open source
License
MIT
Latest version
v6.0.6
Last update
11 Feb 2026
Windows support
Yes (Windows build or installer)
Source code
github.com/garbles-labs/solana.unity-core
14

Frequently asked questions

Yes. Solana Unity Core is free and released under the MIT license, which allows use in both open-source and commercial projects. Check the license text in the repository for the full terms before shipping a product that includes it.

The library itself is an open-source code package, and its safety depends on how you download it and how you handle keys. Get it only from the official sources, verify the checksum or signature, and never store private keys in source control or client-side builds.

Yes. The project offers a Windows build or installer through its releases. Windows users can install it and reference it from a .NET or Unity project, which is the main way it is used.

Yes, the library can be used with Unity. Game developers can call its RPC, wallet and TokenWallet features from C# scripts to read balances, send SPL tokens or handle transaction data within a game project.

Solana Unity Core is a ported version of Solnet. It is adapted to be compatible with .NET Standard 2.0 and can be used with Unity, which makes it easier to bring Solana features into game and cross-platform .NET projects.

The documentation mentions Ethereum (ETH) and Solana (SOL). The library's features are centered on Solana, including its JSON RPC API, SPL tokens and native programs, so most work with it will involve Solana.

Yes. Solana Unity Core is a library, not a finished application, so you need to be comfortable with C# and basic blockchain concepts. Beginners in Unity can start with small test projects on a test network before building anything larger.

15

Verdict

Solana Unity Core is a solid choice for C# and Unity developers who want a full-featured way to work with Solana from their own code. It covers the JSON RPC and streaming APIs, key compatibility with common Solana tools, transaction and message handling, and SPL token transfers with automatic token account creation. It is free, MIT-licensed and recently updated. It is not suited to people looking for a ready-made wallet or a point-and-click tool. If you write .NET or Unity code and need Solana support, it deserves a close look.

Download now