Users can create multiple blockchain accounts of each type within their Embedded Wallet. This enables organizing funds across different purposes, separating assets, and managing complex workflows without requiring separate wallet authentications.Key capabilities:
Up to 10 EVM EOA accounts per user
Up to 10 Solana accounts per user
Up to 10 EVM Smart Accounts per user (each requires a unique EOA owner)
Account Metadata: Each account includes creation timestamp and ownership information
Flexible creation: Create accounts on-demand based on your application’s needs
When createOnLogin is configured in your provider settings, only one account of the specified type is created automatically. Additional accounts must be created manually using the methods described below.
Smart Accounts (ERC-4337) are programmable wallets with advanced features like batch transactions and gas sponsorship. Each Smart Account requires a unique EOA owner, and users can create up to 10 Smart Accounts (one per EOA account).
For non-React applications, use the core SDK functions:
Report incorrect code
Copy
Ask AI
import { createEvmEoaAccount } from "@coinbase/cdp-core";// Create a new EOA accountconst account = await createEvmEoaAccount();console.log("Address:", account.address);console.log("Created:", new Date(account.createdAt).toLocaleDateString());
Multiple accounts enable various organizational and functional patterns:
Organizing funds by purpose: Separate accounts for personal, business, and savings to keep funds organized
Separating assets by network: Different accounts optimized for specific networks or token types
Managing different identities: Maintain separate blockchain identities for public and private transactions
Separating NFT collections: Organize NFTs across different accounts by collection, purpose, or value
Different trading strategies: Separate accounts for different trading approaches or risk profiles
Multi-purpose fund management: Organize funds across multiple accounts based on liquidity needs
Smart account configurations: Different Smart Account setups for different use cases (e.g., sponsored vs. non-sponsored flows)
Managing spending policies: Separate Smart Accounts with different spending permissions and rules
Account limits: Users are limited to 10 accounts of each type (i.e. 30 accounts total). Always check the current count before attempting to create new accounts.
Smart Account owners: Each Smart Account requires a unique EOA owner; you cannot create multiple Smart Accounts with the same EOA. Each of the user’s EOA accounts can own one Smart Account, creating a one-to-one relationship.