Sui.

Post

Share your knowledge.

DRAMA.
Apr 06, 2025
Expert Q&A

Converting Sui Wallet private key to bech32 format?

I'm trying to convert the private key of my Sui wallet to the bech32 format. How should I go about it using CLI tools?

  • Sui
0
3
Share
Comments
.

Answers

3
Jojo.
Jojo821
Sep 5 2025, 17:08

Hey there! Sui addresses are already in bech32 format by default. If you have your private key (like a mnemonic phrase) and want to get its corresponding Sui address: First, import your private key into your Sui client's keystore using the sui keytool import command. For example, with a mnemonic: sui keytool import "your twelve word mnemonic phrase here" After importing, just run sui keytool list. This will show all the keys in your keystore along with their Sui addresses, which will be in the bech32 format you're looking for. Just find the one associated with the key you just imported!

5
Comments
.
mssoni.
Apr 6 2025, 08:45

Check the documentation here: https://docs.sui.io/references/cli/keytool. You can download the CLI and use the command sui keytool convert to convert your private key to the latest format.

0
Comments
.

Do you know the answer?

Please log in and share it.