Skip to content

CLI gaia_getfile not working #1404

Open
@pradel

Description

@pradel

Describe the bug

I tried to download files from Gaia using the CLI and it seems that downloading either a public or encrypted file is not working. When I run stx gaia_getfile sigle.btc https://app.sigle.io publicStories.json I am getting the following error.

Error: Non-base58 character
    at Object.decode (/Users/leo/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/base-x/src/index.js:111:11)
    at Object.decode (/Users/leo/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/bs58check/base.js:39:25)
    at Object.fromBase58Check (/Users/leo/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/bitcoinjs-lib/src/address.js:11:29)
    at BlockstackNetwork.coerceAddress (/Users/leo/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/blockstack/lib/network.js:51:59)
    at /Users/leo/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/blockstack/lib/network.js:310:68
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Non-base58 character

I tried with multiple usernames / files but same issue every time.

What version of Stacks.js are you using?

Latest @stacks/cliversion

Is the bug present in the Stacks.js CLI, Gaia hub, Connect or Blockstack Browser?

Stacks.js CLI

To Reproduce
Steps to reproduce the behavior:

  1. Open termine
  2. Run stx gaia_getfile sigle.btc https://app.sigle.io publicStories.json
  3. See error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnwanted or unintended logic causing harmhelp wantedOpen source contributions actively soughticebox

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions