Допис
Діліться своїми знаннями.
Apr 16, 2025
Питання та відповіді експертів
Retrieve and convert SUI wallet private key using Walrus
I was able to create a SUI address using Walrus but didn't get the private key. How do I retrieve this key and convert it to a standard format?
- Walrus
- Typescript SDK
0
1
Поділитися
Коментарі
Відповіді
1Grizzly15
Apr 16 2025, 12:08When you generate a SUI address using Walrus, it creates a sui.keystore
file in the directory to store the wallet information. This file contains your private key encoded in base-64 format. To convert the base-64 encoded private key to a standard private key format, you can use the sui keytool. Execute the command sui keytool --keystore-path path/to/sui.keystore export
to extract and convert your private key.
0
Коментарі
Ви знаєте відповідь?
Будь ласка, увійдіть та поділіться нею.