Overview
The CDP Server Wallet offers a secure method for creating EVM and Solana Accounts from imported private keys. The import flow is end-to-end encrypted between the CDP SDK and the TEE, ensuring that keys are never exposed outside of the secure enclave during the request. Encrypted by the SDK in a way that only the TEE can decrypt the keys, this process enables seamless and secure import of your keys.EVM Accounts: Import from external wallet providers
You can import private keys from other wallet providers by exporting them as raw, hex-encoded 32-byte strings. To complete the import, useimportAccount in TypeScript or import_account in the Python CDP SDK.
Only private key import is supported. To import an HD Wallet, derive individual private keys from the seed and import them one by one.
Solana Accounts: Import from external wallet providers
Here’s an example of how to import a Solana account with a base58-encoded private key from a wallet provider like Phantom.Video: Watch and learn
Watch this video for a walkthrough of importing keys:What to read next
- v2 Server Wallet Security: Learn more about the security features of the CDP v2 Server Wallet.
- Policies: Learn more about governing behavior of v2 accounts.
- Exporting Accounts: Learn more about exporting EVM and Solana accounts.