Skip to main content

Recommended: JavaScript SDK for React Native

While this SDK is still supported, we recommend using newer JavaScript SDK, which is optimized for React Native, but also comes with a host of other benefits.
If you have multi-wallet enabled, your users might have multiple wallets connected at once. Read here to learn more about multi-wallet. You can use our wallets module to get access to all your user’s wallets and perform actions with them:

Working your Primary Wallet

You can access the primary wallet via client.wallets.primary as well as set it with client.wallets.setPrimary. This example sets the first user wallet as the primary wallet on click:
The wallets module also provides a collection of useful methods to perform actions with your users’ wallets. You can read more about the module here.
Last modified on July 24, 2026