ThirdwebProvider
The ThirdwebProvider
is a wrapper component that provides access to all of the SDK’s hooks and UI components.
Usage
Wrap your app in the ThirdwebProvider
to access the SDK’s functionality from anywhere in your app.
import { ThirdwebProvider } from "@thirdweb-dev/react";
function Example() {
return (
<ThirdwebProvider
activeChain="ethereum"
clientId="your-client-id"
>
<App />
</ThirdwebProvider>
);
}