Setup Demos - ajuna-network/Polkadot.Unity.SDK GitHub Wiki

Setting Up the Environment for Demos

This page provides detailed instructions on how to set up the environment for various demos included in the Polkadot SDK for Unity. Each demo has specific setup requirements which are outlined below.

Demo Explorer

image

Overview

The Demo Explorer allows users to connect to and interact with Polkadot and Kusama networks. It's designed to give a hands-on experience with blockchain functionalities without the need for extensive setup.

Setup Requirements

  • Direct Connection: By default, the Demo Explorer connects to the Polkadot and Kusama networks without additional setup.
  • Transaction Feature Testing:
    • To test transaction features, you have two options:
      1. Local Blockchain Setup: Set up a local blockchain to test transactions in a controlled environment. This is recommended for testing and development purposes. Refer to the Local Blockchain Setup Guide.
      2. Demo Game Blockchain Setup: If you have already set up the environment for the Demo Game (which includes a local blockchain), you can use this setup as well.

Demo Wallet

image

Overview

The Demo Wallet demonstrates the process of wallet creation and the storage of encrypted wallet files.

Setup Requirements

  • No Additional Setup Required: This demo is designed to run independently without the need for a local blockchain or any other specific environment setup. It focuses on the user experience of wallet creation and management within the application.

Demo Game- Hexalem

image

Overview

The Demo Game demonstrates a fully on-chain multiplayer mobile strategy game, ready to hack and explore.

Setup Requirements

For the Demo Game, you have a couple of options to set up the necessary environment:

  1. Refer to the Setup Guide:

    • Detailed instructions for setting up the environment for the Demo Game can be found in the repository at Substrate Hexalem Node GitHub. This guide will walk you through all the necessary steps to get the game up and running.
  2. Using Docker:

    • If you prefer a quicker setup, you can use Docker to run the necessary node for the Demo Game. Simply execute the following command in your Docker environment:
      docker run --rm -it substrateGaming/hexalem-node
      
    • This command will download and run the Hexalem Node, setting up the backend required for the Demo Game.

Additional Tips

  • Ensure you have Docker installed and properly configured on your system before running the above command.
  • The Docker method provides a convenient and fast way to set up the required environment for the Demo Game, making it ideal for quick testing and demonstrations.

Support

If you encounter any issues or have questions regarding the setup process, please refer to the Support and Contact section.