Can I use walletnotify or blocknotify remotely with a NodeJS application?

Can I use walletnotify or blocknotify remotely with a NodeJS application?

I'd like to get information from my bitcoin node running on a cloud server to be used to make changes in my NodeJS app running on my computer. So, in the bitcoin.conf file, should I have something like walletnotify=curl http://My.IP.Address:PortAppUses/walletnotify.js?tx=%s? If that's right, what do I write in the walletnotify.js file to simply save the incoming transaction id as a variable?

http://ift.tt/2ouij2D

Comments

Popular posts from this blog

sendrawtransaction and txn-mempool-conflict

couldn't connect to server: EOF reached (code 1)