Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pointer spec #2383

Merged
merged 8 commits into from
Oct 9, 2023
Merged

Add pointer spec #2383

merged 8 commits into from
Oct 9, 2023

Conversation

casey
Copy link
Collaborator

@casey casey commented Aug 28, 2023

This specifies an offset field, which allows inscriptions to be made on output sats other than the first. This allows making multiple inscriptions per transaction.

@casey casey mentioned this pull request Aug 28, 2023
@rot13maxi
Copy link
Contributor

I believe this will also prevent child inscriptions from being cursed

An even tag is used, so that old versions of `ord` consider the inscription to
be unbound, instead of assigning it, incorrectly, to the first sat.

This can be used to create multiple inscriptions in a single transaction on
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unclear what the mechanism is to create multiple inscriptions. To make n inscriptions do you need n inputs with an inscription envelope in the witness of each one? Can you put multiple inscriptions in the same input?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can do either. At the moment inscriptions in different inputs assigned to first sat of their respective input and inscriptions in same input are made unbound (they will be made reinscriptions on first sat of input soon)

@raphjaph raphjaph changed the title Add offset spec Add pointer spec Sep 27, 2023

In order to make an inscription on a sat other than the first of its input, a
pointer can be provided with tag `2`, causing the inscription to be made on the
sat at the given position in the outputs. If the pointer is equal to or greater than the number
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

starting at 0

@raphjaph raphjaph merged commit 694cfd0 into master Oct 9, 2023
6 checks passed
@raphjaph raphjaph deleted the offset-spec branch October 9, 2023 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants