chris@chris-laptop:~/scripts/vanman-HQ$ node payToAddres.js
hello 1JSG6YdLGVq6nY6Q3vpVxVxZ3aAE7oJK1U
/home/chris/scripts/vanman-HQ/node_modules/accept-bitcoin/node_modules/bitcore/node_modules/bignum/index.js:96
throw new TypeError('Unspecified operation for type '
^
TypeError: Unspecified operation for type undefined for add
at BigNum.(anonymous function) [as add] (/home/chris/scripts/vanman-HQ/node_modules/accept-bitcoin/node_modules/bitcore/node_modules/bignum/index.js:96:19)
at Object.base58.decode (/home/chris/scripts/vanman-HQ/node_modules/accept-bitcoin/node_modules/bitcore/lib/Base58.js:50:23)
at Object.base58Check.decode (/home/chris/scripts/vanman-HQ/node_modules/accept-bitcoin/node_modules/bitcore/lib/Base58.js:87:22)
at PrivateKey.encodings.base58.converters.binary (/home/chris/scripts/vanman-HQ/node_modules/accept-bitcoin/node_modules/bitcore/util/EncodedData.js:106:23)
at PrivateKey.EncodedData.as (/home/chris/scripts/vanman-HQ/node_modules/accept-bitcoin/node_modules/bitcore/util/EncodedData.js:40:36)
at PrivateKey.EncodedData.encoding (/home/chris/scripts/vanman-HQ/node_modules/accept-bitcoin/node_modules/bitcore/util/EncodedData.js:25:22)
at PrivateKey.EncodedData.doAsBinary (/home/chris/scripts/vanman-HQ/node_modules/accept-bitcoin/node_modules/bitcore/util/EncodedData.js:71:8)
at PrivateKey.validate (/home/chris/scripts/vanman-HQ/node_modules/accept-bitcoin/node_modules/bitcore/lib/PrivateKey.js:17:8)
at WalletKey.fromObj (/home/chris/scripts/vanman-HQ/node_modules/accept-bitcoin/node_modules/bitcore/lib/WalletKey.js:43:10)
at new Key (/home/chris/scripts/vanman-HQ/node_modules/accept-bitcoin/lib/key.js:37:17)
Does anyone have an example of a working environment they can share? What I need is version numbers for modules.
my latest attempt using bitcore 0.1.41 which got around https://github.com/sagivo/accept-bitcoin/issues/2 is having a new problem: