Optional
activeThe network to use for the SDK.
Optional
authThe configuration used for thirdweb auth usage. Enables users to login to backends with their wallet.
Optional
autoWhether or not to attempt auto-connect to a wallet.
Optional
autoTimeout for auto-connecting wallet in milliseconds
If wallet fails to connect in this time, it will stop trying to connect and user will have to manually connect
15000
Optional
autoWhether or not to automatically switch to wallet's network to active chain
Optional
clientOptional
createOptional
dMetadata to pass to wallet connect and walletlink wallet connect. (Used to show which dApp is being connected to in mobile wallets that support it)
Defaults to just the name being passed as thirdweb powered dApp
.
Optional
queryOptional
sdkThe SDKOptions | Thirdweb SDK Options to pass to the thirdweb SDK comes with sensible defaults
Optional
secretOptional
signerOptional
storageThe storage interface to use with the sdk.
Optional
supportedChains to support. If not provided, will default to the chains supported by the SDK.
An array of wallets that the dApp supports If not provided, will default to Metamask (injected), Coinbase wallet and Device wallet
You can Import the wallets you want to support from @thirdweb-dev/wallets
and pass them to supportedWallets
import { ThirdwebProvider } from "@thirdweb-dev/react";
const App = () => {
return (
<ThirdwebProvider>
<YourApp />
</ThirdwebProvider>
);
};
Optional
themeGenerated using TypeDoc
The possible props for the ThirdwebProvider.