EVM blockchain SDK for Unity Game Developers. Currently supports WebGL builds with MetaMask wallet integration. Multiple platform support and additional wallet integrations are coming in future updates.
// Add BlockchainManager to a GameObject
var manager = gameObject.AddComponent<BlockchainManager>();
// Connect to MetaMask
manager.ConnectWallet();
// Subscribe to events
manager.OnWalletConnected += (result) => Debug.Log($"Connected: {result.address}");
manager.OnBalanceReceived += (result) => Debug.Log($"Balance: {result.formattedBalance} {result.currencySymbol}");
Configure your blockchain network through Unity Editor:
- Go to Tomicz Engineering > Chain Config
- Set your network name, chain ID, RPC URL, and currency symbol
- Click Update Config to save
- Ethereum/EVM Chain Integration: Full support for Ethereum and EVM-compatible blockchains
- MetaMask Wallet Integration: Seamless connection with MetaMask browser extension
- WebGL Support: Optimized for Unity WebGL builds
- Smart Contract Interaction: Complete Nethereum integration for contract calls and transactions
- Configuration Management: Easy blockchain network configuration through Unity Editor
- Account Management: Wallet connection, account switching, and balance checking
- Transaction Signing: Support for standard transactions and EIP-712 typed data signing
- Multi-Chain Support: Ethereum, Optimism, Besu, Geth, and other EVM chains
- HD Wallet Support: Hierarchical deterministic wallet functionality
- Sign-In with Ethereum (SIWE): Web3 authentication capabilities
- ๐ User Guide - Step-by-step setup and usage
- ๐ง API Reference - Complete API documentation
- ๐๏ธ Architecture - Technical architecture overview
- ๐งช Examples - Code examples and use cases
- ๐ Troubleshooting - Common issues and solutions
For complete, ready-to-use examples demonstrating how to integrate blockchain functionality into Unity applications, check out our Unity Blockchain SDK Examples repository.
- MetaMask Integration: Complete example with UI for connecting to MetaMask
- Wallet Management: Connect, disconnect, and manage wallet connections
- Balance Checking: Get and display wallet balances
- Network Support: Support for multiple Ethereum networks
- Real-time UI Updates: Automatic UI updates based on connection state
- Configuration Examples: Network setup and RPC provider examples
Perfect for developers who want to see the plugin in action or need a starting point for their own implementations.
- Import the plugin into your Unity project
- Configure your network in Tomicz Engineering > Chain Config
- Add
BlockchainManager
to a GameObject - Build for WebGL platform
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.
Built with โค๏ธ by Tomicz Engineering