ERC20 Paymaster Support, Connect UI Transactions, and readContract msg.sender

Using Account Abstraction, you can now pay for gas using any ERC20! Just set the erc20Paymaster
override to the paymaster of your choice when sending a smart account transaction.

Quick demo of the ERC20 Paymasters support in the @thirdweb connect SDK!
— Joaquim (@joenrv) July 16, 2024
What if @circle $USDC was all you ever needed to use onchain apps? pic.twitter.com/Yj2nai2fkk
The Connect UI now shows transactions completed during the current session. This is enabled automatically, there's no additional configuration needed! We're working on making this history persistent beyond a single session.

You can now specify a from
field when reading contracts with readContract
or useReadContract
. This is useful for contract methods that may behave differently based on the msg.sender
.

- Connect UI components now respect custom RPC passed via the
chain
prop - Improved gas buffer when gas estimation fails on Pay transactions