Skip to content

Releases: thirdweb-dev/unity

v2.0.8

22 May 20:20
4ae1bf6
Compare
Choose a tag to compare

Changelog

  • [Native] Added Metamask SDK support for native platforms.
  • [General] Added SignTypedDataV4 to Wallet API - note that behavior might vary based on provider and whether byte[] is part of the data.
  • [General] Added Metamask SDK customizeable UI to ThirdwebManager native prefabs.
  • [General] Cleaned up package structure, added support for Android External Dependency Manager.

Note: To support the Metamask SDK, set Android minimum API to 7 and make sure you Resolve dependencies from Assets > External Dependency Manager > Android Resolver > Resolve or Force Resolve at least once before building. In some cases, setting Managed Stripping Level to minimal when using IL2CPP is also helpful - you can find it under Player Settings > Other Settings > Optimization

You can try out the SDK by selecting the Metamask option in our example scene's Prefab_ConnectWallet button!

v2.0.7

18 May 23:46
22425c1
Compare
Choose a tag to compare

Changelog

  • [General] Prefab_ConnectWallet is now cross-platform. Simply choose the wallets you want to support from the inspector and the buttons will show up. UI for some providers is now instantiated dynamically. Add networks to your ThirdwebManager and they will show up.
  • [General] Added support for MagicLink (MagicAuth passwordless email login) for WebGL, Android and iOS.
  • [General] sdk.wallet.Connect API now requires a WalletConnection parameter - pass in the WalletProvider, chainId, password (if using local wallets) and email (if using MagicLink).
  • [General] Added magicLinkApiKey optional field to the ThirdwebManager for those wanting to support it.

The current MagicLink implementation is in beta.

Note: WalletProviders currently available on non-WebGL platforms are WalletConnectV1 (all platforms), LocalWallet (all platforms) and MagicLink (Android, iOS, WebGL)

v2.0.6

15 May 20:06
7e0b3d8
Compare
Choose a tag to compare

Changelog

  • [General] sdk.wallet.Connect() API changed to accept a WalletConnection object that consists of a WalletProvider enum, chain id, and optional arguments. This replaces the struct WalletConnection and WalletProvider types to allow for better suggestions.
  • [Native] Prefab_ConnectWalletNative does not require supportedNetworks field in the inspector anymore, now fetched from ThirdwebManager.
  • [WebGL] Prefab_ConnectWallet does not require supportedNetworks field in the inspector anymore, now fetched from ThirdwebManager.

v2.0.5

02 May 23:34
38371e4
Compare
Choose a tag to compare

Changelog

  • [Native] WalletConnect hotfix
  • [General] Fixed .GetAll skipping last token ID

v2.0.4

01 May 21:25
c985e10
Compare
Choose a tag to compare

Changelog

  • [WebGL] Fixed WalletConnect connections, updated bridge
  • [Native] The ThirdwebManager now supports AppOptions from the inspector
  • [Native] The ThirdwebManager now supports gasless domain and version overrides (optional)
  • [Native] Passing a private key to generate signatures is now allowed (not advised client side)
  • [Native] Fixed payload requests' price parameter being considered wei instead of eth as input
  • [General] ToEth and FormatERC20 utility functions now have an optional addCommas param

v2.0.3

07 Apr 08:29
77c1b52
Compare
Choose a tag to compare

Changelog

  • [Native] Removed preservation of WalletConnect sessions after closing the app, now only preserves it on pause/unpause
  • [Native] Fixed unnecessary WalletConnect callbacks when starting the app and connecting after disconnecting one or more times

v2.0.2

07 Apr 01:05
7370866
Compare
Choose a tag to compare

Changelog

  • [Native] Improved WalletConnect session connectivity
  • [Native] Fixed Android WalletConnect callback issues
  • [Native] Fixed WalletConnect errors thrown when receiving a null RPC response
  • [General] Improved Inspector backwards-compatibility for prefabs
  • [General] ThirdwebManager now uses a simple list, you can add new chains from the inspector without further changes
  • [General] Prefab_ConnectWallet and Prefab_ConnectWalletNative inspector serialized dictionaries changed to lists
  • [General] Added helper functions to ThirdwebManager to retrieve chain data at runtime

Pro tip: right click on the ThirdwebManager Component and select "Reset" to bring back popular chains into the list if needed.

v2.0.1

06 Apr 05:36
89cb2b9
Compare
Choose a tag to compare

Changelog

  • [WebGL] Fixed custom contract Read/Write calls

v2.0.0

04 Apr 18:00
d6bdbcd
Compare
Choose a tag to compare

Stable v2 release of the unity SDK!

  • Support for any platform (Desktop/Mobile/Console/VR/WebGL)
  • Revamped prefabs for wallet connection, nft renderers
  • Support for latest contracts, including Marketplace v3
  • Support for gasless
  • Support for generated wallets (Device wallet)

And more! check out the full documentation: https://portal.thirdweb.com/unity

v2.0.0-alpha3

23 Mar 22:35
Compare
Choose a tag to compare

Changelog

Improvements

  • [Native] WalletConnect now automatically adds the target chain and switches to it if needed.
  • [Native] Wallet.GetBalance now displays the correct name and symbol of the chain's native currency.

User Interface

  • [Native] Improved Device Wallet - Password Panel UI
  • [Native] Prefab_ConnectWallet got a brand new look!
  • [WebGL] Prefab_ConnectWallet got a brand new look!

Structure changes

  • Added Resources/all_chains.json

Which team are you on, WebGL or Native?