.NET/Unity - New Login Methods, Better Account Abstraction Config

Firekeeper

What's Changed

  • Added AuthProvider.Twitch as a new auth provider option for logging in with In-App or Ecosystem Wallets.
  • Upgrading an EcosystemWallet to a SmartWallet without passing optional parameters will now attempt to use defaults from your dashboard Account Abstraction settings if any.
    • Create a SmartWallet with an EcosystemWallet as a signer and no additional conflicting overrides to make use of this feature.
    • Explicitly passed SDK overrides will always take priority over dashboard options.
    • If dashboard options are unavailable/unset, we revert to previous default values for gas sponsorship and account factories.
02d6d8e631ec48f44a87c32c983f03c3

This comes after a couple patches worth noting:

  • Added AuthProvider.Github as a new auth provider option for logging in with In-App or Ecosystem Wallets.
  • MetaMaskWallet: GetAddress now enforces returning correctly checksummed address.
  • WalletConnectWallet: Closing the modal now throws and interrupts the connection process properly.
  • WalletConnect and MetaMask wallet providers now hexify messages passed to IThirdwebWallet.PersonalSign before signing.
    • If you were signing a hash or a string starting with 0x before, nothing changes.
    • If you were signing a raw message like "Hello World" UTF8 String, we'd hexify it before sending it over to the wallet.
    • This fixes display issues on the latest version of MetaMask (specially mobile) which no longer supports plain text parameters for personal_sign.
  • Removes latest parameter from eth_estimateGas being used in ThirdwebTransaction.EstimateGasLimit on non-zk chains and methods that use it by extension, fixing issues on chains that do not support that parameter such as Binance Testnet.
  • When using WalletConnect, attempts to fetch current active chain if applicable by corresponding wallet and avoid the additional requests to ensure correct network upon connection if unnecessary.

Links

.NET Release | Nuget Release | Unity Release

Docs | Support