Send an NFT
To send an NFT, the owner signs one line of text in their wallet. A relay carries the signed record in a Monero transaction, and the NFT belongs to the new address once that transaction is in a block. None of the owner's coins are spent.
#On the website
- Open the NFT on the market: a Mordinal at
#/mordinal/<number>, a minted NFT at#/nft/<id>, or everything you own from your address. - Choose Send and enter the address that should own it.
- Sign. With the XMR20 wallet, approve in the wallet. With any other wallet, the page shows a line of text: open Sign message in the wallet that holds the NFT's address, paste the text exactly, sign it with that address, and paste the signature back.
- Wait for a block. The relay carries the record and pays the network fee. Sending is free.
The NFT must not be listed. Stop selling it first if it is.
#Signing in your wallet
| Wallet | Where |
|---|---|
| XMR20 wallet (website or extension) | Asks you to approve; signs by itself |
| Feather | Tools → Sign/verify message |
| Monero GUI | Advanced → Sign/verify |
| Monero CLI | sign <file> with the text saved in a file |
| Wallet RPC | the sign method |
| Cake Wallet | Sign and verify, in the wallet's menu |
Sign with the address that owns the NFT, with the spend key (the default). A signature made with the view key is refused. Whether your wallet adds a line end after the text does not matter: the ledger accepts the text with no line end, with a line feed, or with a carriage return and a line feed.
#What you sign
A Mordinal:
Mordinals move: send Mordinal #N to <address>; move <counter>; code <code>A minted NFT is written by its collection, edition and code, for example "Moon Rocks" #12 (NFT 3f9a…), or NFT <code> when it belongs to no collection.
The counter goes up by one with every move, sale and cancel. A signed move is good for one use: it can never be replayed, not even after the NFT comes back to you. The code is the start of the record's id.
#Following a send
Every record handed to the relay has an id. Its status:
| State | Meaning |
|---|---|
queued | Accepted, no transaction yet |
held | Waiting for something to be in a block first, such as a purchase's payment |
built | Its transaction is built, not yet handed to the node |
sent | Its transaction is in the node's pool |
done | In a block and accepted by the rules. Only now has anything changed |
refused | The rules refuse it; error says why |
stuck | It did not reach a block for a long time. Send it again |
unknown | The relay does not know this record |
Collections and mints can also be unpaid (the relay's fee has not arrived), and claims waiting (for their claim fee).
curl https://api.xmr20.org/xmr721/status/<record id>#From the command line
An NFT owned by the xmr721 command's own wallet is sent with:
node cli/xmr721.mjs wallet send <nft id> <address>