1
  1. Is it possible to write a script that would allow withdrawal of money only to a specific address?

  2. Is it possible to write a script that would allow withdrawal only specific amount?

Any examples ? Thanks!

3

Bitcoin script has no way to get information about the outputs of a transaction spending it, so no, neither of those things are possible. If you want withdrawal only to a specific address, why not just send to that address the desired amount in the first place and save yourself a transaction fee?

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.