Connect Wallet UI
{
"address": "Connect wallet first",
"connector": "Connect wallet first"
}This demo shows how to use the premade connect wallet UI.
- Import
WalletConnectModalfrom@starknet-io/get-starknet-ui - 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.