Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 436 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 436 Bytes

One script to hodl and one script to spend

Run p2sh_with_timelock.py

Use params to run this script

python p2sh_with_timelock.py <bitcoinaddress> <timelock>

Run spend_p2sh_with_timelock.py

Insert the private keys in the script

python spend_p2sh_with_timelock.py

Please let me know if I made any security mistakes or if there is a better solution to this than how I did it.

To be used at your own risk