Walrus.

Post

Share your knowledge.

Santorini.
Apr 29, 2025
Expert Q&A

How to fix 'Cannot open wallet config file' error in walrus?

I'm trying to run the 'walrus get-wal' command but I keep getting an error that says 'Cannot open wallet config file at 0xb...d'. I've heard that specifying '--config' and '--wallet' could help, but I'm not sure how to do it. What could be causing this issue and how can I resolve it?

  • Walrus
  • Typescript SDK
0
3
Share
Comments
.

Answers

3
Britain.
Apr 30 2025, 08:24

To resolve this, you should try specifying the configuration file explicitly using the '--config' option when running your Walrus commands. Additionally, ensure the 'client.yaml' file exists at the specified path and includes the correct configuration settings. You might have to set it manually if it's not in one of the default locations such as ~/.sui/sui_config/.

0
Comments
.
deriss.
Apr 30 2025, 10:31

The error 'Cannot open wallet config file' usually occurs when the command cannot find the wallet configuration it's supposed to use. A potentially common issue is having the 'wallet_config' field set to a string that is not a valid path, like '0xb...' instead of the path to a valid 'client.yaml' configuration file. Make sure to check and update the configuration parameter in your setup.

0
Comments
.
Michelle .
Apr 30 2025, 18:38

Downloading the latest configuration file directly from Walrus might also help. Use the following command to download it:

curl https://docs.wal.app/setup/client_config.yaml -o ~/.config/walrus/client_config.yaml

This will place the configuration in the expected default location, reducing the chances of a mismatch.

0
Comments
.

Do you know the answer?

Please log in and share it.

Walrus is a decentralized storage and data availability protocol designed specifically for large binary files, or "blobs"

28Posts46Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

We use cookies to ensure you get the best experience on our website.
More info