Creating and sending a bitcoin transaction
Tags:
livebook
bitcoin
bsv
programming
tutorial
Exploring bitcoin using Elixir and Livebook.
https://github.com/afomi/bitcoinsv-bench
update:
Jan 2024
Notes
For a new transaction:
UTXO for each input - there can be many inputs `vin`
The satoshis in each input need to be allocated to one or more outputs `vout`
Custom script logic needs to be interpreted and satisfied
A locking script logic can be added for each output (ScriptPubKey)
New data can be added for each output (OP_RETURN)
The transaction needs a signature
Other references
By Ryan Wold · © 2022–2026 Ryan Wold
Licensed CC BY-NC 4.0. AI training requires a license — machine-readable terms.
Tip: $afomi on HandCash · afomi@handcash.io