Releases: thirdweb-dev/unity
Releases · thirdweb-dev/unity
v5.22.0
v5.21.0
[Beta] Your In-App Wallets can now be upgraded directly to an EIP7702 Smart Account with a simple connection flag!
Additions from Thirdweb's .NET SDK Release 2.21.0 bring us an amazing EIP-7702 integration, which allows you to turn any In-App Wallet EOA into a Smart EOA, getting all the functionality you love from SmartWallet
, without all the things you hate about it (see .NET release above).
Upgrade In-App Wallet to get gas sponsorship and more, all while preserving the wallet type and the address.
// Turn your boring EOAs into Smart EOAs!
var smartIaw = await ConnectWallet(
new WalletOptions(
provider: WalletProvider.InAppWallet,
chainId: 11155111, // Sepolia supports EIP-7702
inAppWalletOptions: new InAppWalletOptions(
authprovider: AuthProvider.Google,
executionMode: ExecutionMode.EIP7702Sponsored // new!
)
)
);
ThirdwebDebug.Log("Connected to InAppWallet: " + await smartIaw.GetAddress());
// Execute a transaction as usual, execution is managed by thirdweb seamlessly!
var receipt = await smartIaw.Transfer(11155111, await smartIaw.GetAddress(), 0);
ThirdwebDebug.Log($"Transfer receipt: https://sepolia.etherscan.io/tx/{receipt.TransactionHash}");
v5.20.1
v5.20.0
v5.19.3
What's Changed
WalletProvider.MetaMaskWallet
is now compatible with injected Phantom wallets.
Note: This wallet provider will be renamed to WalletProvider.Injected
in a future version for clarity, and implement additional browser-specific EIPs.
v5.19.2
v5.19.1
What's Changed
- Fixed
WalletProvider.MetaMaskWallet
(for using wallet browser extensions on Web targets) not setting initial active chain id correctly.- This did not cause issues when using MetaMask.
- This did cause issues when using another injected browser wallet that overrides MetaMask.
- You can now use wallets like Rabby with
WalletProvider.MetaMaskWallet
.
Thank you @PixeledSlama!