adnjoo
Posts: 5
Joined: Mon Oct 09, 2017 2:38 pm

Donate BTC of your choice to 1KYvvo23ngbG745YC37MjwwV5SdetQd11A

Error when using Bitbox

Sat Oct 17, 2020 4:13 am

Hi I'm trying to run scale.cash and I get this error message:

github. c o m/SpendBCH/bch-stresstest

TypeError: Cannot read property 'data' of undefined
at /Users/andrew/Desktop/bch-stresstest/node_modules/bitbox-cli/lib/Address.js:167:46
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Poll for utxo ex: TypeError: Cannot read property 'data' of undefined
at /Users/andrew/Desktop/bch-stresstest/node_modules/bitbox-cli/lib/Address.js:167:46
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:96327) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'legacyAddress' of undefined
at StresstestShared.start (/Users/andrew/Desktop/bch-stresstest/stresstest-shared.js:172:30)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async main (/Users/andrew/Desktop/bch-stresstest/stresstest.js:19:3)
(node:96327) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:96327) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

what am I doing wrong?

User avatar
nandibear
Global Moderator
Global Moderator
Posts: 2504
Joined: Sat Jan 30, 2016 7:04 am

Donate BTC of your choice to 1DYss8ztWEgcM93SJtnpfYVt6fp7cwmjBk

Contact: Website Twitter Telegram

Re: Error when using Bitbox

Sat Oct 17, 2020 3:57 pm

Hi I'm trying to run scale.cash and I get this error message:

github. c o m/SpendBCH/bch-stresstest

TypeError: Cannot read property 'data' of undefined
at /Users/andrew/Desktop/bch-stresstest/node_modules/bitbox-cli/lib/Address.js:167:46
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Poll for utxo ex: TypeError: Cannot read property 'data' of undefined
at /Users/andrew/Desktop/bch-stresstest/node_modules/bitbox-cli/lib/Address.js:167:46
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:96327) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'legacyAddress' of undefined
at StresstestShared.start (/Users/andrew/Desktop/bch-stresstest/stresstest-shared.js:172:30)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async main (/Users/andrew/Desktop/bch-stresstest/stresstest.js:19:3)
(node:96327) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:96327) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

what am I doing wrong?
Hey adnjoo,

The creator of Bitbox and the small team (including SpendBCH) who helped continue to develop it are no longer with Bitcoin.com

I'm not really into Node.js myself (just not my thing) so I can't be of much help with the error other than obvious troubleshooting like maybe checking which version of Node you're using and stuff like that.

Might also be worth pointing out that the project has since been forked a few times and that Chris Troutner (member of the original team) has this (the most recent):

https://github.com/Permissionless-Software-Foundation/bch-js

You can read more about it at https://fullstack.cash/

I'm not involved in the project at all and cannot give an official endorsement or official recommendation.

His telegram group is https://t.me/permissionless_software

I would also recommend checking out https://developer.bitcoin.com/ and https://developer.bitcoin.com/develop for other products which you might find helpful.
Image

Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests