Function ThirdwebProvider

  • The <ThirdwebProvider /> component lets you control what networks you want users to connect to, what types of wallets can connect to your app, and the settings for the Thirdweb SDK.

    Type Parameters

    • TChains extends Chain[] = ({} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {})[]

    Parameters

    • __namedParameters: PropsWithChildren<ThirdwebProviderProps<TChains>>

    Returns Element

    Example

    You can wrap your application with the provider as follows:

    import { ThirdwebProvider } from "@thirdweb-dev/react-native";

    const App = () => {
    return (
    <ThirdwebProvider>
    <YourApp />
    </ThirdwebProvider>
    );
    };

Generated using TypeDoc