thirdweb@5.82.0
Minor Changes
-
#5801
429e112
Thanks @gregfromstl! - Feature: Adds beta support for EIP-7702 authorization listsimport { prepareTransaction, sendTransaction, signAuthorization, } from "thirdweb"; const authorization = await signAuthorization({ request: { address: "0x...", chainId: 911867, nonce: 100n, }, account: myAccount, }); const transaction = prepareTransaction({ chain: ANVIL_CHAIN, client: TEST_CLIENT, value: 100n, to: TEST_WALLET_B, authorizationList: [authorization], }); const res = await sendTransaction({ account, transaction, });
-
#5845
b058f68
Thanks @gregfromstl! - Feature: AddsdeploySmartAccount
function to force the deployment of a smart account.const account = await deploySmartAccount({ smartAccount, chain, client, accountContract, });
Fix: Uses 1271 signatures if the smart account is already deployed.