mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-04-29 15:37:48 +00:00
consistent tut subdirs
This commit is contained in:
committed by
Amarantha Kulkarni
parent
e6c26969b1
commit
5679fc64e0
@@ -1,5 +1,5 @@
|
||||
---
|
||||
html: get-started-using-javascript.html
|
||||
html: get-started-using-javascript-library.html
|
||||
parent: javascript.html
|
||||
seo:
|
||||
description: Build an entry-level JavaScript application for querying the XRP Ledger.
|
||||
@@ -9,7 +9,7 @@ labels:
|
||||
- Development
|
||||
showcase_icon: assets/img/logos/javascript.svg
|
||||
---
|
||||
# Get Started Using JavaScript
|
||||
# Get Started Using JavaScript Library
|
||||
|
||||
This tutorial guides you through the basics of building an XRP Ledger-connected application in JavaScript or TypeScript using the [`xrpl.js`](https://github.com/XRPLF/xrpl.js/) client library in either Node.js or web browsers.
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ top_nav_grouping: Article Types
|
||||
metadata:
|
||||
indexPage: true
|
||||
---
|
||||
# Build Applications with JavaScript
|
||||
# Build Applications with JavaScript Library
|
||||
|
||||
Build full-featured applications in JavaScript.
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
html: javascript.html
|
||||
parent: tutorials.html
|
||||
top_nav_grouping: Article Types
|
||||
<!-- metadata:
|
||||
indexPage: true -->
|
||||
metadata:
|
||||
indexPage: true
|
||||
---
|
||||
# JavaScript
|
||||
|
||||
@@ -31,24 +31,4 @@ To get started:
|
||||
|
||||
## Tutorial Modules
|
||||
|
||||
- **Send Payments on the XRPL**
|
||||
|
||||
- [Create Accounts and Send XRP](./modular-tutorials/send-payments/create-accounts-send-xrp/)
|
||||
- [Create Trust Line and Send Currency](./modular-tutorials/send-payments/create-trust-line-send-currency/)
|
||||
- [Create Time-based Escrows](./modular-tutorials/send-payments/create-time-based-escrows/)
|
||||
- [Create Conditional Escrows](./modular-tutorials/send-payments/create-conditional-escrows/)
|
||||
|
||||
- **NFTs Using JavaScript**
|
||||
- [Mint and Burn NFTs](./modular-tutorials/nfts/mint-and-burn-nfts/)
|
||||
- [Transfer NFTs](./modular-tutorials/nfts/transfer-nfts/)
|
||||
- [Broker an NFT Sale](./modular-tutorials/nfts/broker-an-nft-sale/)
|
||||
- [Assign an Authorized Minter](./modular-tutorials/nfts/assign-an-authorized-minter/)
|
||||
- [Batch Mint NFTs](./modular-tutorials/nfts/batch-mint-nfts/)
|
||||
|
||||
- **Build Applications with JavaScript**
|
||||
- [Get Started Using JavaScript](./build-apps/get-started/)
|
||||
- [Build a Browser Wallet in JavaScript](./build-apps/build-a-browser-wallet-in-javascript/)
|
||||
- [Build a Desktop Wallet in JavaScript](./build-apps/build-a-desktop-wallet-in-javascript/)
|
||||
<!--
|
||||
{% child-pages /%}
|
||||
-->
|
||||
{% child-pages /%}
|
||||
@@ -209,7 +209,7 @@ Report success
|
||||
standbyResultField.value = results
|
||||
```
|
||||
|
||||
This transaction blob is the same as the one used for the previous [`mintToken()` function](mint-and-burn-nfts.md#mint-token), with the addition of the `Issuer` field.
|
||||
This transaction blob is the same as the one used for the previous [`mintToken()` function](./mint-and-burn-nfts.md#mint-token), with the addition of the `Issuer` field.
|
||||
|
||||
```javascript
|
||||
const tx_json = {
|
||||
@@ -42,7 +42,7 @@ This example lets you mint multiple NFTs for a single unique item. The NFT might
|
||||
|
||||
To batch mint a non-fungible token objects:
|
||||
|
||||
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](../../../../references/protocol/transactions/types/nftokenmint.md) for information about all of the available flags for minting 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 **Token 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 a **Token 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.
|
||||
@@ -43,7 +43,7 @@ You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-port
|
||||
|
||||
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. See [NFTokenMint](../../../../references/protocol/transactions/types/nftokenmint.md) for information about all of the available flags for minting 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.
|
||||
2. Enter the **Token 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.
|
||||
4. Click **Mint NFT**.
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
html: send-and-cash-checks.html
|
||||
parent: send-payments-using-javascript.html
|
||||
blurb: Send checks to facilitate a two-step payment.
|
||||
labels:
|
||||
- Accounts
|
||||
- Quickstart
|
||||
Reference in New Issue
Block a user