Merge pull request #3077 from XRPLF/mpt_generator_tutorial
Update the UI (and screenshots), link to demo video.
@@ -42,7 +42,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<span class="tooltip" tooltip-data="Arbitrary human-readable name for the account.">
|
||||
<span class="tooltip" tooltip-data="An optional arbitrary human-readable name for the account.">
|
||||
<label for="accountNameField">Account Name</label>
|
||||
</span>
|
||||
</td>
|
||||
@@ -86,7 +86,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="tooltip" tooltip-data="An asset scale is the difference, in orders of magnitude, between a standard unit and a corresponding fractional unit.">
|
||||
<span class="tooltip" tooltip-data="The decimal precision of the MPT. For example, a US Dollar Stablecoin will likely have an asset scale of 2, representing 2 decimal places; 1 unit of this MPToken would equal 0.01 US Dollars.">
|
||||
Asset Scale
|
||||
</span>
|
||||
</td>
|
||||
@@ -120,7 +120,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
<span class="tooltip" tooltip-data="Issuer can claw back value from holders.">
|
||||
Clawback
|
||||
Allow Clawback
|
||||
</span>
|
||||
</td>
|
||||
<td align="middle">
|
||||
@@ -132,8 +132,8 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="tooltip" tooltip-data="MPT can be locked individually and globally.">
|
||||
Lock
|
||||
<span class="tooltip" tooltip-data="Allow MPT to be locked individually and globally.">
|
||||
Allow Lock
|
||||
</span>
|
||||
</td>
|
||||
<td align="middle">
|
||||
|
||||
|
Before Width: | Height: | Size: 200 KiB After Width: | Height: | Size: 202 KiB |
|
Before Width: | Height: | Size: 449 KiB After Width: | Height: | Size: 267 KiB |
|
Before Width: | Height: | Size: 585 KiB After Width: | Height: | Size: 520 KiB |
|
Before Width: | Height: | Size: 397 KiB After Width: | Height: | Size: 353 KiB |
|
Before Width: | Height: | Size: 224 KiB After Width: | Height: | Size: 222 KiB |
|
Before Width: | Height: | Size: 552 KiB After Width: | Height: | Size: 492 KiB |
|
Before Width: | Height: | Size: 343 KiB After Width: | Height: | Size: 326 KiB |
@@ -41,7 +41,7 @@ This example assumes that the issuer of the token is the signer of the transacti
|
||||
| Field | JSON Type | [Internal Type][] | Description |
|
||||
|:----------------|:--------------------|:------------------|:-------------------|
|
||||
| `TransactionType` | string | UInt16 | Indicates the new transaction type MPTokenIssuanceCreate. |
|
||||
| `AssetScale` | number | UInt8 | (Optional) An asset scale is the difference, in orders of magnitude, between a standard unit and a corresponding fractional unit. More formally, the asset scale is a non-negative integer (0, 1, 2, …) such that one standard unit equals 10^(-scale) of a corresponding fractional unit. If the fractional unit equals the standard unit, then the asset scale is 0. Note that this value is optional, and will default to 0 if not supplied. |
|
||||
| `AssetScale` | number | UInt8 | (Optional) An asset scale is the difference, in orders of magnitude, between a standard unit and a corresponding fractional unit. More formally, the asset scale is a non-negative integer (0, 1, 2, …) such that one standard unit equals 10^(-scale) of a corresponding fractional unit. For example, a US Dollar Stablecoin will likely have an asset scale of _2_, representing 2 points of precision; 1 unit of this MPToken would equal 0.01 US Dollars. If the fractional unit equals the standard unit, then the asset scale is 0. Note that this value is optional, and will default to 0 if not supplied. |
|
||||
| `Flags` | number | UInt16 | Specifies the flags for this transaction. See [MPTokenIssuanceCreate Flags](#mptokenissuancecreate-flags). |
|
||||
| `TransferFee` | number | UInt16 | (Optional) The value specifies the fee to charged by the issuer for secondary sales of the Token, if such sales are allowed. Valid values for this field are between 0 and 50,000 inclusive, allowing transfer rates of between 0.000% and 50.000% in increments of 0.001. The field _must not_ be present if the tfMPTCanTransfer flag is not set. If it is, the transaction should fail and a fee should be claimed. |
|
||||
| `MaximumAmount` | string | UInt64 | (Optional) The maximum asset amount of this token that can ever be issued, as a base-10 number encoded as a string. The current default maximum limit is 9,223,372,036,854,775,807 (2^63-1). _This limit may increase in the future. If an upper limit is required, you must specify this field._ |
|
||||
|
||||
@@ -357,6 +357,8 @@ const transactionJson = {
|
||||
|
||||
A US Treasury bill (T-bill) is a short-term debt security issued by the US government. T-bills are considered a safe investment because they're backed by the US government. T-bills are appealing to investors in American states that have high income tax because the interest earned is exempt from state and local taxes. See [Treasury Bills In Depth](https://www.treasurydirect.gov/research-center/history-of-marketable-securities/bills/t-bills-indepth/).
|
||||
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/ZZ2KZTEJECg?si=IilL9rPrHqsi21Lb" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
||||
|
||||
### Creating an Issuing Account
|
||||
|
||||
You can use the Account Configurator to experiment with the settings for a T-bill issuing account in a sandbox environment. When you are satisfied with your configuration, you can create an account on XRPL Mainnet to begin trading.
|
||||
@@ -452,4 +454,8 @@ Click **Gather MPT Information** to copy the account information and MPT Issuanc
|
||||
|
||||

|
||||
|
||||
## See Also:
|
||||
|
||||
- [Sending MPTs](../../tutorials/javascript/send-payments/sending-mpts.md)
|
||||
|
||||
{% raw-partial file="/docs/_snippets/common-links.md" /%}
|
||||