input-output-hk / input-output-hk/mallet

getBalance()

Open
#34 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
31
Forks
12
PR merge metrics
No merged PRs in 30d

Description

i followed the guide but at getBalance() I get this error.

mallet> getBalance()
Thrown:
Error: Invalid JSON RPC response: undefined
at Object.InvalidResponse (/mnt/c/pr0/mallet/lib/web3/web3/errors.js:38:16)
at HttpProvider.send (/mnt/c/pr0/mallet/lib/web3/web3/httpprovider.js:102:18)
at RequestManager.send (/mnt/c/pr0/mallet/lib/web3/web3/requestmanager.js:65:32)
at Eth.send [as getBalance] (/mnt/c/pr0/mallet/lib/web3/web3/method.js:145:58)
at Mallet.getBalance (/mnt/c/pr0/mallet/lib/mallet.js:238:26)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the guide's getBalance() call, then trace the undefined response through lib/web3/web3/httpprovider.js, lib/web3/web3/requestmanager.js, lib/web3/web3/method.js, and lib/mallet.js. Done means the same call returns a valid balance response instead of the Invalid JSON RPC response error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.