mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 19:55:54 +00:00
Trade in the DEX: link sample code & add README
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Trade in the Decentralized Exchange
|
||||
|
||||
Look up Offers in the Decentralized Exchange and buy a fungible token by spending XRP.
|
||||
|
||||
Examples from the interactive [Trade in the Decentralized Exchange tutorial](https://xrpl.org/trade-in-the-decentralized-exchange.html).
|
||||
@@ -6,6 +6,7 @@ filters:
|
||||
- interactive_steps
|
||||
- include_code
|
||||
labels:
|
||||
- Decentralized Exchange
|
||||
- Tokens
|
||||
---
|
||||
# Trade in the Decentralized Exchange
|
||||
@@ -22,6 +23,12 @@ This page provides JavaScript examples that use the [xrpl.js](https://js.xrpl.or
|
||||
|
||||
Since JavaScript works in the web browser, you can read along and use the interactive steps without any setup.
|
||||
|
||||
## Example Code
|
||||
|
||||
Complete sample code for all of the steps of this tutorial is available under the [MIT license](https://github.com/XRPLF/xrpl-dev-portal/blob/master/LICENSE).
|
||||
|
||||
- See [Code Samples: Trade in the Decentralized Exchange](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/trade-in-the-decentralized-exchange/) in the source repository for this website.
|
||||
|
||||
|
||||
## Steps
|
||||
{% set n = cycler(* range(1,99)) %}
|
||||
|
||||
Reference in New Issue
Block a user