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

Offers #4156

Merged
merged 62 commits into from
Jan 11, 2025
Merged

Offers #4156

merged 62 commits into from
Jan 11, 2025

Conversation

raphjaph
Copy link
Collaborator

@raphjaph raphjaph commented Dec 27, 2024

@casey
Copy link
Collaborator

casey commented Jan 11, 2025

@lifofifoX This is finally done! Have a look over it, especially at tests and edge cases.

@lifofifoX
Copy link
Collaborator

@casey Looks great to me! Only potential issue I see is that accepting offer might error if the sat is reinscribed.

Other than that, it's nice that accepting offer isn't concerned with where the inscription is going. This way, it'd be compatible with offers created with one of the web wallets.

@casey
Copy link
Collaborator

casey commented Jan 11, 2025

@casey Looks great to me!

Dope.

Only potential issue I see is that accepting offer might error if the sat is reinscribed.

We'll definitely relax that in a follow up PR. Either by allowing any inscriptions on the same sat to be transferred, as long as one of them was passed to --inscription, or requiring --inscription multiple times, and requiring you pass it for all reinscriptions.

Probably the former. These days, ord is really a power-user tool, and I think we can expect users to understand that when inscriptions are on the same sat, they will always be transferred together.

In any case, we will also eventually allow --inscription to be passed multiple times, so you can accept an offer for any number of inscriptions, and provide an ord wallet offer view command, for viewing a PSBT offer and seeing what it would do if accepted, which inscriptions it's moving, where they go, and what the balance change would be.

@raphjaph raphjaph merged commit 9bc54f8 into ordinals:master Jan 11, 2025
5 checks passed
@raphjaph raphjaph deleted the offers branch January 13, 2025 00:28
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