How do I ensure all the wallets I expect are shown in the widget?
- Ensure you have enabled the chains in the dashboard. It can sometimes happen that you missed enabling a chain in the dashboard, or did it for a different environment than the one you are testing in. Check the chains and networks tab to be sure.
- Ensure you have enabled the wallet connectors for the chains you want to show. Double check that you have added the right wallet connectors in your Dynamic Context Provider.
-
Ensure you are not encountering a CSP issue.
Check for any errors like “Refused to connect because it violates the document’s Content Security Policy.” in your console/networks tab, it means you need to add
dynamic-static-assets.com
to your server CSP.
How do I add a new network?
Add a custom EVM network. Add a custom Solana network. Add a custom Cosmos network.How do I set a custom RPC URL?
Set a custom RPC URL in code, or in the Dynamic Dashboard (when you enable a network, there is a dropdown to set your own RPC URL).How do I control whether the user is redirected or opened in an in-app browser on mobile?
You can control how users connect on mobile devices using themobileExperience
prop. You can set it globally or per wallet:
How do I control whether the user must have an enabled network available in their wallet before connecting?
You can control how the SDK enforces wallet networks using thenetworkValidationMode
prop. Available options are:
'always'
- requires the wallet to be on an enabled network while connecting and during the session'sign-in'
- only enforces the network on connect'never'
- turns off network validation
How do I hide something in the Dynamic Widget?
The easiest way to hide something is to use custom CSS directly.How do I control what wallets are shown for wallet login?
- Via the chains/networks you enable in the dashboard (don’t forget to add the correct wallet connectors too).
- Filter or sort the wallets using our various sort and filter methods.
- Create tabs using the Wallet List feature (see what this looks like on Magic Eden!).
How do I track visitors in the dashboard when using connect-only mode?
This commonly happens when you have not set enableVisitTrackingOnConnectOnly to true.How can I change the order of my social login options?
You can change the order of your social login options by using thesocialProvidersFilter
prop. This is a function that takes an array of social providers and returns a new array with the providers in the order you want.
How can I trigger social login via redirect vs a popup?
Thesocial
prop on the DynamicContextProvider
take a strategy
field whose value can be set to 'redirect'
or 'popup'
.