{"id":123517,"date":"2021-05-03T12:19:08","date_gmt":"2021-05-03T12:19:08","guid":{"rendered":"https:\/\/precoinnews.com\/?p=123517"},"modified":"2021-05-03T12:19:08","modified_gmt":"2021-05-03T12:19:08","slug":"timelock-bitcoin-and-tokens-via-scrypt-%e2%8c%9b","status":"publish","type":"post","link":"https:\/\/precoinnews.com\/crypto\/timelock-bitcoin-and-tokens-via-scrypt-%e2%8c%9b\/","title":{"rendered":"TimeLock Bitcoin and tokens via sCrypt \u231b"},"content":{"rendered":"
This post originally appeared on Bitpost, with permission from its author Joshua Henslee.<\/em><\/p>\n
I finally dove into sCrypt in April 2021 largely due to my obsession with the nLockTime feature on the Bitcoin protocol.<\/p>\n
I had been procrastinating using sCrypt because of the low-level and difficult to troubleshoot nature of Bitcoin Script, but after two days down the rabbit hole (mostly due to dealing with quirks like hex reversing, endianess, and bytes) I managed to create a script where one can lock Bitcoin or RUN tokens on-chain until a certain time.<\/p>\n
For example, I can provably lock up 100 BSV until block height 700,000, or lock 100,000 $SHUA tokens up until January 1st, 2025.<\/p>\n