Trade in the DEX: link sample code & add README

This commit is contained in:
mDuo13
2022-05-19 16:23:34 -07:00
parent 818116eee5
commit eb1cac593c
2 changed files with 12 additions and 0 deletions

View File

@@ -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).

View File

@@ -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)) %}