Optimal way to design BTC deposit flow?

I am designing an exchange application where users can deposit funds into their account by sending BTC to a unique address.

What is the best way to monitor 100,000+ addresses for incoming transactions that meet a certain number of minimum confirmations?

One approach would be to listen to the rawtx event using ZMQ in order to discover new transactions, then write a program to periodically query the number of confirmations for each transaction using JSON-RPC. However, this method seems slow since it would involve repeatedly hammering the node with RPC calls. I do not wish to use external APIs like https://blockchain.info.

What would be the most efficient way to accomplish this?



from Recent Questions - Bitcoin Stack Exchange https://ift.tt/jz8bg34
via IFTTT

Popular posts from this blog

Bitcoin Mining Could Be Strengthening The Ruble, Russian Central Bank Says

Crypto Exec Warns Tokenization Is Moving Faster Than Expected

Bitwise Clients Pour $69M Into Solana as Bulls Fight to Reclaim $200 Resistance Zone