Create user wallets from your backend in under 5 minutes
Install the SDK
npm i @crossmint/wallets-sdk
Create a wallet
import { CrossmintWallets, createCrossmint } from "@crossmint/wallets-sdk"; const crossmint = createCrossmint({ apiKey: "<your-server-api-key>", }); const crossmintWallets = CrossmintWallets.from(crossmint); const wallet = await crossmintWallets.createWallet({ chain: "<your-chain>", signer: { type: "<signer-type>", }, }); console.log(wallet.address);
users.create
users.read
wallets.read
wallets.create
wallets:transactions.create
wallets:transactions.sign
wallets:balance.read
wallets.fund
Was this page helpful?