ord
ord copied to clipboard
Bundles
Should be possible to make multiple inscriptions in a single transaction.
How to assign inscriptions to sats in the output?
Fifo order: Inscriptions are extracted in order from all inputs (just consecutive OP_FALSE OP_IF … OP_ENDIF
). Inscriptions are assigned to the first sat of each output in FIFO order, wrapping back to the first output if there are more inscriptions than outputs.
Explicit offset: Inscriptions can have a "padding" field, which is a positive integer. When processing multiple inscriptions, an index is maintained that starts at 0, when a padding field is encountered, it is added to the index. Inscriptions are assigned to the padding % output_value
th sat in the output. This allows for maximum flexibility, at the cost of an additional few bytes per inscription.
Uses:
- Lower cost to issue multiple inscriptions
- Can create multiple identical inscriptions using multiple outputs
- HTML inscriptions can publish multiple resources in a single transaction and refer to them in the HTML