MultiversX Tracker is Live!

Need help with CLTV; I want to lock away bitcoins for 1 year

Bitcoin Reddit

More / Bitcoin Reddit 150 Views

Hi /r/bitcoin

How does one actually write and broadcast a transaction with an CLTV script.

Step by Step instructions would help me a lot.

My goal is to send x.y amount of bitcoin to my address but with a lock of 1 year.

This is what I have come up:

1704666900 CHECKLOCKTIMEVERIFY DROP DUP HASH160 

<ripemd160(my_address)> EQUALVERIFY CHECKSIG

The PowerShell line I use to calculate seconds since 1970:

((Get-Date).AddYears(1) - (Get-Date -Year 1970 -Month 1 -Day 1 -Hour 0 -Minute 0)).totalseconds 

Where do I have to input my code if it were correct?
If I have to compile it, how do I do that?
When I have it compiled, where do I input the compiled code?

I didn't find any YouTube video to my surprise and the internet articles/wiki don't have step by step instructions on how to compile the code nor where to input the code.

Do I have to sign a message? Is there an app that allows me to do my usecase in an easy way?

TLDR:

I want to stop myself from spending a certain amount of bitcoin for 1 year on the blockchain.

How? Thank you!

submitted by /u/ybvb
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments