Post
Topic
Board Development & Technical Discussion
Re: Is there a way to only make BTC spendable to white listed addresses?
by
ranochigo
on 09/02/2021, 17:48:20 UTC
But if the BTC are somehow held in a way that they can only be send to white listed addresses their is recourse for users.

Is there anyway this can be accomplished on the blockchain?
No. That's stupid. Restricting yourself to only be able to send the funds to certain addresses effectively locks your funds if the specified addresses are compromised or lost. Scripting standards also don't allow any functions that restricts the UTXO spending, or at least to my knowledge.

The security lies with the users themselves. It wouldn't matter if you were to lock your funds to certain addresses, hackers would just target those addresses instead. If you want to do this, then use a service that provides address whitelisting. For which, those services only locks the withdrawal on the surface and defeats normal client-side attacks but not server side attacks.