React Native
Create user wallets from your frontend in under 5 minutes
Before you start
Set up your project and get an API key.
Expo Wallets Quickstart
See a full working example.
Install the SDK
Run the following command to install the SDK:
Add the Crossmint providers to your app
Add the necessary Crossmint providers to your app. This example uses Crossmint Auth but you can use any authentication provider of your choice.
With the current setup, a wallet will be created automatically on login.
Allow users to login and logout
Add a component to authenticate the user.
Use the wallet
Access and use the wallet object.
Launching in Production
For production, the steps are almost identical, but some changes are required:
- Create a developer account on the production console
- Create a production client API key on the API Keys page with the API scopes
users.create
,users.read
,wallets.read
,wallets.create
,wallets:transactions.create
,wallets:transactions.sign
,wallets:balance.read
,wallets.fund
- Replace your test API key with the production key
Launching in Production
For production, the steps are almost identical, but some changes are required:
- Create a developer account on the production console
- Create a production client API key on the API Keys page with the API scopes
users.create
,users.read
,wallets.read
,wallets.create
,wallets:transactions.create
,wallets:transactions.sign
,wallets:balance.read
,wallets.fund
- Replace your test API key with the production key
Learn More
Check Balances
Check the balance of a wallet.
Transfer Tokens
Send tokens between wallets.
Delegated Signers
Add delegated signers to a wallet.