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

Allow swapping inscriptions using the offers command #4251

Open
casey opened this issue Mar 1, 2025 · 0 comments
Open

Allow swapping inscriptions using the offers command #4251

casey opened this issue Mar 1, 2025 · 0 comments

Comments

@casey
Copy link
Collaborator

casey commented Mar 1, 2025

Current, ord wallet offer create and ord wallet offer accept only allow swapping bitcoin for an inscription.

It would be nice, similar to @lifofifoX's SWAP, to make it possible to swap one inscription for another.

Something like:

ord wallet offer create --inscription ID0 --for ID1  --fee-rate 1
ord wallet offer accept --inscription ID0 --for ID1

--for is not a great name for the flag. We currently have --amount, which is the bitcoin amount, but if we're making this more generic over types of payment, we could consider changing that to.

Maybe --price, which accepts a bitcoin amount or inscription ID?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Do
Development

No branches or pull requests

2 participants