RPC and Wallet

  • RPC – The widget reads RPC from localStorage: is-custom-rpc, custom-rpc-url, custom-rpc-index. Use RpcSettings in 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. with createDAppKit) and wrap the tree in DAppKitProvider. CustomConnectButton triggers the kit’s connect flow; when connected, it opens the widget’s account sidebar.

Last updated