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.

  • 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 Aug 25 '18 at 14:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.