mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-05 20:35:50 +00:00
fixes per Maria's review
This commit is contained in:
@@ -43,7 +43,8 @@ You can download the [NFT Modular Sam;ples](../../../../_code-samples/nft-modula
|
||||
|
||||
To authorize another account to create NFTs for your account:
|
||||
|
||||
1. Enter the account you want to authorize in the **Authorized Minter** field.
|
||||
1. Click the Account 1 or Account 2 radio button. The account information populates the uneditable fields of the form.
|
||||
2. Enter the account you want to authorize in the **Authorized Minter** field.
|
||||
3. Click **Authorize Minter**.
|
||||
|
||||
[](../../../img/mt-auth-minter-2-authorize-minter.png)
|
||||
@@ -52,9 +53,10 @@ To authorize another account to create NFTs for your account:
|
||||
|
||||
To mint a non-fungible token for another account:
|
||||
|
||||
1. Set the **Flags** field. For testing purposes, we recommend setting the value to _8_.
|
||||
2. Enter the **NFT URL**. This is a URI that points to the data or metadata associated with the NFT object. You can use the sample URI provided if you do not have one of your own.
|
||||
3. Enter the **Transfer Fee**, a percentage of the proceeds that the original creator receives from future sales of the NFT. This is a value of 0-50000 inclusive, allowing transfer rates between 0.000% and 50.000% in increments of 0.001%. If you do not set the **Flags** field to allow the NFT to be transferrable, set this field to 0.
|
||||
1. Click the Account 1 or Account 2 radio button. The account information populates the uneditable fields of the form.
|
||||
2. Set the **Flags** field. For testing purposes, we recommend setting the value to _8_.
|
||||
3. Enter the **NFT URL**. This is a URI that points to the data or metadata associated with the NFT object. You can use the sample URI provided if you do not have one of your own.
|
||||
4. Enter the **Transfer Fee**, a percentage of the proceeds that the original creator receives from future sales of the NFT. This is a value of 0-50000 inclusive, allowing transfer rates between 0.000% and 50.000% in increments of 0.001%. If you do not set the **Flags** field to allow the NFT to be transferrable, set this field to 0.
|
||||
5. Enter the account number on whose behalf you are minting the NFT in the **NFT Issuer** field.
|
||||
6. Optionally, you can set an expected prices for the NFT. To set a price in XRP, enter the amount in drops in the **Amount** field. To use an issued currency, enter the **Currency**, **Issuer**, and **Amount**.
|
||||
7. Optionally, you can enter a **Destination** address that will be the only account authorized to purchase the NFT.
|
||||
|
||||
@@ -34,18 +34,19 @@ This example lets you mint multiple NFTs for a single unique item. The NFT might
|
||||
|
||||
To batch mint NFTs:
|
||||
|
||||
1. Set the **Flags** field. For testing purposes, we recommend setting the value to _8_. This sets the _tsTransferable_ flag, meaning that the NFT object can be transferred to another account. Otherwise, the NFT object can only be transferred back to the issuing account. See [NFTokenMint](../../../../docs/references/protocol/transactions/types/nftokenmint.md) for information about all of the available flags for minting NFTs.
|
||||
2. Enter the **NFT URL**. This is a URI that points to the data or metadata associated with the NFT object. You can use the sample URI provided if you do not have one of your own.
|
||||
3. Set the **NFT Taxon**. If you don't have a use for this field, set it to _0_.
|
||||
3. Enter an **NFT Count** of up to 200 NFTs to create in one batch.
|
||||
4. Enter the **Transfer Fee**, a percentage of the proceeds that the original creator receives from future sales of the NFT. This is a value of 0-50000 inclusive, allowing transfer fees between 0.000% and 50.000% in increments of 0.001%. If you do not set the **Flags** field to allow the NFT to be transferrable, set this field to 0.
|
||||
5. Click **Batch Mint NFTs**.
|
||||
1. Click the Account 1 or Account 2 radio button. The account information populates the uneditable fields of the form.
|
||||
2. Set the **Flags** field. For testing purposes, we recommend setting the value to _8_. This sets the _tsTransferable_ flag, meaning that the NFT object can be transferred to another account. Otherwise, the NFT object can only be transferred back to the issuing account. See [NFTokenMint](../../../../docs/references/protocol/transactions/types/nftokenmint.md) for information about all of the available flags for minting NFTs.
|
||||
3. Enter the **NFT URL**. This is a URI that points to the data or metadata associated with the NFT object. You can use the sample URI provided if you do not have one of your own.
|
||||
4. Set the **NFT Taxon**. If you don't have a use for this field, set it to _0_.
|
||||
5. Enter an **NFT Count** of up to 200 NFTs to create in one batch.
|
||||
6. Enter the **Transfer Fee**, a percentage of the proceeds that the original creator receives from future sales of the NFT. This is a value of 0-50000 inclusive, allowing transfer fees between 0.000% and 50.000% in increments of 0.001%. If you do not set the **Flags** field to allow the NFT to be transferrable, set this field to 0.
|
||||
7. Click **Batch Mint NFTs**.
|
||||
|
||||
[](../../../img/mt-batch-mint-2-batch-mint.png)
|
||||
|
||||
## Get Batch NFTs
|
||||
|
||||
Click **Get Batch NFTs** to get the current list of NFTs for your account.
|
||||
Click **Get Batch NFTs** to get the current list of NFTs for the selected account.
|
||||
|
||||
The difference between this function and the `getTokens()` function used earlier is that it allows for larger lists of tokens, and sends multiple requests if the tokens exceed the number of objects allowed in a single request.
|
||||
|
||||
|
||||
@@ -58,6 +58,7 @@ To create a brokered sale, you need a broker account, a Sell Offer with the brok
|
||||
|
||||
## Broker the Sale
|
||||
|
||||
1. Click the Account 1 or Account 2 radio button. The account information populates the uneditable fields of the form.
|
||||
1. Copy the _nft_offer_index_ of the sell offer and paste it in the **Sell Offer Index** field.
|
||||
2. Copy the _nft_offer_index_ of the buy offer and paste it in the **Buy Offer Index** field.
|
||||
3. Enter a **Broker Fee**, in drops.
|
||||
|
||||
@@ -40,7 +40,8 @@ You can download the [NFT Modular Tutorials](../../../../_code-samples/nft-modul
|
||||
|
||||
To mint a non-fungible token object:
|
||||
|
||||
1. Set the **Flags** field. For testing purposes, we recommend setting the value to _8_. This sets the _tsTransferable_ flag, meaning that the NFT object can be transferred to another account. Otherwise, the NFT object can only be transferred back to the issuing account.
|
||||
1. Click the Account 1 or Account 2 radio button. The account information populates the uneditable fields of the form.
|
||||
2. Set the **Flags** field. For testing purposes, we recommend setting the value to _8_. This sets the _tsTransferable_ flag, meaning that the NFT object can be transferred to another account. Otherwise, the NFT object can only be transferred back to the issuing account.
|
||||
2. Enter the **NFT URL**. This is a URI that points to the data or metadata associated with the NFT object. You can use the sample URI provided if you do not have one of your own.
|
||||
3. Enter the **Transfer Fee**, a percentage of the proceeds from future sales of the NFT that will be returned to the original creator. This is a value of 0-50000 inclusive, allowing transfer rates between 0.000% and 50.000% in increments of 0.001%. If you do not set the **Flags** field to allow the NFT to be transferrable, set this field to 0. If you impose a transfer fee, your NFT can only be traded for tokens for which your account has a trust line. See [Trust Lines](../../../concepts/tokens/fungible-tokens/index.md#trust-lines).
|
||||
4. Enter an **NFT Taxon**. This is a required value, but if you are not using the field to create an integer-based taxon entry, you can set the value to 0.
|
||||
@@ -54,7 +55,7 @@ To mint a non-fungible token object:
|
||||
|
||||
## Get Tokens
|
||||
|
||||
Click **Get NFTs** to get a list of NFTs owned by the account.
|
||||
Click **Get NFTs** to get a list of NFTs owned by the currently selected account.
|
||||
|
||||
[](../../../img/mt-mint-token-4-get-tokens.png)
|
||||
|
||||
|
||||
@@ -43,13 +43,14 @@ You can download the [NFT Modular Tutorials](../../../../_code-samples/nft-modul
|
||||
|
||||
To create an NFT sell offer:
|
||||
|
||||
1. Enter the **Amount** of the sell offer.
|
||||
1. Click the Account 1 or Account 2 radio button. The account information populates the uneditable fields of the form.
|
||||
2. Enter the **Amount** of the sell offer.
|
||||
1. If using _XRP_, enter the **Amount** in drops (millionths of an XRP; for example, 20000000).
|
||||
2. If using issued currency, enter the **Currency** code, **Issuer** account address, and the **Amount**.
|
||||
2. Optionally, include a **Destination** account address. If present, only that account will have permission to accept the sell offer.
|
||||
3. Optionally, enter a number of days until **Expiration** of the offer.
|
||||
4. Enter the **NFT ID** of the NFT you want to sell.
|
||||
5. Click **Create Sell Offer**.
|
||||
3. Optionally, include a **Destination** account address. If present, only that account will have permission to accept the sell offer.
|
||||
4. Optionally, enter a number of days until **Expiration** of the offer.
|
||||
5. Enter the **NFT ID** of the NFT you want to sell.
|
||||
6. Click **Create Sell Offer**.
|
||||
|
||||
[](../../../img/mt-transfer-nfts-3-create-sell-offer.png)
|
||||
|
||||
@@ -69,8 +70,9 @@ Once a sell offer is available, another account can opt to accept the offer and
|
||||
|
||||
To accept an available sell offer:
|
||||
|
||||
1. Enter the **NFT Offer Index** (labeled as `nft_offer_index` in the token offer results. This is different from the `NFTokenID`.)
|
||||
2. Click **Accept Sell Offer**.
|
||||
1. Click the Account 1 or Account 2 radio button. The account information populates the uneditable fields of the form.
|
||||
2. Enter the **NFT Offer Index** (labeled as `nft_offer_index` in the token offer results. This is different from the `NFTokenID`.)
|
||||
3. Click **Accept Sell Offer**.
|
||||
|
||||
[](../../../img/mt-transfer-nfts-5-accept-sell-offer.png)
|
||||
|
||||
@@ -80,7 +82,7 @@ You can offer to buy an NFT from another account.
|
||||
|
||||
To create an offer to buy an NFT:
|
||||
|
||||
1. Change to an account other than the NFT owner.
|
||||
1. Click the Account 1 or Account 2 radio button to change to an account other than the NFT owner.
|
||||
2. Enter the **Amount** of your offer.
|
||||
1. If paying XRP, enter the **Amount** of XRP in drops (1000000 equals 1 XRP).
|
||||
2. If paying an issued currency, enter the **Currency**, **Issuer**, and **Amount**.
|
||||
@@ -95,7 +97,7 @@ To create an offer to buy an NFT:
|
||||
|
||||
To accept an offer to buy an NFT:
|
||||
|
||||
1. Change to the NFT owner account.
|
||||
1. Click the Account 1 or Account 2 radio button to change to the NFT owner account.
|
||||
2. Use **Get Offers**, above, if needed, to find the `nft_offer_index`.
|
||||
3. Enter the `nft_offer_index` in the **NFT Offer ID** field.
|
||||
4. Click **Accept Buy Offer**.
|
||||
@@ -106,8 +108,9 @@ To accept an offer to buy an NFT:
|
||||
|
||||
To cancel a buy or sell offer that you have created:
|
||||
|
||||
1. Enter the **NFT Offer Index**.
|
||||
2. Click **Cancel Offer**.
|
||||
1. Click the Account 1 or Account 2 radio button. The account information populates the uneditable fields of the form.
|
||||
2. Enter the **NFT Offer Index**.
|
||||
3. Click **Cancel Offer**.
|
||||
|
||||
[](../../../img/mt-transfer-nfts-8-cancel-offer.png)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user