
Minsc is a high-level scripting language expressing Bitcoin Script spending conditions, using a simple and familiar syntax. Minsc is based on Miniscript with added features on top of it.
Minsc is a high-level scripting language expressing Bitcoin Script spending conditions, using a simple and familiar syntax. Minsc is based on Miniscript with added features on top of it.
Learn how to lock your funds in Python using Taproot and spend them using Taproot script path transaction. This guide is a continuation of Stupid Simple Locking Script With Python where we learned how to lock our funds using a P2SH address.
OP_CTV aka CheckTemplateVerify is an opcode proposal that enables locking coins based on predefined transaction attributes. It's like a special rule for locking your coins with a specific plan on how to spend them in the future. Imagine it as setting a combination lock on your coins, where only a certain key (or transaction) matches your pre-set conditions can open it.
A regtest node is a Bitcoin node running regtest network. Usually it is ran locally and is useful because you control when a block get mined which is useful when testing, debugging or developing things.
HTLC contracts are a conditional contracts that can be spent in two ways:
In this article we learn how to construct such contract and how to spend it.
Ever wondered how to lock sats using a simple mathematical equation rather than a traditional signature? In this guide, we delve into the world of Bitcoin scripting, showcasing how you can lock sats using a straightforward equation and then unlock them to spend into another address. Of course we advise against doing this on mainnet so someone doesn't steal your precious sats. Of course, because we're not degens we'll do this on our own regtest network, a sandbox environment perfect for such explorations.