mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-04-29 15:37:48 +00:00
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:
@@ -20,11 +20,11 @@ This example shows how to:
|
||||
3. Cancel an escrow payment and return the XRP to the sending account.
|
||||
|
||||
|
||||
[](/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**.
|
||||
|
||||
[](/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.
|
||||
|
||||
[](/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.
|
||||
|
||||
[](/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.
|
||||
|
||||
[](/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.
|
||||
|
||||
[](/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.
|
||||

|
||||

|
||||
4. Paste the _PreviousTxnID_ in the **Transaction to Look Up** field.
|
||||

|
||||

|
||||
5. Click **Get Transaction**.
|
||||
6. Locate the _Sequence_ value in the results.
|
||||

|
||||

|
||||
|
||||
# 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user