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:

Creating a Wallet

Wallet creation requires a recovery method — used for account recovery and adding new signers. On client-side SDKs, a device signer is automatically added as the default operational signer.
In the React, React Native, and Node.js SDKs, the recovery wallet-creation property is deprecated. Pass recoveryMethods instead — it takes a list, so a single recovery method is written as recoveryMethods: [{ type: "email" }].
See the React SDK reference for all parameters.
The REST API uses config.recoveryMethods (recovery methods) and config.delegatedSigners (operational signers). These map to recoveryMethods and signers in the TypeScript SDKs. The REST adminSigner field is deprecated: it accepts a single recovery method and cannot be combined with recoveryMethods.

Retrieving an Existing Wallet

Use getWallet() to retrieve a wallet that was previously created. If the wallet does not exist, it throws a WalletNotAvailableError.

Get-or-Create Pattern

If you want to retrieve an existing wallet or create one if it does not exist, use WalletNotAvailableError to implement the pattern:
On client-side SDKs (React, React Native), if you use CrossmintWalletProvider with the createOnLogin prop, the wallet is created automatically when the user logs in — no manual createWallet call is needed.

Next Steps

Transfer tokens

Send tokens between wallets

Add signers

Register operational signers on your wallet

Fund your wallet

Get testnet tokens to start testing