Skip to main content

Prerequisites

  • API Key: Ensure you have an API key with the scopes: wallets.create.

Try it Live

Experience wallet creation in action with this interactive demo. Create a Solana testnet wallet using just your email address:

Create a Wallet

import { useWallet } from '@crossmint/client-sdk-react-ui';

const { getOrCreateWallet } = useWallet();

const wallet = await getOrCreateWallet({
    chain: "base-sepolia",
    signer: {
        type: "email",
        email: "user@example.com"
    },
});
See the React SDK reference for all parameters.