Prerequisites
- Dynamic Unity SDK initialized (see Installation Guide)
ClientPropsDataconfigured with App Origin- A deep link scheme configured in your Unity Player Settings
- Chains enabled in your Dynamic dashboard
- Wallet login enabled under External Wallets in the dashboard
Dashboard configuration
- Go to Chains & Networks in the Dynamic dashboard and enable the chains you want to support (e.g. EVM, Solana).
- Go to Log in & User Profile in the Dynamic dashboard and toggle on Wallet Log in under External Wallets.
- Go to Security → Whitelist Mobile Deeplink and add your app’s redirect URL (e.g.
myapp://). This is required for the wallet app to return to your app after approval.
SDK configuration
In the Unity Editor, create aClientPropsData asset at Assets > Create > DynamicSDK > Client Props and configure it in the Inspector:
Initialize the SDK from a
MonoBehaviour in Awake:
Deep link setup
External wallet connections open the wallet app using deep links. The wallet app then redirects back to your app using the URL scheme you configured. Configure your app’s deep link scheme in the Unity Player Settings for iOS and Android. The scheme must match the redirect URL whitelisted in the Dynamic dashboard (for example,myapp://).
Show the auth UI
The simplest way to let users connect an external wallet is to show the Dynamic auth UI. The SDK presents available wallet options, opens the selected wallet app, and handles the redirect automatically.Listen for connected wallets
After a wallet is connected, it appears in the user’s wallet list. Subscribe toOnUserWalletsChanged and read UserWallets to react to new or updated wallets:
Filter connected wallets
You can separate EVM and Solana wallets by chain:Set the primary wallet
If a user connects multiple wallets, you can set one as the primary wallet:Troubleshooting
- Wallet app does not open: Verify your app’s URL scheme is configured in the Unity Player Settings and matches the redirect URL whitelisted in the dashboard.
- Wallet does not appear after connection: Ensure you are subscribed to
OnUserWalletsChangedand checkingUserWallets. - Connection fails after redirect: Confirm App Origin is set in
ClientPropsDataand matches the origin registered in the dashboard.
Next steps
- Wallet Creation for embedded wallets
- SDK Reference
- Token Balances