0

I'm wondering if it is possible to at creation of a user account also save a deposit address(blockchain.info receive payments API) which the user will always use when he/she wants to deposit coins.

Ofcourse I know it's possible to save the deposit address with the user but will it work to always have the users always deposit to a specific address?

will it cause any problems like take the total received balance of the address all the time when the user deposits? eg: balance = balance + (total received coins + just deposited coins)

Tried to explain my concerns and questions to the best of my ability hopefully I can get some answers because google doesn't have any in this case.

  • I can't tell, is this a question about Bitcoin in general, or about the features available from a Blockchain.info wallet? – Jestin May 12 '16 at 18:31
  • Are you asking whether it's possible to use an address more than once? It is. – Murch May 12 '16 at 18:43
  • I'm refering to the blockchain.info receive api – Fastboy619 May 12 '16 at 19:38
  • In general the rule is: do NOT reuse addresses. Addresses are for one time use only! There are good reasons for this. – Jannes May 13 '16 at 12:31
0

The bc.info receive paments API will NOT work if you reuse addresses. The funds will still be yours since the addresses are hierarchical deterministic, but the callback notification will not fire. Your site will not know when a new deposit has been made unless you check manually. I suppose you could create a "refresh my balance" button for your users, but you'd need to put some restrictions on how often they can click so you don't exceed API request limits.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.