Skip to content

Crossmint/wallets-expo-quickstart

Repository files navigation

Image

Wallets Expo Quickstart

Introduction

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

Setup

  1. Clone the repository and navigate to the project folder:
git clone https://github.com/crossmint/wallets-expo-quickstart.git && cd wallets-expo-quickstart
  1. Install all dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun install
  1. Set up the environment variables:
cp .env.template .env
  1. 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.

  2. Add the API key to the .env file.

EXPO_PUBLIC_CLIENT_CROSSMINT_API_KEY=your_api_key
  1. Run the app:
npx expo run:ios && npx expo run:android

Using in production

  1. Create a production API key.

  2. Add the API key to the .env file.

EXPO_PUBLIC_CLIENT_CROSSMINT_API_KEY=your_api_key

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •