> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Import SVM Private Keys

> Learn how to import existing SVM private keys into Dynamic's MPC wallet system

## Overview

This guide shows you how to import existing Solana private keys into Dynamic's MPC wallet system. This is useful when migrating from traditional Solana wallets or integrating with existing systems.

## Prerequisites

* [Set up your Dynamic project](/node/quickstart)
* Have your existing Solana private key ready

## Import Your Solana Private Key

```typescript theme={"system"}
import { authenticatedSvmClient } from './client';
import { ThresholdSignatureScheme } from '@dynamic-labs-wallet/node';

const svmClient = await authenticatedSvmClient();

const wallet = await svmClient.importPrivateKey({
  privateKey: 'YourSolanaPrivateKey',
  chainName: 'SVM',
  thresholdSignatureScheme: ThresholdSignatureScheme.TWO_OF_TWO,
  password: 'your-secure-password',
  backUpToDynamic: true,
});

console.log('Solana wallet imported:', wallet.accountAddress);
console.log('Public key:', wallet.rawPublicKey);
console.log('External server key shares:', wallet.externalServerKeyShares);
```

## Security Considerations

* **Private Key Format**: Ensure your private key is in the correct format
* **Password Security**: Use a strong, unique password
* **Key Storage**: Never store private keys in plain text after import
* **Backup**: Ensure you have a secure backup of your original private key
* **Key Share Backup**: Use `backUpToDynamic: true` for secure key share storage

## Threshold Signature Schemes

Choose based on your security and availability needs:

* **`TWO_OF_TWO`**: Maximum security, requires both server and Dynamic
* **`TWO_OF_THREE`**: Balanced security and availability

## Next Steps

* [Sign Solana transactions](/node/svm/sign-transactions)
* [Sign Solana messages](/node/svm/sign-messages)
