Migrate content syntax via script

The changes in this commit were auto-generated by running

tool/migrate.sh

Following this commit, the Dactyl build no longer works but the Redocly
build (mostly) should.
This commit is contained in:
mDuo13
2024-01-31 16:09:41 -08:00
parent 96121303b2
commit 554a3732d4
898 changed files with 19879 additions and 18631 deletions

View File

@@ -18,14 +18,14 @@ This example shows how to:
When you create an account, you receive a public/private key pair offline. Your account does not appear on the ledger until it is funded with XRP. This example shows how to create accounts for Testnet, but not how to create an account that you can use on Mainnet.
[![Token Test Harness](img/quickstart2.png)](img/quickstart2.png)
[![Token Test Harness](/img/quickstart2.png)](/img/quickstart2.png)
## Prerequisites
To get started, create a new folder on your local disk and install the JavaScript library using `npm`.
```
npm install xrpl
npm install xrpl
```
Download and expand the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/){.github-code-download} archive.
@@ -46,7 +46,7 @@ To get test accounts:
4. Click **Get New Operational Account.**
5. Copy and paste the **Seeds** field in a persistent location, such as a Notepad, so that you can reuse the accounts after reloading the form.
[![Standby and Operational Accounts](img/quickstart3.png)](img/quickstart3.png)
[![Standby and Operational Accounts](/img/quickstart3.png)](/img/quickstart3.png)
You can transfer XRP between your new accounts. Each account has its own fields and buttons.
@@ -66,7 +66,7 @@ To transfer XRP from the Operational account to the Standby account:
2. Copy and paste the **Standby Account** field to the Operational **Destination** field.
3. Click **<Send XRP** to transfer XRP from the Operational account to the Standby account.
[![Transferred XRP](img/quickstart4.png)](img/quickstart4.png)
[![Transferred XRP](/img/quickstart4.png)](/img/quickstart4.png)
# Code Walkthrough
@@ -326,13 +326,13 @@ The _Payment_ transaction expects the XRP to be expressed in drops, or 1/million
Sign the prepared transaction.
```
const signed = standby_wallet.sign(prepared)
const signed = standby_wallet.sign(prepared)
```
Submit the transaction and wait for the results.
```
const tx = await client.submitAndWait(signed.tx_blob)
const tx = await client.submitAndWait(signed.tx_blob)
```
Request the balance changes caused by the transaction and report the results.