Wallet config for Smart Wallet.
import { ThirdwebProvider, smartWallet, metamaskWallet,} from "@thirdweb-dev/react-native"; <ThirdwebProvider supportedWallets={[ smartWallet(metamaskWallet(), { factoryAddress: "factory-address", gasless: true, }), ]}> <YourApp /></ThirdwebProvider>;
function smartWallet( wallet: WalletConfig<any>, config: SmartWalletConfig,): WalletConfig<SmartWallet>;
The EOA wallet config to be connected to the SmartWallet
let wallet: WalletConfig<any>;
The config for SmartWallet
let config: SmartWalletConfig;
let returnType: WalletConfig<SmartWallet>;
The wallet config to be used by the ThirdwebProvider