Skip to content

Getting Started with Eidolon.Unity

Welcome to Eidolon.Web3, your gateway to seamlessly integrate blockchain functionality into your Unity games. With Eidolon.Web3, you can harness the power of the Ethereum blockchain to create immersive and decentralized gaming experiences. This introduction will guide you through the essential steps to get started with Eidolon.Web3 and enable you to build games that interact with the blockchain.

Overview

Eidolon.Unity provides a comprehensive toolkit to simplify Ethereum integration within your Unity WebGL projects. Whether you’re developing a blockchain-based collectible game, integrating cryptocurrencies, or building a decentralized virtual world, Eidolon.Unity offers the tools and utilities you need. Here’s an overview of what Eidolon.Unity can do for you:

  • Blockchain Interaction: Eidolon.Unity allows you to interact with the Ethereum blockchain effortlessly. With just a few lines of code, you can perform various operations, such as sending transactions, reading contract data, and managing accounts.

  • Wallet Integration: Connect to popular browser wallets like MetaMask, TrustWallet, and Enkrypt. Eidolon.Unity seamlessly integrates with these wallets, providing your users with a familiar and secure way to manage their assets.

  • ERC Standards Support: Eidolon.Unity supports Ethereum’s ERC-20, ERC-721, and ERC-1155 token standards, enabling you to work with a wide range of blockchain assets and NFTs.

  • WebGL Compatibility: Designed to work seamlessly with Unity WebGL, Eidolon.Unity ensures that your games can be easily deployed to the web, allowing players to experience your blockchain-powered creations directly in their browsers.

To get started with Eidolon.Unity and build blockchain-enabled games for Unity WebGL, follow these steps:

  1. Setting up Eidolon: Begin by configuring Eidolon for your Unity project. The Quick Start documentation provides instructions on how to set the global RPC (Remote Procedure Call) URL and more to prepare your project for Ethereum interaction.

  2. Connecting Browser Wallets to Eidolon: Dive into the Browser Wallets documentation to learn how to use the Wallet class to connect to wallets, switch chains, send transactions, and retrieve account information. This step ensures that your players can use their preferred wallets to interact with your game.

  3. Working with Token Standards: If your game involves working with ERC-20, ERC-721, or ERC-1155 tokens, you can explore the relevant documentation for each standard:

  4. Examples: We also have our growing list of examples available to provide you with the bigger picture.

By following this recommended usage flow, you’ll be well-equipped to build blockchain-powered games for Unity WebGL using Eidolon.Unity. Each step provides essential information and links to specific documentation to help you achieve your game development goals.

Ready to embark on your blockchain gaming journey? Let’s dive into the world of Eidolon.Unity and create incredible gaming experiences that leverage the Ethereum blockchain!