user129356: hello I am building a web application using nodejs, bcoin and my application provides the user with a bitcoin address in which to deposit funds, I would like to know how I can listen on my nodejs server:

when the user deposits funds in the bitcoin address that my application provided
The deposit has gone through 12 confirmations.


user3667: The bcoin full node and wallet emit JavaScript events for things like blocks and transactions, which can be listened for with a websocket client.
There is a guide to sockets and events in bcoin here: bcoin.io/guides/events.html
If you have any more questions about bcoin you can join us on slack or on IRC (Libera) #bcoin

129356: <p>hello I am building a web application using nodejs, bcoin and my application provides the user with a bitcoin address in which to deposit funds, I would like to know how I can listen on my nodejs server:</p>
<ul>
<li>when the user deposits funds in the bitcoin address that my application provided</li>
<li>The deposit has gone through 12 confirmations.</li>
</ul>
 3667: <p>The bcoin full node and wallet emit JavaScript events for things like blocks and transactions, which can be listened for with a websocket client.</p>
<p>There is a guide to sockets and events in bcoin here: bcoin.io/guides/events.html</p>
<p>If you have any more questions about bcoin you can <a href="https://bcoin.io/slack-signup.html" rel="nofollow noreferrer">join us on slack</a> or on IRC (Libera) #bcoin</p>
