The rainbowConfig contains the default config for metadata and UI. you can optionally choose to override the defaults to customize the wallet.Learn more about these configs
constrainbowConfig=rainbowWallet({ ... });
// override metadata
rainbowConfig.meta.name ="..."; // change the name
rainbowConfig.meta.iconURL ="..."; // change the icon
This projectId can be obtained at cloud.walletconnect.com. It is highly recommended to use your own project id and only use the default one for testing purposes.
If chainId is provided, wallet will be connected and immediately switch to network with given chainId.
Chain object corresponding to this chainId from @thirdweb-dev/chains package must be specified in ThirdwebProvider's supportedChains prop as shown below