mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-08-19 01:02:37 +00:00
34 lines
360 B
Markdown
34 lines
360 B
Markdown
# Escrow (JavaScript)
|
|
|
|
Demonstrates how to create, finish, and cancel escrows on the XRP Ledger.
|
|
|
|
## Setup
|
|
|
|
```sh
|
|
npm install
|
|
```
|
|
|
|
## Send Timed Escrow
|
|
|
|
```sh
|
|
node send-timed-escrow.js
|
|
```
|
|
|
|
## Send Conditional Escrow
|
|
|
|
```sh
|
|
node send-conditional-escrow.js
|
|
```
|
|
|
|
## List Escrows
|
|
|
|
```sh
|
|
node list-escrows.js
|
|
```
|
|
|
|
## Cancel Escrow
|
|
|
|
```sh
|
|
node cancel-escrow.js
|
|
```
|