Function Signature
Description
Exports private key offline without requiring server communication. This function is useful for scenarios where you need to export keys without network connectivity.Parameters
Required Parameters
keyShares(any[]) - Array of key shares
Optional Parameters
derivationPath(string) - Derivation path for the key (e.g., “m/44’/501’/0’/0’” for Solana)
Returns
Promise<string>- The exported private key
Example
Error Handling
Related Functions
exportPrivateKey()- Export private key with server communicationofflineExportKey()- Export key offline