Skip to content

Commit

Permalink
Merge pull request #4 from smartvaults/add-decay-multisig
Browse files Browse the repository at this point in the history
added example for decaying multisig
  • Loading branch information
mgravitt authored Sep 29, 2023
2 parents 11babeb + ee55481 commit 7906006
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/miniscript-templates/decaying-multisig.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,16 @@ thresh(
after(lock_time_1),
after(lock_time_2),
...
)
```
)
```

## Output Descriptor
```
tr(InternalKey,thresh(3,pk(K1),s:pk(K2),s:pk(K3),snl:after(B1),snl:after(B2)))
```

### Example
Example Output Descriptor
```
tr(3ec243044db203bc418092014b46bfe9494a1c16ee66160e385d7dd676e378cd,thresh(3,pk([7356e457/86'/1'/784923']tpubDCvLwbJPseNux9EtPbrbA2tgDayzptK4HNkky14Cw6msjHuqyZCE88miedZD86TZUb29Rof3sgtREU4wtzofte7QDSWDiw8ZU6ZYHmAxY9d/0/*),s:pk([4eb5d5a1/86'/1'/784923']tpubDCLskGdzStPPo1auRQygJUfbmLMwujWr7fmekdUMD7gqSpwEcRso4CfiP5GkRqfXFYkfqTujyvuehb7inymMhBJFdbJqFyHsHVRuwLKCSe9/0/*),s:pk([f3ab64d8/86'/1'/784923']tpubDCh4uyVDVretfgTNkazUarV9ESTh7DJy8yvMSuWn5PQFbTDEsJwHGSBvTrNF92kw3x5ZLFXw91gN5LYtuSCbr1Vo6mzQmD49sF2vGpReZp2/0/*),snl:after(1721743844),snl:after(1747663844)))#p0skyz4j
```

0 comments on commit 7906006

Please sign in to comment.