https://github.com/crossmint/evm-wallets-dynamic-quickstart
https://github.com/crossmint/evm-wallets-dynamic-quickstart
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/crossmint/evm-wallets-dynamic-quickstart
- Owner: Crossmint
- Created: 2025-04-21T20:47:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-21T21:26:15.000Z (about 1 year ago)
- Last Synced: 2025-04-21T22:30:37.544Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://evm-wallets-dynamic-quickstart.vercel.app/
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction
This quickstart demonstrates how to build and manage Crossmint wallets on EVM chains using Dynamic Auth Embedded wallets as the authentication layer, allowing these wallets to function as signers for your Crossmint wallet operations.
**Learn how to:**
- Create a wallet
- View its balance for ETH and ERC20 tokens
- Send a transaction
- Add delegated signers to allow third parties to sign transactions on behalf of your 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%2Fevm-wallets-dynamic-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/evm-wallets-dynamic-quickstart.git && cd evm-wallets-dynamic-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 API key from [here](https://docs.crossmint.com/introduction/platform/api-keys/client-side) and add it to the `.env` file.
```bash
NEXT_PUBLIC_CROSSMINT_API_KEY=your_api_key
```
5. Get a Dynamic Environment ID from [here](https://app.dynamic.xyz/dashboard) and add it to the `.env` file.
```bash
NEXT_PUBLIC_DYNAMIC_ENV_ID=your_env_id
```
6. 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).
2. Create a [production Dynamic Environment ID](https://app.dynamic.xyz/dashboard) and add it to the `.env` file.
3. Update the `NEXT_PUBLIC_CHAIN` variable in the `.env` file to the chain you want to use. (default is `optimism-sepolia`)