accept-bitcoin
accept-bitcoin copied to clipboard
Error when trying sample script
1Hey there, i get the following error when i try one of the sample scripts:
hello 2MwoZu4iHWBbUFUY7ECNdadRjzzcGVeFiBY
/home/jay/workspace/btc-accept/node_modules/accept-bitcoin/lib/key.js:34
network: this.settings.network === 'live' ? bitcore.networks.livenet : bitcore.networks.testnet
^
TypeError: Cannot read property 'testnet' of undefined
at new Key (/home/jay/workspace/btc-accept/node_modules/accept-bitcoin/lib/key.js:34:96)
at Main.generateAddress (/home/jay/workspace/btc-accept/node_modules/accept-bitcoin/lib/index.js:58:15)
at Main.generateAddress (/home/jay/workspace/btc-accept/node_modules/accept-bitcoin/lib/index.js:4:61)
at Object.<anonymous> (/home/jay/workspace/btc-accept/index.js:4:18)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
` This happens with every sample.
Thanks in Advance
Same problem here.
I didn't use this tool but I can guess this tool is not working because blockr API is not available now.
Same problem here.