Introducing ChainSafe Gaming
ChainSafe Gaming is a complete toolkit of web3 gaming products and services for studios, developers, and players that includes our web3.unity SDK, an NFT minter, marketplaces and lootboxes.
The ChainSafe Gaming docs is your portal to learn more about our products and services.
Web3.unity, An SDK To Bring Games To The Blockchain
Your journey in blockchain-enabled gaming begins with our SDK. We recommend you follow the package manager installation in the getting started section. If you'd like to see the source code repository you can do so here.
Web3.unity is a modular open-source gaming SDK written in C# and developed by ChainSafe Gaming. It connects games built in the Unity game engine to the blockchain. The library currently supports games built for web browsers (WebGL), iOS/Android mobile, and desktop. Web3.unity is compatible with most EVM-based chains such as Ethereum, Polygon, Avalanche, Base, Skale, Cronos, Godwoken, and Binance Smart Chain, letting developers easily choose and switch between them to create the best in-game experience.
Features of Web3.unity
Out-of-the-box, Web3.unity comes with Unity sample scripts, scenes, prefabs & tooling that will make building web3 games easier. These features include:
- In-game and no-code NFT minting
- Voucher-based NFT minting implementation
- In-game and web marketplaces for NFTS
- Web3 wallet builds for desktop, mobile (iOS or Android), and browser games (WebGL)
- Social logins
- Sign & verify digital signatures
- Multiple ERC-20, ERC-721, ERC-1155 token interactions
- Custom smart contract interactions
- ... many more!
Ready To Get Started?
Current SDK Builds (v2.x)
Click here to open documentation for the latest version of web3.unity.
Supported Chains
Web3.Unity should work with any EVM based network on the blockchain. Below you'll find a list of tested and approved networks, however you can find a wider range of supported networks on Chainlist:
Network Name | Type of Chain | Chain ID |
---|---|---|
ETH Mainnet | Mainnet | 1 |
Sepolia | Testnet | 11155111 |
Polygon | Mainnet | 137 |
Amoy | Testnet | 80002 |
BSC | Mainnet | 56 |
BSC | Testnet | 97 |
Avalanche | Mainnet | 43114 |
Avalanche | Testnet | 43113 |
Base | Mainnet | 8453 |
Cronos | Mainnet | 25 |
Cronos | Testnet | 338 |
Moonbeam | Mainnet | 1284 |
SKALE Nebula | Mainnet | 1482601649 |
SKALE Nebula | Testnet | 503129905 |
SKALE Chaos | Testnet | 1351057110 |
Additional Resources
If you are new to web3.unity and blockchain-enabled gaming, we recommend that you read over these docs carefully, starting with Current SDK Builds (v2.x). If you are new to building with the Unity game engine, the Unity3D manual is a great place to start as well as learn Unity.
- Our Discord is an active community of game devs sharing tips and tricks with each other
- Hop into our office hours every Wednesday at 9 am EST to get help with your code, brainstorm ideas, or provide feedback to the team.
- Our Twitter periodically provides news and updates, and shares our community's work
- Our YouTube provides a set of video tutorials and how-to guides on using web3.unity:
Contribute
All contributions are welcomed! The web3.unity docs is intended to be a living document and requires the contributions of many to be maintained.
Please use GitHub Issues to propose any large changes and to facilitate discussion and questions regarding content and structure.
It is recommended you review the Docusaurus docs to ensure you utilize its features correctly.
After making a PR, you can validate your proposed changes by clicking on the View deployment
link in the Checks
section.