Solana Toolbelt for Unity
 

Your all-in-one toolkit to build Solana-powered games and interactive experiences

free, open source, and ready today.

 

Why Solana Toolbelt?

 

Purpose-built for Unity: Integrates natively into your Unity workflow so you can focus on gameplay instead of boilerplate blockchain code.

Fast on Solana: Leverages Solana’s high throughput and low fees to support real-time, player-driven economies.

Free & Open Source: Available at no cost. Learn from the code, contribute improvements, and help grow open user-generated content (UGC) for everyone.

 

Key Features & What They’re Used For

 

Wallet Integration

Non-custodial wallet flows: Connect existing Solana wallets so players keep control of their assets.

In-app wallet creation: Onboard new users without leaving your game.

 

Transaction & Signing Pipeline

One-click transaction builders: Craft and send Solana transactions with minimal boilerplate.

Secure signing UX hooks: Prompt players to sign actions safely inside your game UI.

 

NFT & Token Management

Minting & metadata updates: Create game items or collectibles as NFTs directly from Unity.

Token transfers & balances: Move SPL tokens and check holdings for in-game currencies and rewards.

 

On-Chain State & Program Interaction

Program calls made simple: Read/write on-chain accounts to sync game state with Solana programs.

Custom program support: Hook into your own on-chain logic for quests, leaderboards, or marketplaces.

 

Identity & Session Handling

Session keys: Reduce repeated signing prompts by using scoped, time-limited session keys.

Player identity links: Tie in-game profiles to wallet addresses for reputation and progression.

 

Data & Serialization Helpers

Borsh/Anchor utilities: Work with Solana-native data structures without manual parsing.

Typed account readers: Strongly-typed accessors to avoid runtime surprises.

 

Dev Experience & Debugging

Editor-friendly tools: Inspect accounts, simulate calls, and test flows inside the Unity Editor.

Testnet/mainnet toggles: Switch environments quickly for staging vs. production.

 

Samples & Templates

Starter scenes: Drop-in examples for wallets, minting, trading, and on-chain interactions.

UGC-ready flows: Patterns for user item creation, marketplace listing, and trading loops.

 

What You Can Build

Player-owned economies with tradable items and currencies

Open UGC pipelines where players mint, trade, and upgrade assets

Competitive games with on-chain leaderboards and verifiable rewards

Social hubs, marketplaces, and interoperable assets across experiences

 

Getting Started

Install the Unity package via the Unity Package Manager or import from source.

Connect to devnet to experiment safely, then switch to mainnet when you’re ready.

Customize the samples to fit your game loop—wallet connect, minting, trading, and program calls.

Ship with confidence using the built-in signing flows and data helpers.

 

Open Source, Community-Driven

Free forever: No licensing fees.

Transparent code: Learn, adapt, and extend to your needs.

Community-first: Contribute fixes, features, or docs to push open UGC forward.

 

Jump in now: install the Solana Toolbelt for Unity, explore the sample scenes, and ship your next Solana-integrated game;

faster, safer, and with the full power of open source behind you.

 

https://github.com/NanoRes/Solana-Toolbelt