Let me try to specify my question with an example:

Consider that there are 4 accounts ( AccountA and AccountB and AccountC (Taged as Store) and and AccountD (Taged as Night Club)), and AccountA wants to send let's say $100 to AccountB with a specified condition (i.e. $100 can be spent only at Accounts taged as Store ).

Can i implement above case?

If i can, how?


Not directly. The Bitcoin protocol doesn't allow you to place restrictions on how a transaction can be spent. The input script doesn't get to see the output script.

However, the net effect of what you describe would be as follows: after B decides to send the funds, they are in the control of C, who can spend them as desired. In other words, the approval of both B and C is needed in order to move the funds onward. You can get this effect with a 2-of-2 multisig transaction that requires signatures from both B and C, and can then be spent in any way they agree to.

| improve this answer | |
  • Do you have any idea about other blockchain Protocol allow this features – Amine Mbarki Feb 13 '18 at 14:33
  • @wikix: Sorry, I don't know whether there are other coins / protocols where such a feature exists. – Nate Eldredge Feb 13 '18 at 15:10

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.