https://github.com/dappsar/unity-web3-chainsafe-onlylogin
A Simple Unity App with wseb3 Login that use ChainSafe SDK
https://github.com/dappsar/unity-web3-chainsafe-onlylogin
blockchain chainsafe csharp docker docker-compose metamask unity3d walletconnect web3
Last synced: 2 months ago
JSON representation
A Simple Unity App with wseb3 Login that use ChainSafe SDK
- Host: GitHub
- URL: https://github.com/dappsar/unity-web3-chainsafe-onlylogin
- Owner: dappsar
- Created: 2023-02-19T13:23:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-20T03:35:11.000Z (over 3 years ago)
- Last Synced: 2025-07-04T01:39:41.746Z (12 months ago)
- Topics: blockchain, chainsafe, csharp, docker, docker-compose, metamask, unity3d, walletconnect, web3
- Language: C#
- Homepage:
- Size: 33.8 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README





# Demo Unity App with Web3 Login
## Introduction
A simple demo to show a Web3 Login developed with [chainSafe SDK for Unity](https://github.com/ChainSafe/web3.unity).


## Technology Stack & Tools
- [Unity](https://unity.com/)
- [Web3](https://en.wikipedia.org/wiki/Web3)
- [C#](https://learn.microsoft.com/es-es/dotnet/csharp/)
- [ChainSafe SDK for Unity](https://github.com/ChainSafe/web3.unity)
## Requirements For Initial Setup
- [Unity Hub](https://unity.com/download)
- [Docker](https://docs.docker.com/engine/install/)
- [Docker-compose](https://docs.docker.com/compose/)
## Setting Up
### 1. Clone/Download the Repository
`$ git clone repo_url`
### 2. Open in Unity
- Open folder in Unity (tested in Unity Editor **2022.2.7f1**).
- Build or Build and Run!.
### 3. Run Release
1. Download release from [here](https://github.com/dappsar/unity-web3-chainsafe-onlylogin/releases/download/v1.0.0/release-v1.0.0.zip)
2. Unzip release in root folder:

3. Execute this command to build container wtih script:
`$ ./build.sh -n web3-demo -p8120 -d .`
Notes:
- _web3-demo_: It is the container name.
- _'.'_: It indicates the sub-folder within the 'Builds' folder that contains the build files. Assumes the files are in the root of builds folder.
Another option, use docker-compose:
`$ docker-compose up -d`
4. Open browser in: http://localhost:8120
---
## References
- [ChainSafe Web3 Unity SDK](https://docs.gaming.chainsafe.io/)
- [Unity Engine + MetaMask Wallet](https://medium.com/coinmonks/unity-engine-metamask-wallet-6797d4699e45)
- [Chainsafe Gaming SDK - Making Blockchain Games Plug & Play](https://www.youtube.com/watch?v=qa2TatYgvYs)
- [ChainSafe Registration Project Site](https://dashboard.gaming.chainsafe.io/)
- [Goerli Faucet](https://goerli-faucet.pk910.de/)