{"id":19509299,"url":"https://github.com/trilitech/tezos-unity-sdk-examples","last_synced_at":"2025-07-23T12:08:23.220Z","repository":{"id":157338610,"uuid":"633422520","full_name":"trilitech/tezos-unity-sdk-examples","owner":"trilitech","description":"Scene-by-scene examples demonstrating the Tezos SDK For Unity","archived":false,"fork":false,"pushed_at":"2023-06-12T18:38:48.000Z","size":4326,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-15T19:48:05.967Z","etag":null,"topics":["blockchain","crypto","dapp","decentralization","defi","gaming","nft","tezos","unity","web3"],"latest_commit_sha":null,"homepage":"http://tezos.com/unity","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trilitech.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-27T13:14:45.000Z","updated_at":"2024-03-19T08:42:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc553b3b-dd57-4122-ba60-476c3e78d3f2","html_url":"https://github.com/trilitech/tezos-unity-sdk-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trilitech/tezos-unity-sdk-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trilitech%2Ftezos-unity-sdk-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trilitech%2Ftezos-unity-sdk-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trilitech%2Ftezos-unity-sdk-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trilitech%2Ftezos-unity-sdk-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trilitech","download_url":"https://codeload.github.com/trilitech/tezos-unity-sdk-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trilitech%2Ftezos-unity-sdk-examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266673578,"owners_count":23966375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","crypto","dapp","decentralization","defi","gaming","nft","tezos","unity","web3"],"created_at":"2024-11-10T23:11:37.091Z","updated_at":"2025-07-23T12:08:23.194Z","avatar_url":"https://github.com/trilitech.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\n# Tezos SDK For Unity - Examples\n\nThis **Unity Project** demonstrates key features of the \"Tezos SDK For Unity\". It contains one isolated Unity Scene for each feature.\n\n### Getting Started\n1. Download this repo (*.zip or *.git)\n1. Download the [Unity Editor](https://store.unity.com/#plans-individual)\n1. Open this repo in the Unity Editor\n1. Enjoy!\n\n### Documentation\n* \u003ca href=\"https://opentezos.com/gaming/unity-sdk\"\u003eWeb Documentation\u003c/a\u003e - **Overview** of the \"Tezos SDK For Unity\"\n\n\n### Configuration\n* **Unity Project** - \u003ca href=\"./Unity/\"\u003e./Unity/\u003c/a\u003e\n* **Unity Version** - [Version](./Unity/ProjectSettings/ProjectVersion.txt)\n* **Unity Target** - [Standalone MAC/PC](https://support.unity.com/hc/en-us/articles/206336795-What-platforms-are-supported-by-Unity-)\n* **Unity Menus** - See `Unity → Window → Tezos → Tezos SDK For Unity → Open ReadMe` for additional orientation\n* **Unity Dependencies** - The [Unity Package Manager](https://docs.unity3d.com/Manual/upm-ui.html) resolves all project dependencies from the [Manifest.json](./Unity/Packages/manifest.json) including the \u003ca href=\"https://github.com/trilitech/tezos-unity-sdk\"\u003eTezos SDK For Unity\u003c/a\u003e. No further action is required\n\n\n### Videos\n\nThis **Unity Project** is featured in the following videos.\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003cth\u003eTezos SDK For Unity - Authentication\u003c/th\u003e\n\u003cth\u003eTezos SDK For Unity - NFTS\u003c/th\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\u003ca href=\"https://tbd/youtube/link\"\u003e\u003cimg width=\"500\" src=\"./Unity/Assets/Tezos/TezosSDKExamples/Documentation/Images/YT_Thumbnail_Video_03.png\" /\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd\u003e\n\u003ca href=\"https://tbd/youtube/link\"\u003e\u003cimg width=\"500\" src=\"./Unity/Assets/Tezos/TezosSDKExamples/Documentation/Images/YT_Thumbnail_Video_04.png\" /\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n\n### Screenshots\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003cth\u003eExample01_Authentication\u003c/th\u003e\n\u003cth\u003eExample02_NFTTokenGating\u003c/th\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\u003ca href=\"./Unity/Assets/Tezos/TezosSDKExamples/Documentation/Images/Example01_Authentication.png\"\u003e\u003cimg width=\"500\" src=\"./Unity/Assets/Tezos/TezosSDKExamples/Documentation/Images/Example01_Authentication.png\" /\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd\u003e\n\u003ca href=\"./Unity/Assets/Tezos/TezosSDKExamples/Documentation/Images/Example02_NFTTokenGating.png\"\u003e\u003cimg width=\"500\" src=\"./Unity/Assets/Tezos/TezosSDKExamples/Documentation/Images/Example02_NFTTokenGating.png\" /\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n\n### Features\n\nThis project showcases several key features and use-cases for the \"Tezos SDK For Unity\". Here are highlights.\n\n**Authentication**\n\nUser connects to the blockchain with a Tezos-compatible mobile wallet.\n\nTo see this feature in action, play the `Example01_Authentication` Scene. The \u003ca href=\"./Unity/Assets/Tezos/TezosSDKExamples/Scripts/Runtime/Tezos/TezosSDKExamples/Scenes/Example01_Authentication.cs\"\u003eExample01_Authentication.cs\u003c/a\u003e class provides a full demonstration. Here is partial snippet.\n\n```csharp\n\n// Store reference for convenience\nITezosAPI tezos = TezosSingleton.Instance;\n\n// Determines if the user is authenticated \nif (!tezos.HasActiveWalletAddress())\n{\n    // Makes a call to connect with a wallet\n    tezos.ConnectWallet();\n}\n```\n\n**NFTs**\n\nUser checks ownership of a given NFT. In production, this may unlock related game features.\n\nTo see this feature in action, play the `Example02_NFTTokenGating` Scene. The \u003ca href=\"./Unity/Assets/Tezos/TezosSDKExamples/Scripts/Runtime/Tezos/TezosSDKExamples/Scenes/Example02_NFTTokenGating.cs\"\u003eExample02_NFTTokenGating.cs\u003c/a\u003e class provides a full demonstration. Here is partial snippet.\n\n```csharp\n\n// Setup\nstring demoNFTAddress = \"KT1BRADdqGk2eLmMqvyWzqVmPQ1RCBCbW5dY\";\nint demoTokenId = 1;\n            \n// Store reference for convenience\nITezosAPI tezos = TezosSingleton.Instance;\n        \n// Returns the address of the current active wallet\nstring activeWalletAddress = tezos.GetActiveWalletAddress();\n\n// Determines if the user account owns a given Nft\nbool hasTheNft = tezos.IsOwnerOfToken(\n    activeWalletAddress, \n    demoNFTAddress, \n    demoTokenId);\n\nif (hasTheNft)\n{\n    // Unlock special game features\n}\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrilitech%2Ftezos-unity-sdk-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrilitech%2Ftezos-unity-sdk-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrilitech%2Ftezos-unity-sdk-examples/lists"}