Connect to the XRP Ledger and query it for data.
Create a test harness for XRPL features using JavaScript or Python.
Encode XRP Ledger addresses in base58. (This reference implementation is equivalent to the ones included in most client libraries.)
Simulate how offers interact with each other and AMMs on the XRPL DEX.
Implement a non-custodial wallet application that runs on in a web browser and can check an account's balances, send XRP, and notify when the account receives incoming transactions.
Implement a non-custodial wallet application that runs on a desktop and can check an account's balances, send XRP, and notify when the account receives incoming transactions.
Code samples for the Create an Automated Market Maker tutorial , showing how to make set up a new AMM.
Create, claim and verify a Payment Channel.
Derive secp256k1 or Ed25519 key pairs from seeds in any of the XRP Ledger's encodings and formats. (This implementation is equivalent to the ones included in most client libraries.)
Create, finish, and cancel using conditional or time-based release.
Freeze and unfreeze issued tokens, check freeze status, or give up the ability to freeze tokens.
Retrieve and display a transaction on the ledger.
Send a transaction and see its validation response. For the implementation in this example, we have made the following decisions:
Configure issuer settings and issue fungible tokens to another account.
Iterate over a ledger_data method request that requires multiple calls.
Use the WebSocket protocol to watch for incoming payments to an XRP Ledger address, without using a client library.
Create and submit a SignerListSet and multisign a transaction.
Various NFT-related actions. Also see the Quickstart Samples for more code related to NFT tutorials.
Convert from a string from either the XRP Ledger's "standard" 3-character or "non-standard" 40-character hexadecimal format into a string for humans to read.
Require incoming payments to specify a Destination Tag so you know whom to credit.
Sign transactions from the security of your own machine.
Send partial payments with money amount less than the amount specified on 2 conditions:
Send a direct XRP payment to another account in the XRP Ledger.
Submit a signed transaction blob and wait until it has a final result.
Create a Ticket and use it to send a transaction out of the usual Sequence order.
Look up Offers in the Decentralized Exchange and buy a fungible token by spending XRP.
Convert transactions and other XRPL data from JSON to their canonical binary format for signing or cryptographic verification. (This reference implementation is equivalent to the ones included in most client libraries.)
Create, cash, and cancel Checks for exact or flexible amounts.
Extract paths from RipplePathFind and send a payment using paths.
to assign a key pair to a wallet and make a payment signed using the regular key wallet.
gitを使いxrpl-dev-portalリポジトリをフォークし、自分のデバイスにクローンしましょう
content/_code-samples/
に作成したサンプルコードを追加し、そのコードが何をするのか、そして必要となる事前知識を要約したREADME.md
ファイルがあることを確認してください。
変更内容をコミットし、リモートリポジトリにプッシュします
元のリポジトリにプルリクエストを提出してください。メンテナーがあなたの提出内容をレビューし、必要であれば変更を提案します。コードサンプルが有益であれば、マージされてXRPL.orgに追加されます!