Node
Learn how to import existing SVM private keys into Dynamic’s MPC wallet 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' }); console.log('Solana wallet imported:', wallet.accountAddress); console.log('Public key:', wallet.rawPublicKey);
TWO_OF_TWO
TWO_OF_THREE
Was this page helpful?