Docs

smartWallet

Wallet config for Smart Wallet.

Example

import {
ThirdwebProvider,
smartWallet,
metamaskWallet,
} from "@thirdweb-dev/react-native";
<ThirdwebProvider
supportedWallets={[
smartWallet(metamaskWallet(), {
factoryAddress: "factory-address",
gasless: true,
}),
]}
>
<YourApp />
</ThirdwebProvider>;

Parameters

Returns

The wallet config to be used by the ThirdwebProvider