Function Signature
Description
Creates a new EVM wallet account with the specified threshold signature scheme. Returns wallet information including the account address, public keys, and external server key shares.Parameters
Required Parameters
thresholdSignatureScheme
(ThresholdSignatureScheme
) - The threshold signature scheme for the wallet
Optional Parameters
password
(string
) - Wallet password for additional securityonError
((error: Error) => void
) - Error callback functionbackUpToClientShareService
(boolean
) - Whether to back up to client share service (defaults to false)
Returns
Promise<object>
- Object containing wallet information:accountAddress
- The wallet’s account addresspublicKeyHex
- Public key in hex formatrawPublicKey
- Raw public key objectexternalServerKeyShares
- Array of external server key shares (ServerKeyShare[]
)walletId
- Unique wallet identifier
Example
Error Handling
Related Functions
importPrivateKey()
- Import existing private keygetEvmWallets()
- Get all EVM wallets