Contracts have a variety of different actions used at different times.
|guard!||Create a clause using miniscript with access to the contract's values and context.|
|compile_if!||Determine if a |
|then!||Create a path or paths that are guaranteed using CTV for a contract to be spent, with optional |
|finish!||Create a suggested path or paths for a contract to be spent that are not guaranteed via CTV with mandatory |
This section will teach you then ins and outs of each.