-

@ Big Barry Bitcoin
2025-05-11 18:09:28
What you are describing is called "covenants". There have been proposals on different ways to support this.
Technically we already have a little control, we can specify a time period when a spend is not allowed, a timelock.
Lightning kind of simulates this by making you and a partner pre-agree where funds should go and then once funds are sent, as long as you never cooperate to change it, the funds can only go there. However this also limits the amounts, so whenever you use a lightning channel, you have to keep updating that agreement to update the amounts and when you close the channel, you can usually cooperatively close it and decide how much to send where together at the time of spending.
But your specific example of enforcing where or what type of address the funds can move to enforced by the chain (rather than a presigned transaction backed agreement), that does not exist yet.
Proposals include OP_CTV, OP_CAT, and possibly others.
Also checkout Liana Wallet by Wizardsardine. They have some interesting features that work today giving you a layered security model around timelocks mostly.