Code samples cleanup:

- Move Quickstart to a language folder
- Copy-edits to code sample blurbs/titles
This commit is contained in:
mDuo13
2022-05-13 13:20:43 -07:00
parent cafb714104
commit e38318abb0
10 changed files with 14 additions and 31 deletions

View File

@@ -1,3 +1,3 @@
# Address Encoding
Encode and decode XRP Ledger addresses in base58. (This implementation is equivalent to the ones included in most client libraries.)
Encode XRP Ledger addresses in base58. (This reference implementation is equivalent to the ones included in most client libraries.)

View File

@@ -1,4 +1,4 @@
# Get Started
# Introductory Code Samples
Connect to the XRP Ledger and query it for data.

View File

@@ -1,22 +1,5 @@
# Quickstart Samples Archive
Build a simple test interface for the XRPL.
Create a test harness for XRPL features using 4 iterative HTML pages and accompanying JavaScript files.
This folder contains the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/quickstart.zip) archive, which includes 4 iterative HTML pages as a test harness for XRPL features, with accompanying JavaScript files. The archive includes the following files:
1.get-accounts-send--xrp.html
2.create-trustline-send-currency.html
3.mint-nfts.html
4.transfer-nfts.html
ripplex1-send-xrp.js
ripplex2-send-currency.js
ripplex3-mint-nfts.js
ripplex4-transfer-nfts.js
Get up and running with the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/quickstart.zip) archive, which includes 4 iterative HTML pages as a test harness for XRPL features, with accompanying JavaScript files. For the full explanation, see the [XRPL Quickstart Tutorial](https://xrpl.org/xrpl-quickstart.html).

View File

@@ -1,5 +1,5 @@
# Transaction Serialization
Convert transactions and other XRPL data from JSON to their canonical binary format for signing or cryptographic verification.
Convert transactions and other XRPL data from JSON to their canonical binary format for signing or cryptographic verification. (This reference implementation is equivalent to the ones included in most client libraries.)
For a detailed explanation, see [Serialization](https://xrpl.org/serialization.html).

View File

@@ -38,7 +38,7 @@ To get started, create a new folder on your local disk and install the JavaScrip
```
Download and expand the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/quickstart.zip) archive.
Download and expand the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/quickstart.zip) archive.
## Usage
@@ -89,7 +89,7 @@ To transfer XRP between accounts:
# Code Walkthrough
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/quickstart.zip) in the source repository for this website.
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/quickstart.zip) in the source repository for this website.

View File

@@ -26,7 +26,7 @@ This example shows how to:
![Test harness with currency transfer](img/quickstart5.png)
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/quickstart.zip) archive to try each of the samples in your own browser.
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/quickstart.zip) archive to try each of the samples in your own browser.
## Usage
@@ -78,7 +78,7 @@ To transfer an issued currency token, once you have created a TrustLine:
# Code Walkthrough
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/quickstart.zip) archive to try each of the samples in your own browser.
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/quickstart.zip) archive to try each of the samples in your own browser.
## ripplex2-send-currency.js

View File

@@ -26,7 +26,7 @@ This example shows how to:
# Usage
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/quickstart.zip) archive to try the sample in your own browser.
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/quickstart.zip) archive to try the sample in your own browser.
## Get Accounts
@@ -100,7 +100,7 @@ To permanently destroy a NFToken:
# Code Walkthrough
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/quickstart.zip) archive to examine the code samples.
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/quickstart.zip) archive to examine the code samples.
## ripplex3-mint-nfts.js

View File

@@ -27,7 +27,7 @@ This example shows how to:
![Quickstart form with NFToken transfer fields](img/quickstart13.png)
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/quickstart.zip) archive to try each of the samples in your own browser.
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/quickstart.zip) archive to try each of the samples in your own browser.
# Usage
@@ -158,7 +158,7 @@ To cancel a buy or sell offer that you have created:
# Code Walkthrough
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/quickstart.zip) archive to try each of the samples in your own browser.
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/quickstart.zip) archive to try each of the samples in your own browser.
## Create Sell Offer

View File

@@ -52,7 +52,7 @@ To get started, create a new folder on your local disk and install the JavaScrip
```
Download and expand the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/quickstart.zip) archive.
Download and expand the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/quickstart.zip) archive.
---