6
I am using this bitcore npm package. https://bitcore.io/api/lib
And i want to monitor all the transactions over the blockchain, and read the input address, output address and amount associated with that transaction.
But i am unable to find the javascript method to invoke to accomplish this. Even i am not able to find a example for this.
I am looking for as short as something like
var someLib = require('some-bitcore-lib')
someLib.on('block-recieved', function(){
// print everything
console.log(arguments);
// do something else;
})
Any help?
Where can i find that some-bitcore-lib or how can i create that in nodejs?
2I'm voting to close this question as off-topic because belongs on stackoverflow – j4ck – 2017-08-04T18:16:27.747
Have you tried reading https://bitcore.io/guides/satoshi-fire-alarm
– Nick ODell – 2017-08-04T21:23:07.163@codeofnode: have found any solution for the same? – Codebrekers – 2018-02-15T07:36:05.180