This workshop is designed to help you understand the concepts of Miniscript and how to use them to create Bitcoin scripts.
For this workshop, we present a list of spending conditions for which we expect the following for each:
- Write a policy.
- Compile to miniscript.
- Generate the mapped bitcoin script.
- Generate an address for the script and we'll lock funds to this address.
- Check that we provide enough information to generate a valid witness to satisfy the spending condition.
The spending conditions presented are below. We provide test files with batteries included so that you can generate policies, compile them, and test their satisfaction by providing an adequate witness.