RPC and Wallet
RPC – The widget reads RPC from
localStorage:is-custom-rpc,custom-rpc-url,custom-rpc-index. UseRpcSettingsin your header (or elsewhere) so users can pick a predefined RPC or set a custom URL. After changing RPC, a full page refresh is recommended.Wallet – Uses Sui dapp-kit. Your app must create a
dAppKit(e.g. withcreateDAppKit) and wrap the tree inDAppKitProvider.CustomConnectButtontriggers the kit’s connect flow; when connected, it opens the widget’s account sidebar.
Last updated