mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-04-29 15:37:48 +00:00
28 lines
432 B
Markdown
28 lines
432 B
Markdown
# Use Tickets (JavaScript)
|
|
|
|
Demonstrates how to use Tickets for out-of-order transaction submission on the XRP Ledger.
|
|
|
|
## Setup
|
|
|
|
```sh
|
|
npm install
|
|
```
|
|
|
|
## Basic Ticket Usage
|
|
|
|
### Browser
|
|
|
|
Open `demo.html` in a web browser and check the browser console to see the logs.
|
|
|
|
Alternatively, you can run the code from the command line:
|
|
|
|
```sh
|
|
node use-tickets.js
|
|
```
|
|
|
|
## Tickets with Multi-Signing
|
|
|
|
```sh
|
|
node use-tickets-multisig.js
|
|
```
|