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.
Locking and Spending a Taproot Script Path With Python
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.
Newbie Guide to CheckTemplateVerify (OP_CTV)
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.
How To Run a Bitcoin Regtest Node
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.
How To Construct an HTLC Contract and How To Spend It
HTLC contracts are a conditional contracts that can be spent in two ways:
- after some number of blocks have been mined
- after revealing a secret code
In this article we learn how to construct such contract and how to spend it.
Stupid Simple Locking Script With Python
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.