General UX guidelines
We've created StarknetKit to be the all-in-one SDK for Starknet development, catering for users across both mobile and web browsers. To fully take advantage of StarknetKit, we recommend you heed to the guidelines below.
For Desktops
For desktop users, depending on your use case, you can go with either the full connection options or choose to implement particular connectors.
For Mobile web
For mobile web browsers, we recommend showing options to connect with either mobile apps or web wallet (since extensions are not supported).
For In-App Mobile browsers
For in-app mobile browsers, e.g Argent Mobile, we recommend auto-connecting users to the mobile app once the "connect" button is clicked, without popping up a modal.
For dapps that use starknet-react, you could achieve this by checking if the user is in an in-app browser and if yes connect automatically. You could make reference to the Argent Mobile (opens in a new tab) section.
Integrating the network switcher
For dApps across both Starknet mainnet and testnet, you would find the network switcher very useful.
The wallet_switchStarknetChain
can be used by dapps to request that the wallet switches its active Starknet Network.
For integration guides, check out our official docs (opens in a new tab).