Post
Share your knowledge.
How to resolve invalid private key error when importing wallet?
I tried importing my private key into my wallet app, but I keep getting an 'Invalid Private Key, please use a Bech32 encoded 33-byte string.' error. I downloaded the wallet again, but the issue persists even when I try importing from passphrase, and end up seeing a wallet with zero balance. What should I do to fix this?
- Sui
- Architecture
Answers
4Hey! can you let me know which wallet you’re using is it Suiet or Slush? Also, there’s a chance your private key format might be wrong. Some wallets expect a specific format like Base64, not raw hex or other types
Ensure that you are using the correct format for the private key. Bech32 is a specific encoding format, and your private key should be in that format. If you have a seed phrase (12 words), try using the 'import seed phrases' option instead and see if it resolves the issue.
If you see a different wallet with zero balance, it's possible that the passphrase or private key does not match the intended wallet. Double-check the seed phrases or private key for any typos or errors.
Which wallet are you using? Have your tried to import the seed phrase instead?
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.