Skip to content

Instantly share code, notes, and snippets.

@icostan
Created November 14, 2018 08:09
Show Gist options
  • Save icostan/631d45555846b92f691b55d34c57d4d0 to your computer and use it in GitHub Desktop.
Save icostan/631d45555846b92f691b55d34c57d4d0 to your computer and use it in GitHub Desktop.
change_value = input.value - output.value - 10_000
change_script = bitcoin_script 'n1C8nsmi4sc4hMBGgVZrnhxeFtk1sTbMZ4'
change = Output.new change_value, change_script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment