From 06dbf92171ca11b03fd040ed0109c21ce564f981 Mon Sep 17 00:00:00 2001 From: ddawson Date: Tue, 4 Oct 2022 16:36:37 -0700 Subject: [PATCH] Add batch minting topic --- .../concepts/tokens/nftoken-batch-minting.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 content/concepts/tokens/nftoken-batch-minting.md diff --git a/content/concepts/tokens/nftoken-batch-minting.md b/content/concepts/tokens/nftoken-batch-minting.md new file mode 100644 index 0000000000..f0d4858495 --- /dev/null +++ b/content/concepts/tokens/nftoken-batch-minting.md @@ -0,0 +1,42 @@ +--- +html: nftoken-batch-minting.html +parent: non-fungible-tokens.html +blurb: Minting NFTokens in batches. +filters: + - include_code +labels: + - Non-fungible Tokens, NFTs +status: not_enabled +--- + +# Batch minting + +There are two common approaches to minting NFTokens 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 off the XRP Ledger. When you are ready to commence the initial sale, you mint the token, create a sell offer or accept a buy offer, then complete the transaction. + +### Benefits + +* There is little or no reserve requirement for holding unsold NFTokens. +* You mint NFTokens in real time when you know that it will sell. + +### Downside + +Any market activity prior to the initial sale of the NFToken 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 the XRP Ledger ticket functionality helps 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](batch-minting.html) tutorial. + +### Benefits + +* NFTokens are minted ahead of time +* Market activity for the initial sale of the NFToken is captured on the ledger + +Downside + +You need to retain the appropriate XRP reserve for all of the NFTokens you mint. As a rule of thumb, this is roughly 1/12th XRP per NFToken at the current reserve rate. In the event that you do not have sufficient XRP in reserve, your mint transactions fail until you add sufficient XRP to your account. \ No newline at end of file