Skip to content

thirdweb-example/unity-immutable-passport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);