https://github.com/crossmint/wallets-expo-quickstart
https://github.com/crossmint/wallets-expo-quickstart
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/crossmint/wallets-expo-quickstart
- Owner: Crossmint
- Created: 2025-06-18T22:58:34.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-09-22T10:20:44.000Z (9 months ago)
- Last Synced: 2025-09-22T11:33:40.975Z (9 months ago)
- Language: TypeScript
- Size: 1.24 MB
- Stars: 1
- Watchers: 0
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction
Create and interact with Crossmint wallets. This quickstart uses Crossmint Auth and uses your email as a signer for that wallet.
**Learn how to:**
- Create a wallet
- View its balance for USDXM (USDXM is a test stablecoin by Crossmint) and native tokens
- View wallet transaction activity
- Send USDXM or native tokens to another wallet
- Add delegated signers to allow third parties to sign transactions on behalf of your wallet
## Setup
1. Clone the repository and navigate to the project folder:
```bash
git clone https://github.com/crossmint/wallets-expo-quickstart.git && cd wallets-expo-quickstart
```
2. Install all dependencies:
```bash
npm install
# or
yarn install
# or
pnpm install
# or
bun install
```
3. Set up the environment variables:
```bash
cp .env.template .env
```
4. Set up your Crossmint client API key:
a. Create a developer account in the Crossmint [Staging Console](https://staging.crossmint.com/console). Open that link, sign in, and accept the dialog to continue.
b. Get the **client API key** from the overview page of your project.
5. Add the API key to the `.env` file.
```bash
EXPO_PUBLIC_CLIENT_CROSSMINT_API_KEY=your_api_key
# Check all supported chains: https://docs.crossmint.com/introduction/supported-chains
EXPO_PUBLIC_CHAIN=your_chain // optional, default is solana
```
6. Run the app:
```bash
npx expo run:ios && npx expo run:android
```
## Using in production
1. Create a [production API key](https://docs.crossmint.com/introduction/platform/api-keys/client-side).
2. Add the API key to the `.env` file.
```bash
EXPO_PUBLIC_CLIENT_CROSSMINT_API_KEY=your_api_key
```