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:
@@ -19,12 +19,12 @@ This example shows how to:
|
||||
|
||||
3. Cancel a conditional escrow transaction.
|
||||
|
||||
[](/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.
|
||||
|
||||
[](/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**.
|
||||
|
||||
[](/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.
|
||||
|
||||
[](/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.
|
||||
|
||||
[](/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.
|
||||

|
||||

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