https://github.com/crossmint/wallets-quickstart
https://github.com/crossmint/wallets-quickstart
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/crossmint/wallets-quickstart
- Owner: Crossmint
- Created: 2025-06-02T12:10:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-09-15T18:02:52.000Z (9 months ago)
- Last Synced: 2025-09-15T20:11:24.294Z (9 months ago)
- Language: TypeScript
- Homepage: https://wallets.demos-crossmint.com
- Size: 274 KB
- Stars: 5
- Watchers: 0
- Forks: 4
- Open Issues: 1
-
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
## Deploy
Easily deploy the template to Vercel with the button below. You will need to set the required environment variables in the Vercel dashboard.
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FCrossmint%2Fwallets-quickstart&env=NEXT_PUBLIC_CROSSMINT_API_KEY)
## Setup
1. Clone the repository and navigate to the project folder:
```bash
git clone https://github.com/crossmint/wallets-quickstart.git && cd wallets-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. Get a Crossmint client API key from [here](https://docs.crossmint.com/introduction/platform/api-keys/client-side) and add it to the `.env` file. Make sure your API key has the following scopes: `users.create`, `users.read`, `wallets.read`, `wallets.create`, `wallets:transactions.create`, `wallets:transactions.sign`, `wallets:balance.read`, `wallets.fund`.
```bash
NEXT_PUBLIC_CROSSMINT_API_KEY=your_api_key
# Check all supported chains: https://docs.crossmint.com/introduction/supported-chains
NEXT_PUBLIC_CHAIN=your_chain
```
5. Run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
## Using in production
1. Create a [production API key](https://docs.crossmint.com/introduction/platform/api-keys/client-side).`