Files
xrpl-dev-portal/content/concepts/tokens/nftoken-batch-minting.md
Amarantha Kulkarni 845422da7f Add words from new features such as NFTs to the spell checker (#1615)
* Add words from new features such as NFTs to the spell checker

* Add more proper nouns and general purpose words

* Add more proper nouns and general purpose words

* Update to use backticks

* Update proper nouns and generic words

* Fix style for words based on style checker report

* Style/spelling fixes

* Fix links broken by style/spelling updates

* More edits for style

* Finish updates to get style checker to pass

Co-authored-by: mDuo13 <mduo13@gmail.com>
2022-12-15 14:29:32 -08:00

1.7 KiB

html, parent, blurb, labels
html parent blurb labels
nftoken-batch-minting.html non-fungible-tokens.html Minting NFToken objects in batches.
Non-fungible Tokens, NFTs

Batch minting

There are two common approaches to minting NFToken objects in batches: mint on demand and scripted minting.

Mint On Demand (Lazy Minting)

When using a mint on demand model, you and potential customers make buy or sell offers for initial sales of a NFToken object off the XRP Ledger. When you are ready to start the initial sale, you mint the token, create a sell offer or accept a buy offer, then complete the transaction.

Benefits

  • There is no reserve requirement for holding unsold NFToken objects.
  • You mint NFToken objects in real time when you know that it will sell.

Downside

Any market activity before the initial sale of the NFToken object is not recorded on the XRP Ledger. This might not be an issue for some applications.

Scripted Minting

Use a program or script to mint many tokens at once. You might find that Tickets help you submit transactions in parallel, up to a current limit of 200 transactions in one group.

For a practical example, see the Batch Mint NFTokens tutorial.

Benefits

  • NFToken objects are minted ahead of time
  • Market activity for the initial sale of the NFToken object is captured on the ledger

Downside

You need to meet the reserve requirement for all of the NFToken objects you mint. As a rule of thumb, this is roughly 1/12th XRP per NFToken object at the current reserve rate. In the event that you do not have enough XRP in reserve, your mint transactions fail until you get more XRP.