Post
Share your knowledge.
How to Convert and Import an Old Private Key Successfully
How can I import my wallet if my old private key is invalid?
- Sui
- Architecture
Answers
5To resolve this, you need to convert your private key to the latest format using the Sui CLI tool. Download the CLI and use the command 'sui keytool convert'. Documentation can be found here: https://docs.sui.io/references/cli/keytool
If your old private key is truly invalid, it means it's incorrect or corrupted, and you won't be able to import your wallet using it. The private key is the credential that grants access. Your only option would be to use your mnemonic seed phrase (the 12 or 24 words) to recover or import your wallet. If you don't have a valid private key or your seed phrase, access to that specific wallet address is unfortunately lost.
If the error message you see suggests that the private key is invalid it also probably advises using a Bech32 encoded 33-byte string. Check details how to solve it here: https://github.com/sui-foundation/sips/blob/main/sips/sip-15.md
Do you know the answer?
Please log in and share it.
Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.
- How to Maximize Profit Holding SUI: Sui Staking vs Liquid Staking616
- Why does BCS require exact field order for deserialization when Move structs have named fields?65
- Multiple Source Verification Errors" in Sui Move Module Publications - Automated Error Resolution55
- Sui Move Error - Unable to process transaction No valid gas coins found for the transaction419
- Sui Transaction Failing: Objects Reserved for Another Transaction410