Exchange development good practices

1

Is there any guide or good practice rules to follow when developing a service that uses the Bitcoin and other cryptocurrencies protocols? For instance, how is the best way to know if a user deposited coins to an address.

Marcos Monteiro

Posted 2018-08-25T00:36:35.027

Reputation: 11

To enable deposits, first have a way to generate address for each user, save this to local DB , subscribe to your fullnode txnotify and blocknotify events , then once user send coins to one of his addresses your full node will notify your app on incoming tx, you can get the complete details with rpc call view the address that received the crypto , save it as waiting for confirmation and then wait for blocks to confirm.Haddar Macdasi 2018-08-25T14:14:53.480

No answers