The Tezos Unity SDK invites developers to discover the future of Web3 gaming with a complete kit that empowers game developers with the ability to:
- Connect to a Tezos wallet
- Utilize data on the blockchain
- Call smart contracts
- True ownership of in-game assets
The Tezos SDK supports Desktop, Android, iOS and browsers. Beyond allowing game developers to interact with the Tezos blockchain, this SDK is a helpful resource for developing any Tezos decentralized application (dApp).
Yoy can install the UPM package via directly Git URL. To load a package from a Git URL:
- Open Unity Package Manager window.
- Click the add + button in the status bar.
- The options for adding packages appear.
- Select Add package from git URL from the add menu. A text box and an Add button appear.
- Enter the
https://github.com/trilitech/tezos-unity-sdk.git
Git URL in the text box and click Add. - You may also install a specific package version by using the URL with the specified version.
https://github.com/trilitech/tezos-unity-sdk.git#X.Y
- Please note that the version
X.Y
stated here is to be replaced with the version you would like to get. - You can find all the available releases here.
- The latest available release version is
For more information about what protocols Unity supports, see Git URLs.
- Navigate to the
Packages
directory of your project. - Adjust the project manifest file
manifest.json
in a text editor. - Ensure
https://registry.npmjs.org/
is part ofscopedRegistries
.- Ensure
com.trilitech
is part ofscopes
. - Add
com.trilitech.tezos-unity-sdk
to thedependencies
, stating the latest version.
- Ensure
A minimal example ends up looking like this. Please note that the version X.Y
stated here is to be replaced with the latest released version which is currently .
{
"scopedRegistries": [
{
"name": "npmjs",
"url": "https://registry.npmjs.org/",
"scopes": [
"com.trilitech"
]
}
],
"dependencies": {
"com.trilitech.tezos-unity-sdk": "X.Y",
...
}
}
- Switch back to the Unity Editor and wait for it to finish importing the added package.