Skip to content
Connect Wallet UI

Connect Wallet UI

{
  "address": "Connect wallet first",
  "connector": "Connect wallet first"
}

This demo shows how to use the premade connect wallet UI.

  1. Import WalletConnectModal from @starknet-io/get-starknet-ui
  2. Place the <WalletConnectModal /> component where you want the "connect wallet button"

The UI takes care of wallet discovery, showing the correct wallet icon, and showing the user which wallet they last used with the current dapp.

Link to GitHub