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

@@ -19,12 +19,12 @@ This example shows how to:
3. Cancel a conditional escrow transaction.
[![Conditional Escrow Tester Form](/img/conditional-escrow1.png)](/img/conditional-escrow1.png)
[![Conditional Escrow Tester Form](/docs/img/conditional-escrow1.png)](/docs/img/conditional-escrow1.png)
## Prerequisites
Download and expand the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/)<!-- {.github-code-download} --> archive.
Download and expand the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/_code-samples/quickstart/js/)<!-- {.github-code-download} --> archive.
## Usage
@@ -43,7 +43,7 @@ To create a condition/fulfillment pair:
2. Enter the command `node getConditionAndFulfillment.js`.
3. Copy and save the generated Condition and Fulfillment pair.
[![Condition and Fulfillment](/img/conditional-escrow2.png)](/img/conditional-escrow2.png)
[![Condition and Fulfillment](/docs/img/conditional-escrow2.png)](/docs/img/conditional-escrow2.png)
To get test accounts:
@@ -57,7 +57,7 @@ To get test accounts:
1. Click **Get New Standby Account**.
2. Click **Get New Operational Account**.
[![Escrow Tester with Account Information](/img/conditional-escrow3.png)](/img/conditional-escrow3.png)
[![Escrow Tester with Account Information](/docs/img/conditional-escrow3.png)](/docs/img/conditional-escrow3.png)
### Create Conditional Escrow:
@@ -81,7 +81,7 @@ The escrow is created on the XRP Ledger instance, reserving your requested XRP a
When you create an escrow, capture and save the _Sequence Number_ so that you can use it to finish the escrow transaction.
[![Created Escrow Transaction](/img/conditional-escrow4.png)](/img/conditional-escrow4.png)
[![Created Escrow Transaction](/docs/img/conditional-escrow4.png)](/docs/img/conditional-escrow4.png)
## Finish Conditional Escrow
@@ -95,7 +95,7 @@ To finish a time-based escrow:
The transaction completes and balances are updated for both the Standby and Operational accounts.
[![Finished Escrow Transaction](/img/conditional-escrow5.png)](/img/conditional-escrow5.png)
[![Finished Escrow Transaction](/docs/img/conditional-escrow5.png)](/docs/img/conditional-escrow5.png)
## Get Escrows
@@ -112,16 +112,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.
## getConditionAndFulfillment.js