lian / bitcoin-ruby

bitcoin utils and protocol in ruby.
Other
922 stars 322 forks source link

Add to_custom_script method #285

Open werner opened 5 years ago

werner commented 5 years ago

Add to_custom_script method because in some situations you might want to include the script directly, like signing a transaction using build_tx with a custom output. Example: https://github.com/bitprim/bitprim-keoken/blob/master/keoken-whitepaper.md