Skip to content

thirdweb@5.82.0

Compare
Choose a tag to compare
@jnsdls jnsdls released this 07 Jan 07:59
· 1370 commits to main since this release
2d996cc

Minor Changes

  • #5801 429e112 Thanks @gregfromstl! - Feature: Adds beta support for EIP-7702 authorization lists

    import {
      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: Adds deploySmartAccount 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.