I have implemented an automated bitcoin refund function that sends funds back to the address that was used to sign the incoming transaction. How many wallets fail to support address reuse/refunds? If it's just a few wallets or only shared e-wallets then I am content with a notice on my site explaining the situation.

Responses to common objections (i.e. rant)

  • There is no "from address"

Yet each incoming transaction has its own list of incoming transactions with its own outputs sent to various "destination addresses", therefore the notion of their being no "from address" is not valid. (note I'm not concerned with uncommon transactions such as coinbase transactions which truly can't be refunded automatically... I am content to handle refunds for these uncommon transactions on a manual basis if needed.)

  • address reuse hurts privacy

What privacy? Bitcoin doesn't provide any privacy... the transaction graph is open to the public and your silly if you think social graph networking algorithms can't link these transactions together with high probability. if you wan't privacy use a mixing service... if you can't then there is very little privacy for your transaction.

  • address reuse is not secure

Bad implementation does not equal bad security protocol. Just because a few wallets used to implement cryptographic algorithms incorrectly doesn't mean I should forever believe that the same cryptographic protocol is insecure for wallets that are correctly designed.

  • addresses are intended for one-time use

really? then why are donation addresses valid for years???

1 Answer 1


I think it would be helpful for you to identify your service here, so that I can encourage people to not do business with you.

Users generally have no idea if this will work safely or not, so a notice will not be sufficient. If you send users funds to addresses they did not supply you should be prepared to pay them out when they report the funds have gone missing or find yourself on the losing side of a lawsuit-- and there would be no shortages of experts willing to testify on behalf of someone you failed to pay due to this.

Yet each incoming transaction has its own list of incoming transactions with its own outputs sent to various "destination addresses", therefore the notion of their being no "from address" is not valid.

Sorry, that simply is not correct.

Coins have a history from which you could derive prior "To" addresses, that much is correct. But a prior "To" is not a "from". For example, if you ordered a produce from amazon, received it, then inspect the parcel with a magic wand that told you the last place the parcel was shipped you might find it was last sent to a reshipment center in Oregon. But that is just some shipper, not the source (amazon) and if you attempted to "return" the package by simply shipping it there it would likely end up lost.

Your order "from" amazon may have gone through dozens of steps or indirection before reaching you, and the last hop may have only the thinnest of relationships to the actual origin.

Even if the "from" is correct the user may simply no longer have access to the keys. With no more use for them they simply may have discarded them (e.g. a 'paper wallet' or other token). Users can setup persistent donation addresses intentionally taking due care to preserve the key material, and for donations the security/privacy implications are reduced because of the very nature of the payments (the donation addresses are public and the funds aren't provided in exchange for any consideration). And when access isn't lost completely, the keys in question may not be readily accessible, but stored in a safe deposit box or time lock safe. The funds could have also been spliced out of a payment channel and the prior-to could be inaccessible to the user without significant software modification or the help of a third party.

What privacy? Bitcoin doesn't provide any privacy...

Bitcoin does provide privacy and has since day one. It is specifically called out as a top level section in the Bitcoin whitepaper. The privacy Bitcoin provides isn't perfect for sure, but one of the biggest things that damages privacy is address reuse because it creates co-input linkage, causing otherwise completely independent spends to be obviously linked. Mixing "services" are frequently scams that steal user funds.

Your self-described "rant" seems to have also ignored the largest practical consideration: A great many wallets (perhaps the largest in total user count) are thoroughly incompatible with your intended behavior. If a user pays you from a hosted wallet and you "refund" to one of the apparent prior-to addresses, the funds will be delivered to some other random user (who will probably promptly withdraw their windfall, never to be heard from again).

  • your amazon analogy is incorrect because the intermediate shipping facility has no claim of exclusive ownership over the shipment. Exclusive ownership rights are first owned by amazon, and then the customer, from->to, a direct ownership transfer. The bitcoin white paper states that coins [are] made from digital signatures, which provides strong control of ownership the digital signature provides the EXCLUSIVE ownership rights. Mar 21, 2019 at 18:52
  • a notice will not be sufficient, I was not aware of this... are you saying that satoshidice.com is at risk of lawsuits from any customer who fails to understand their notice IMPORTANT: Only use wallets that allow you to receive Bitcoin from the same address you sent from. ??? Mar 21, 2019 at 19:10
  • the user may simply no longer have access to the keys which is the their wallets fault (I would be doing immediate refunds), therefore I ask the question "how many wallets fail to support address reuse?". Mar 21, 2019 at 19:11
  • the funds will be delivered to some other random user which I reiterate probably violates the white papers statement that digital signatures [provide] strong control of ownership and so unexpectedly transferring ownership of a private-key in my opinion violates this principle. Mar 21, 2019 at 19:12
  • Reviewing your answer and my comments, I have to ask... Why did you even post an answer? Your answer does not even address the question... in fact it ignores the bulk of the question... Jun 11, 2021 at 22:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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