Closed devguru84 closed 6 months ago
@devguru84 When you run the command:
npm run start
You should leave this node running on a separate terminal before deploying and testing. Then, run npm run check-balance local
on another terminal.
@Olanetsoft, I did it correctly.
npm run start
on one terminal and npm run check-balance local
on another terminal.
But the error occurs when it is going to connect the RPC.(http://localhost:8500/1)
And I found that this code doesn't work correctly. runCheckBalance.js
It displays nothing on current code and I found it couldn't retrieve chains correctly and I changed that part.
Not sure, how it works on others.
I fixed the issue, @Olanetsoft Thanks for your help. There was a problem with my network configuration. I can see the balances now. Thanks.
I followed all the steps. I run the local chain using
npm run start
and it says 'Serving 5 networks on port 8500'. But when I am going to runnpm run check-balance local
it says 'could not detect network'. Same error occurs when I try on examples-web sample.