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
- 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
.envfile.
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- Run the app:
npx expo run:ios && npx expo run:android-
Create a production API key.
-
Add the API key to the
.envfile.
EXPO_PUBLIC_CLIENT_CROSSMINT_API_KEY=your_api_key