Skip to content

Crossmint/evm-wallets-dynamic-quickstart

Repository files navigation

Image

Crossmint Wallets EVM Quickstart (Dynamic)



Image

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.

Deploy with Vercel

Setup

  1. Clone the repository and navigate to the project folder:
git clone https://github.com/crossmint/evm-wallets-dynamic-quickstart.git && cd evm-wallets-dynamic-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. Get a Crossmint API key from here and add it to the .env file.
NEXT_PUBLIC_CROSSMINT_API_KEY=your_api_key
  1. Get a Dynamic Environment ID from here and add it to the .env file.
NEXT_PUBLIC_DYNAMIC_ENV_ID=your_env_id
  1. Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Using in production

  1. Create a production API key.
  2. Create a production Dynamic Environment ID 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)

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •