Imports an existing SVM private key into the MPC wallet system
privateKey
(string
) - The Solana private key to importchainName
(string
) - The chain name (use ‘SVM’ for Solana chains)thresholdSignatureScheme
(ThresholdSignatureScheme
) - The threshold signature scheme for the walletpassword
(string
) - Wallet password for securityPromise<object>
- Object containing wallet information:
accountAddress
- The wallet’s account addressrawPublicKey
- Raw public keyexternalServerKeyShares
- Array of external server key sharescreateWalletAccount()
- Create new walletexportPrivateKey()
- Export private key