Docs
Providers
Providers
Smartkit uses react context to share global variables.
SmartKitClientProvider
Create config to be SmartKitClientProvider value
createConfig parameters
suiClient
Sui RPC endpoint
wallets
Configure the wallet you want to use, automatically including the installed wallets. Support for individual wallets and wallet groups.
Currently supported wallets:
suiWallet
okxWallet
suietWallet
But you can also create a custom wallet.
SmartKitProvider
Set the theme and mode for the connection modal
The theme parameter is used to set the desired theme, although only the default theme is currently supported.
The mode parameter is used to set dark theme or light theme, and the auto parameter is used to automatically switch the theme according to the system settings.