Skip to main content

What is Crossmint SDK?

Crossmint SDK is a powerful suite of TypeScript libraries that enables developers to seamlessly integrate blockchain functionality into their applications. Whether you’re building a Web3 app, adding wallet capabilities, or implementing decentralized authentication, Crossmint provides the tools you need.

Wallets SDK

Create and manage multi-chain wallets on Solana and 20+ EVM chains

Authentication

Implement secure client-side and server-side authentication flows

React Components

Pre-built UI components for wallets, NFTs, and authentication

Verifiable Credentials

Issue and verify decentralized credentials

Key Features

Build once, deploy everywhere. Crossmint supports:
  • Solana - Native SOL and SPL tokens
  • 20+ EVM Chains - Ethereum, Polygon, Base, Arbitrum, Optimism, and more
  • Unified API - Same code works across all supported chains
Multiple authentication methods out of the box:
  • Email OTP (passwordless)
  • Social logins (Google, Twitter/X, Farcaster)
  • Web3 wallet connections
  • Bring your own authentication system
Built with developer experience in mind:
  • Type-safe TypeScript APIs
  • Comprehensive documentation
  • Real-world examples
  • React hooks and components
Enterprise-grade security and reliability:
  • Secure key management
  • HttpOnly cookie support
  • Custom storage providers
  • Server-side rendering support

Core Packages

Wallets

@crossmint/wallets-sdk

Create and manage custodial wallets programmatically. Supports wallet creation, balance checking, token transfers, and custom transactions on multiple chains.
npm install @crossmint/wallets-sdk

Authentication

@crossmint/client-sdk-auth

Client-side authentication with support for cookies, React Native secure storage, and custom storage providers.

@crossmint/server-sdk

Server-side authentication for Next.js, Remix, and other SSR frameworks with HttpOnly cookie support.

React UI

@crossmint/client-sdk-react-ui

Complete React SDK with providers, hooks, and pre-built components for authentication, wallets, and NFT display.
npm install @crossmint/client-sdk-react-ui

Verifiable Credentials

@crossmint/client-sdk-verifiable-credentials

Issue, verify, and manage decentralized verifiable credentials for identity and attestation use cases.

Quick Example

Here’s a taste of what you can build with Crossmint:
import { useAuth, useWallet } from "@crossmint/client-sdk-react-ui";

export default function WalletDemo() {
  const { login, user } = useAuth();
  const { wallet } = useWallet();

  if (!user) {
    return <button onClick={login}>Sign In</button>;
  }

  return (
    <div>
      <p>Welcome {user.email}!</p>
      <p>Wallet: {wallet?.address}</p>
      <button onClick={() => wallet?.send(recipient, "usdc", "10")}>
        Send 10 USDC
      </button>
    </div>
  );
}

Next Steps

1

Install the SDK

Choose the packages that fit your use case and install them via npm, yarn, or pnpm.Installation Guide →
2

Get Your API Key

Sign up for a Crossmint account and get your API keys from the developer console.Get API Keys →
3

Follow the Quickstart

Build your first wallet-enabled application in under 5 minutes.Quickstart Guide →
4

Explore Examples

Check out our collection of example applications and code snippets.View Examples →
New to Web3? Don’t worry! Crossmint abstracts away the complexity of blockchain development. You don’t need to understand gas fees, private keys, or transaction signing to get started.

Getting Help

Documentation

Comprehensive guides and API references

GitHub

View source code and report issues

Discord Community

Join our community for support and discussions

Support

Contact our support team

Build docs developers (and LLMs) love