0052 XLS-52d: NFTokenMintOffer #147
Replies: 4 comments 10 replies
-
Why edit the |
Beta Was this translation helpful? Give feedback.
-
Just curious why we need this change on the protocol level instead of calling |
Beta Was this translation helpful? Give feedback.
-
Thoughts about this method in relation to XLS-56d? #162 |
Beta Was this translation helpful? Give feedback.
-
Since the implementation of this proposal has already been merged into the develop branch of rippled, this discussion will be closed and moved to the PR of this repository. |
Beta Was this translation helpful? Give feedback.
-
Abstract
This proposal extends the minting capabilities of NFToken (XLS-20).
NFToken are not only held by the issuer, but are often distributed or sold by the issuer to others.
XRPL NFToken requires two transactions (
NFTokenMint
andNFTokenCreateOffer
) to be sent by the issuer before the NFToken can be minted and distributed (or sold).NFTokenOfferMint extends the existing
NFTokenMint
transaction to allow an NFToken Sell Offer to be created at the same time as the NFToken is minted.NFTokenOfferMint is expected to significantly improve the experience of NFT projects and users.
Specification
New
NFTokenMint
Transaction FieldAdd 3 new fields to the
NFTokenMint
transaction.Amount
Currency Amount
AMOUNT
Destination
string
AccountID
Expiration
number
UINT32
These fields have the same meaning as the field of the same name used in the
NFTokenCreateOffer
transaction, but theAmount
field is not a required field.If the
Amount
field (and the other 2 fields) are not specified,NFTokenMint
transaction behaves exactly like a previousNFTokenMint
transaction.Creating an
NFTokenOffer
Since NFToken issuers can only create a sell offer for their NFToken, the
Owner
field is not set andtfSellNFToken
flag is always set in theNFTokenOffer
created in anNFTokenMint
transaction.In an extended
NFTokenMint
transaction, anNFTokenOffer
is created whenAmount
field is specified.An error occurs in the following cases
Destination
andExpiration
fields are specified, but theAmount
field is not .Owner Reserve
The
NFTokenPage
andNFTokenOffer
reserves will not change, but will create the possibility of up to 2 incremental reserves (NFTokenPage, NFTokenOffer) in anNFTokenMint
transaction.Beta Was this translation helpful? Give feedback.
All reactions