Skip to content

Terminal Wallet CLI - Artifacts unavailable via IPFS, wallet fails to initialize #27

@lostsock1

Description

@lostsock1

Running Terminal Wallet CLI from source fails during initialization. The wallet exits silently without error.

Environment:

• macOS ARM64
• Node v24.11.1
• Terminal Wallet CLI v1.4.1

Steps to reproduce:

  1. Clone repo: git clone https://github.com/Terminal-Wallet/terminal-wallet-cli.git

  2. Install deps: npm install --legacy-peer-deps

  3. Build: npm run build

  4. Run: npm run start

  5. Result: exits immediately with no error
    Investigation:

  6. Error was being silently swallowed by .catch() in main.ts

  7. Manually traced execution to initializeWalletSystems()

  8. The issue is that .artifacts-2.5/ folder is never created

  9. Artifacts should be downloaded from IPFS but silently fail
    IPFS Gateway Tests (all failing):

Gateway: ipfs-lb.com
curl https://ipfs-lb.com/ipfs/QmUsmnK4PFc7zDp2cmC4wBZxYLjNyRgWfs5GNcJJ2uLcpU/circuits/2x2/vkey.json
Result: "no link named "2x2" under QmUsmnK4PFc7zDp2cmC4wBZxYLjNyRgWfs5GNcJJ2uLcpU"

Gateway: cloudflare-ipfs.com
Result: timeout

Gateway: pinata.cloud
Result: ERR_ID:00016 - request timed out

Gateway: w3s.link
Result: empty response

Gateway: ipfs.io
Result: 504 Gateway timeout

Expected behavior:

• Artifacts should download successfully on first run
• If IPFS is unavailable, show clear error message instead of silently failing
Request:

  1. Update IPFS hash to a working CID, OR
  2. Provide alternative artifact download method, OR
  3. Bundle artifacts in binary releases, OR
  4. Show clear error when artifact download fails

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions