Imports an existing EVM private key into the MPC wallet system
privateKey
(string
) - The private key to import (64 hex characters with 0x
prefix)chainName
(string
) - The chain name (use ‘EVM’ for Ethereum 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 keypublicKeyHex
- Public key in hex formatexternalServerKeyShares
- Array of external server key sharescreateWalletAccount()
- Create new walletexportPrivateKey()
- Export private key