ordinals/ord

Allow swapping inscriptions using the offers command

Open

#4,251 opened on Mar 1, 2025

View on GitHub
 (1 comment) (1 reaction) (0 assignees)Rust (1,479 forks)github user discovery
enhancementgood first issue

Repository metrics

Stars
 (3,955 stars)
PR merge metrics
 (Avg merge 15d 21h) (5 merged PRs in 30d)

Description

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?

Contributor guide