This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Description
I've installed Blocstack-cli Wallet per instructions . Tried to get balance but got type error instead.
Step to reproduce
- Run npm install -g https://github.com/blockstack/cli-blockstack#feature/stacks-2.0-tx
- blockstack-cli make_keychain -t
- Copy keyinfo.address value
- Run command blockstack-cli balance {addres from step 3} or really any address
Expected behavior
Either get balance of the address (0 stx) or at least got user facing error instead of type error
Environment
MacOS Catalina 10.15.4
node v10.15.3
Additional context
Errors:
TypeError: Cannot read property 'startsWith' of undefined
at node_fetch_1.default.then.then (/Users/peter/.nvm/versions/node/v10.15.3/lib/node_modules/blockstack-cli/lib/cli.js:1981:24)
at process._tickCallback (internal/process/next_tick.js:68:7)
Cannot read property 'startsWith' of undefined
peters-MacBook-Pro:My peter$ blockstack-cli balance 123123
TypeError: Cannot read property 'startsWith' of undefined
at node_fetch_1.default.then.then (/Users/peter/.nvm/versions/node/v10.15.3/lib/node_modules/blockstack-cli/lib/cli.js:1981:24)
at process._tickCallback (internal/process/next_tick.js:68:7)
Cannot read property 'startsWith' of undefined