mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 04:05:49 +00:00
Checks tutorials: 1st draft done
This commit is contained in:
3
content/snippets/tutorial-sign-step.md
Normal file
3
content/snippets/tutorial-sign-step.md
Normal file
@@ -0,0 +1,3 @@
|
||||
The most secure way to sign a transaction is to do it locally with a signing library, such as [RippleAPI](reference-rippleapi.html). Alternatively, you can sign the transaction using the [`sign`](reference-rippled.html#sign) command, but this must be done through a trusted and encrypted connection, or through a local connection, and only to a server you control.
|
||||
|
||||
In all cases, note the signed transaction's identifying hash for later.
|
||||
3
content/snippets/tutorial-submit-step.md
Normal file
3
content/snippets/tutorial-submit-step.md
Normal file
@@ -0,0 +1,3 @@
|
||||
Take the signed transaction blob from the previous step and submit it to a `rippled` server. You can do this safely even if you do not operate the `rippled` server. The response contains a provisional result, which should be `tesSUCCESS`, but this result is [usually not final](reference-transaction-format.html#finality-of-results). A provisional response of `terQUEUED` is also OK, since [queued transactions](concept-transaction-cost.html#queued-transactions) are generally included in the next open ledger version (usually about 10 seconds after submission).
|
||||
|
||||
**Tip:** If the preliminary result is `tefMAX_LEDGER`, the transaction has failed permanently because its `LastLedgerSequence` parameter is lower than the current ledger. This happens when you take longer than the expected number of ledger versions between preparing and submitting the transaction. If this occurs, [start over from step 1]({{step_1_link}}) with a higher `LastLedgerSequence` value.
|
||||
Reference in New Issue
Block a user