Create and interact with Crossmint wallets using Crossmint Auth to handle user authentication.
Learn how to:
- Create a wallet
- View its balance for SOL and SPL tokens
- Send a transaction
- Add delegated signers to allow third parties to sign transactions on behalf of your wallet
- Clone the repository and navigate to the project folder:
git clone https://github.com/crossmint/wallets-expo-quickstart.git && cd wallets-expo-quickstart
- Install all dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun install
- Set up the environment variables:
cp .env.template .env
-
Set up your Crossmint client API key:
a. Create a developer account in the Crossmint Staging 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.
-
Add the API key to the
.env
file.
EXPO_PUBLIC_CLIENT_CROSSMINT_API_KEY=your_api_key
- Run the app:
npx expo run:ios && npx expo run:android
-
Create a production API key.
-
Add the API key to the
.env
file.
EXPO_PUBLIC_CLIENT_CROSSMINT_API_KEY=your_api_key