RPC and Wallet
Last updated
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