Commit b1ad24d
feat(wasm-utxo): add helper to create OP_RETURN output scripts
Add utility function that creates OP_RETURN output scripts with optional
data payload. This supports both empty OP_RETURN scripts and ones with
custom data.
Issue: BTC-2980
Co-authored-by: llm-git <llm-git@ttll.de>1 parent 2b9bc51 commit b1ad24d
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
0 commit comments