Overview
This guide shows you how to import existing TON private keys into Dynamic’s MPC wallet system. This is useful when migrating from traditional TON wallets or integrating with existing systems.Prerequisites
- Set up your Dynamic project
- Have your existing TON private key ready
Import Your TON Private Key
Offline Export
If you need to export the private key from existing key shares without a network call, useofflineExportPrivateKey():
Security Considerations
- Private Key Format: Ensure your private key is in the correct format (hex or base64)
- Password Security: Use a strong, unique password
- Key Storage: Never store private keys in plain text after import
- Backup: Ensure you have a secure backup of your original private key
- Key Share Backup: Use
backUpToClientShareService: truefor secure key share storage
Threshold Signature Schemes
Choose based on your security and availability needs:TWO_OF_TWO: Maximum security, requires both server and DynamicTWO_OF_THREE: Balanced security and availability