Skip to content

toxeus/burn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

burn

burn your bitcoins the proper way

Usage

# find output you want to burn
bitcoin-cli listunspent
# replace vars with values from output of listunspent
tx=$(burn --txid $TXID --vout $VOUT --amount $AMOUNT --msg "some msg")
signed_tx=$(bitcoin-cli signrawtransactionwithwallet "$tx" | jq -r .hex)
bitcoin-cli sendrawtransaction "$signed_tx"

The jq util used above can be found here.

You can easily inspect raw transactions.

bitcoin-cli decoderawtransaction "$tx"
bitcoin-cli decoderawtransaction "$signed_tx"

About

burn your bitcoins the proper way

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages