/unity-immutable-passport

Thirdweb Unity SDK x Immutable Passport Example

Primary LanguageC#Apache License 2.0Apache-2.0

unity-immutable-passport

Thirdweb Unity SDK x Immutable Passport Example

Differences with base Unity SDK

  • Adds the Passport packages
  • Adds ImmutablePassportWallet.cs
  • Adds assembly references to Thirdweb.Unity
  • Adds immutableClientID as a new WalletOptions param.
  • Adds a scheme in AndroidManifest based on Passport dashboard settings.

Usage

var walletOptions = new WalletOptions(
  provider: WalletProvider.ImmutablePassportWallet,
  chainId: 13371,
  immutableClientId: "PASSPORT_CLIENT_ID"
);
IThirdwebWallet wallet = await ThirdwebManager.Instance.ConnectWallet(walletOptions);