mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
add readme to each folder
This commit is contained in:
5
content/_code-samples/claim-payment-channel/README.md
Normal file
5
content/_code-samples/claim-payment-channel/README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Create and Claim a Payment Channel
|
||||||
|
|
||||||
|
Create, claim and verify a Payment Channel.
|
||||||
|
|
||||||
|
For more context, see [PayChannel](https://xrpl.org/paychannel.html#paychannel).
|
||||||
5
content/_code-samples/get-tx/README.md
Normal file
5
content/_code-samples/get-tx/README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Get a Transaction on the Ledger
|
||||||
|
|
||||||
|
Retrieve and display a transaction on the ledger.
|
||||||
|
|
||||||
|
For more context, see [tx Method](https://xrpl.org/tx.html).
|
||||||
5
content/_code-samples/multisigning/README.md
Normal file
5
content/_code-samples/multisigning/README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Multisign a transaction.
|
||||||
|
|
||||||
|
Create and submit a SignerListSet and multisign a transaction.
|
||||||
|
|
||||||
|
For more context, see [Multi-signing](https://xrpl.org/multi-signing.html).
|
||||||
12
content/_code-samples/partial-payment/README.md
Normal file
12
content/_code-samples/partial-payment/README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# Send Partial Payments
|
||||||
|
|
||||||
|
Send partial payments with money amount less than the amount specified on 2 conditions:
|
||||||
|
|
||||||
|
- Sender has less money than the aamount specified in the payment Tx.
|
||||||
|
- Sender has the tfPartialPayment flag activated.
|
||||||
|
|
||||||
|
Other ways to specify flags are by using Hex code and decimal code.
|
||||||
|
eg. For partial payment(tfPartialPayment)
|
||||||
|
decimal ->131072, hex -> 0x00020000
|
||||||
|
|
||||||
|
For more context, see [Partial Payments](https://xrpl.org/partial-payments.html)
|
||||||
5
content/_code-samples/paths/README.md
Normal file
5
content/_code-samples/paths/README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Use Paths
|
||||||
|
|
||||||
|
Extract paths from RipplePathFind and send a payment using paths.
|
||||||
|
|
||||||
|
For more context, see [Paths](https://xrpl.org/paths.html).
|
||||||
9
content/_code-samples/reliable-tx-submission/README.md
Normal file
9
content/_code-samples/reliable-tx-submission/README.md
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Implement Reliable Transaction Submission
|
||||||
|
|
||||||
|
Send a transaction and see its validation response. For the implementation in this example, we have made the following decisions:
|
||||||
|
|
||||||
|
- We allow the autofill function as a part of submitAndWait to fill up the account sequence, LastLedgerSequence and Fee. Payments are defined upfront, and idempotency is not needed. If the script is run a second time, duplicate payments will result.
|
||||||
|
- We will rely on the submitAndWait function to get us the transaction submission result after the wait time.
|
||||||
|
- Transactions will not be automatically retried. Transactions are limited to XRP-to-XRP payments and cannot "succeed" in an unexpected way.
|
||||||
|
|
||||||
|
For more context, see [Reliable Transaction Submission](https://xrpl.org/reliable-transaction-submission.html)
|
||||||
5
content/_code-samples/set-regular-key/README.md
Normal file
5
content/_code-samples/set-regular-key/README.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Use `SetRegularKey`
|
||||||
|
|
||||||
|
Use `SetRegularKey` to assign a key pair to a wallet and make a payment signed using the regular key wallet.
|
||||||
|
|
||||||
|
For more context, see [SetRegularKey](https://xrpl.org/setregularkey.html).
|
||||||
Reference in New Issue
Block a user