Re-levelization: move non-docs content, rename content→docs

For better URLs, the content folder has been renamed 'docs' and all
other files have been moved up a level. Also, non-docs images have been
moved to the static folder at the top level where they belong.

Many relative paths had to be fixed to make this work.
This commit is contained in:
mDuo13
2024-01-31 17:53:52 -08:00
parent 971053ebcc
commit 7645140477
844 changed files with 3136 additions and 3458 deletions

View File

@@ -20,11 +20,11 @@ This example shows how to:
3. Cancel an escrow payment and return the XRP to the sending account.
[![Escrow Tester Form](/img/quickstart-escrow1.png)](/img/quickstart-escrow1.png)
[![Escrow Tester Form](/docs/img/quickstart-escrow1.png)](/docs/img/quickstart-escrow1.png)
## Prerequisites
Download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/)<!-- {.github-code-download} -->.
Download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/_code-samples/quickstart/js/)<!-- {.github-code-download} -->.
## Usage
@@ -40,7 +40,7 @@ To get test accounts:
1. Click **Get New Standby Account**.
2. Click **Get New Operational Account**.
[![Escrow Tester with Account Information](/img/quickstart-escrow2.png)](/img/quickstart-escrow2.png)
[![Escrow Tester with Account Information](/docs/img/quickstart-escrow2.png)](/docs/img/quickstart-escrow2.png)
## Create Escrow
@@ -62,7 +62,7 @@ To create a time-based escrow:
The escrow is created on the XRP Ledger instance, reserving 100 XRP plus the transaction cost. When you create an escrow, capture and save the **Sequence Number** so that you can use it to finish the escrow transaction.
[![Completed Escrow Transaction](/img/quickstart-escrow3.png)](/img/quickstart-escrow3.png)
[![Completed Escrow Transaction](/docs/img/quickstart-escrow3.png)](/docs/img/quickstart-escrow3.png)
## Finish Escrow
@@ -75,7 +75,7 @@ To finish a time-based escrow:
The transaction completes and balances are updated for both the Standby and Operational accounts.
[![Completed Escrow Transaction](/img/quickstart-escrow4.png)](/img/quickstart-escrow4.png)
[![Completed Escrow Transaction](/docs/img/quickstart-escrow4.png)](/docs/img/quickstart-escrow4.png)
## Get Escrows
@@ -85,7 +85,7 @@ For the purposes of this tutorial, follow the steps in [Create Escrow](#create-e
Click **Get Escrows** for both the Standby and the Operational account. The `account_info` request returns the same `account_object` for both accounts, demonstrating the link between the accounts created by the escrow transaction.
[![Get Escrows results](/img/quickstart-escrow5.png)](/img/quickstart-escrow5.png)
[![Get Escrows results](/docs/img/quickstart-escrow5.png)](/docs/img/quickstart-escrow5.png)
## Cancel Escrow
@@ -101,7 +101,7 @@ To cancel an expired escrow:
The funds are returned to the Standby account, less the initial transaction fee.
[![Cancel Escrow results](/img/quickstart-escrow6.png)](/img/quickstart-escrow6.png)
[![Cancel Escrow results](/docs/img/quickstart-escrow6.png)](/docs/img/quickstart-escrow6.png)
## Oh No! I Forgot to Save the Sequence Number!
@@ -110,16 +110,16 @@ If you forget to save the sequence number, you can find it in the escrow transac
1. Create a new escrow as described in [Create Escrow](#create-escrow), above.
2. Click **Get Escrows** to get the escrow information.
3. Copy the _PreviousTxnID_ value from the results.
![Transaction ID in Get Escrows results](/img/quickstart-escrow7.png)
![Transaction ID in Get Escrows results](/docs/img/quickstart-escrow7.png)
4. Paste the _PreviousTxnID_ in the **Transaction to Look Up** field.
![Transaction to Look Up field](/img/quickstart-escrow8.png)
![Transaction to Look Up field](/docs/img/quickstart-escrow8.png)
5. Click **Get Transaction**.
6. Locate the _Sequence_ value in the results.
![Sequence number in results](/img/quickstart-escrow9.png)
![Sequence number in results](/docs/img/quickstart-escrow9.png)
# Code Walkthrough
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/)<!-- {.github-code-download} --> in the source repository for this website.
You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/_code-samples/quickstart/js/)<!-- {.github-code-download} --> in the source repository for this website.
## ripple8-escrow.js