mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 12:15:50 +00:00
DEX tutorial: apply suggestions from review
Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Trade in the Decentralized Exchange
|
# Trade in the Decentralized Exchange
|
||||||
|
|
||||||
This code demonstrates how to buy a (fungible) token on the XRP Ledger's decentralized exchange (DEX). For a detailed explanation, see <https://xrpl.org/trade-in-the-decentralized-exchange.html>.
|
This code demonstrates how to buy a (fungible) token on the XRP Ledger's decentralized exchange (DEX). For a detailed explanation of how to trade using the DEX, see <https://xrpl.org/trade-in-the-decentralized-exchange.html>.
|
||||||
|
|
||||||
The code is designed to run in-browser by loading `demo.html` and watching the console output, or in Node.js. For Node.js, you must first install the dependencies using your preferred package manager (such as `yarn` or `npm`).
|
The code is designed to run in-browser by loading `demo.html` and watching the console output, or in Node.js. For Node.js, you must first install the dependencies using your preferred package manager (such as `yarn` or `npm`).
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ labels:
|
|||||||
---
|
---
|
||||||
# Trade in the Decentralized Exchange
|
# Trade in the Decentralized Exchange
|
||||||
|
|
||||||
This tutorial demonstrates how you can buy and sell tokens in the [decentralized exchange](decentralized-exchange.html).
|
This tutorial demonstrates how you can buy and sell tokens in the [decentralized exchange](decentralized-exchange.html) (DEX).
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ For this tutorial, click the following button to connect:
|
|||||||
|
|
||||||
### {{n.next()}}. Get Credentials
|
### {{n.next()}}. Get Credentials
|
||||||
|
|
||||||
To transact on the XRP Ledger, you need an address and secret key, and some XRP. For development purposes, you can get these on the [{{use_network}}](parallel-networks.html) using the following interface:
|
To transact on the XRP Ledger, you need an address, a secret key, and some XRP. For development purposes, you can get these on the [{{use_network}}](parallel-networks.html) using the following interface:
|
||||||
|
|
||||||
{% include '_snippets/interactive-tutorials/generate-step.md' %}
|
{% include '_snippets/interactive-tutorials/generate-step.md' %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user