Skip to content

Latest commit

 

History

History
85 lines (66 loc) · 3.73 KB

README.md

File metadata and controls

85 lines (66 loc) · 3.73 KB

Tezos Market SDK

Unity SDK to interact with marketplace on Tezos

Issues License

The Tezos Market 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).

Install from unitypackage file

You can install TezosMarketSdk via .unitypackage file. To load a package from a unitypackage file:

  • Go to Releases page and download the latest TezosMarketSdk.unitypackage.
  • Open your project in Unity Editor.
  • Double-click the TezosMarketSdk.unitypackage file to import it into the current project.

Install from a Git URL

You 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/baking-bad/tezos-market-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/baking-bad/tezos-market-sdk.git#X.Y.Z
    • Please note that the version X.Y.Z 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 Last Release

For more information about what protocols Unity supports, see Git URLs.

Install from NPM

  • 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 of scopedRegistries.
    • Ensure com.baking-bad is part of scopes.
    • Add com.baking-bad.tezos-market-sdk to the dependencies, stating the latest version.

A minimal example ends up looking like this. Please note that the version X.Y.Z stated here is to be replaced with the latest released version, which is currently NPM Package.

{
  "scopedRegistries": [
    {
      "name": "npmjs",
      "url": "https://registry.npmjs.org/",
      "scopes": [
        "com.baking-bad"
      ]
    }
  ],
  "dependencies": {
    "com.baking-bad.tezos-market-sdk": "X.Y.Z",
    ...
  }
}
  • Switch back to the Unity Editor and wait for it to finish importing the added package.