Docs

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 .

Example

You can wrap your application with the provider as follows:

import { ThirdwebProvider } from "@thirdweb-dev/react";
const App = () => {
return (
<ThirdwebProvider
clientId="YOUR_CLIENT_ID"
activeChain="ethereum"
>
<YourApp />
</ThirdwebProvider>
);
};

Parameters

Returns