Zerpedia/How-to guides

How-to guides

xrpl.org's step-by-step guides, each summed up in plain words.

All 25 lists

A6

Add Assets to an AMM in JavaScriptThis guide uses a sample web page to deposit assets into an existing automated market maker (AMM) and receive LP tokens in return. It also shows how to vote on the AMM's trading fee, check what your ...Agentic Payments with X402 on the XRP LedgerX402 is an open protocol that lets software pay for a web service as part of an ordinary web request. This guide shows how to accept and make such payments on the XRP Ledger, in XRP or RLUSD, using ...API UsageThis page gathers good habits for using the XRP Ledger API, the interface your application uses to ask servers for data. It points to code samples for querying data, handling large datasets and ...Assign a Regular Key PairThis tutorial shows how to authorize a second key pair, called a regular key pair, to sign future transactions for your account. Unlike the master key pair, which is mathematically linked to the ...Assign an Authorized Minter Using JavaScriptThis tutorial shows how to give another account permission to mint, or create, NFTs for you. It uses a JavaScript sample that runs in your browser. It then shows how the authorized account mints an ...Assign an Authorized Minter Using PythonThis tutorial shows how to give another account permission to mint, or create, NFTs for you, using a Python sample app. It then shows how the authorized account mints an NFT on your behalf and sells ...

B9

Batch Mint NFTs Using JavaScriptThis tutorial shows how to build an app that mints, or creates, many NFTs at one time with JavaScript. It sends one transaction after another in a loop and uses tickets to reserve the transaction ...Batch Mint NFTs Using PythonThis tutorial shows how to build an app that mints, or creates, many NFTs at one time with Python. It sends one transaction after another in a loop and uses tickets to reserve the transaction ...Broker an NFT Sale Using JavaScriptThis tutorial shows how a third account can act as a broker for an NFT sale, using a JavaScript sample in your browser. The broker matches a sell offer with a buy offer and adds an agreed fee. The ...Broker an NFT Sale Using PythonThis tutorial shows how a third account can act as a broker for an NFT sale, using a Python sample app. The broker matches a sell offer with a buy offer and adds an agreed fee. The funds and the ...Build a Browser Wallet in JavaScriptThis tutorial shows how to build a simple wallet for the XRP Ledger that runs in a web browser, written in the JavaScript programming language. The finished app shows your account, follows the ledger ...Build a Credential Issuing Service in JavascriptThis tutorial shows how to build and use a small web service that issues credentials on the XRP Ledger. It is written in JavaScript with the Express framework for Node.js. The service issues a ...Build a Credential Issuing Service in PythonThis tutorial shows how to build and use a small web service that issues credentials on the XRP Ledger. It is written in Python with the Flask framework and the xrpl-py library. The service issues a ...Build a Desktop Wallet in JavaScriptThis tutorial shows how to build a desktop wallet for the XRP Ledger in JavaScript with the Electron Framework. It starts from a tiny Hello World app and adds more features in each step.Build a Desktop Wallet in PythonThis tutorial shows how to build a desktop wallet for the XRP Ledger in the Python programming language. The app shows ledger updates in real time, displays an account with its reserve, and can send ...

C11

Calculate Account ReservesThis tutorial shows how to look up and calculate the reserve of an XRP Ledger account. The reserve is the minimum amount of XRP an account must hold, based on its activity on the ledger.Cancel a CheckThis tutorial shows how to cancel a Check on the XRP Ledger. Canceling removes the Check entry from the ledger without sending money.Cancel an Expired EscrowThis tutorial shows how to cancel an escrow that has passed its expiration time. You can use it to reclaim funds that you escrowed but the recipient never claimed, or to remove an expired escrow that ...Cash a Check for a Flexible AmountThis tutorial shows how to cash a Check for a flexible amount, which means receiving as much as possible. You set a minimum amount to receive, in case the sender does not have enough money to pay the ...Cash a Check for an Exact AmountThis tutorial shows how to cash a Check for an exact amount. As long as the Check is not expired, the specified recipient can cash it for any exact amount up to the amount the Check specifies.Claw Back Confidential BalancesThis tutorial shows how the issuer of a Multi-Purpose Token, or MPT, claws back a holder's confidential balance. A clawback removes the tokens from the holder and takes them out of circulation. A ...Claw Back First-Loss CapitalThis guide shows a token issuer how to claw back tokens from a LoanBroker on the XRP Ledger. The clawback feature lets issuers meet regulatory standards and take funds back even when they were ...Create a LoanThis guide shows how to create a Loan on the XRP Ledger. A loan needs signatures from both the loan broker and the borrower, so the two sign the same LoanSet transaction one after the other.Create a Loan BrokerThis guide shows how to create a LoanBroker on the XRP Ledger using a private vault. A loan broker creates and manages loans. It also manages the first-loss capital for a connected single asset vault.Create a Single Asset VaultThis guide shows how to create a single asset vault on the XRP Ledger. A vault can hold only one type of asset, such as XRP, a trust line token or a Multi-Purpose Token (MPT).Create an Automated Market MakerThis tutorial shows how to create an Automated Market Maker, or AMM, for a pair of assets on the XRP Ledger. An AMM is a pool that lets people swap between two assets, and the people who supply the ...

D4

Delete an AccountThis guide shows how to delete an account from the XRP Ledger. You first check that the account meets the requirements for deletion, then send an AccountDelete transaction, and the account's ...Deposit and Withdraw First-Loss CapitalThis tutorial shows how a loan broker deposits and withdraws first-loss capital for a LoanBroker entry on the XRP Ledger. First-loss capital helps protect the assets of vault depositors, acting as a ...Deposit into a VaultThis guide shows how to deposit assets into a single asset vault. In return you receive shares that represent your proportional ownership of the vault's assets.Disable Master Key PairThis page describes how to disable the master key pair of an account. You do this if the master key pair may have been compromised, or if you want multi-signing to be the only way to send ...

E2

Enable No FreezeThis tutorial shows a token issuer how to turn on the No Freeze setting on the issuing account. The setting permanently limits your own ability to use the token freezing features of the XRP Ledger. ...Enact Global FreezeThis tutorial shows a token issuer how to start and end a Global Freeze. While it is on, users cannot send your tokens to each other or trade them in the decentralized exchange. They can still send ...

F1

Freeze a Trust LineThis tutorial shows how the issuer of a token freezes one trust line. A trust line links the issuer's account with one other account for one currency. Freezes apply only to issued tokens, not XRP.

G9

Get Started Using Go LibraryThis guide walks you through the basics of building an application that connects to the XRP Ledger with xrpl-go, a library written in pure Go. It is meant for beginners and should take no longer than ...Get Started Using HTTP / WebSocket APIsYou can reach the XRP Ledger directly through the APIs of its core server software, xrpld, without a client library. The server offers these APIs over two protocols, JSON-RPC and WebSocket. If you do ...Get Started Using Java LibraryThis guide walks you through the basics of building an application that connects to the XRP Ledger with xrpl4j, a library written in pure Java. It is meant for beginners and should take no longer ...Get Started Using JavaScript LibraryThis guide takes you through the basics of building an application that connects to the XRP Ledger in JavaScript. It uses the xrpl.js client library, and it works in Node.js or in a web browser.Get Started Using PHP LibraryThis tutorial shows beginners how to build a simple application that talks to the XRP Ledger using XRPL_PHP, a library for the PHP programming language. It should take no longer than 30 minutes.Get Started Using Python LibraryThis tutorial shows beginners how to build a simple application that talks to the XRP Ledger using xrpl-py, a library for the Python programming language. It should take no longer than 30 minutes.Get Started Using TypeScript LibraryThis tutorial guides you through building a simple application that talks to the XRP Ledger in TypeScript, using the xrpl.js client library in Node.js or a web browser. The library ships its own type ...Getting Started with Agentic Transactions on the XRP LedgerThis tutorial takes you through a first payment on the XRP Ledger that the AI assistant Claude carries out from plain-language prompts. You install two skills, create and fund a test wallet, and send ...Getting Started with XRPL DEX TradingThis guide takes you through a first trading session on the decentralized exchange (DEX) of the XRP Ledger, driven by plain-language requests to Claude. You read a live order book, place a limit ...

I3

Issue a Fungible TokenThis tutorial shows the technical steps of creating a token on the XRP Ledger. You set up an issuing address, a second address creates a trust line to it, and a payment from the issuer creates the ...Issue a Multi-Purpose Token (MPT)This tutorial shows how to issue a Multi-Purpose Token, or MPT, on the XRP Ledger. Details such as the token's ticker, name or description are stored on the ledger with it. The tutorial then shows ...Issue an MPT for Confidential TransfersThis tutorial shows how to issue a Multi-Purpose Token, or MPT, that supports Confidential Transfers. With that feature, account balances and transfer amounts stay encrypted on the ledger.

L2

Look Up ChecksThis tutorial shows how to look up Checks on the XRP Ledger by their sender or recipient, using JavaScript.Look up EscrowsThis tutorial shows how to look up outstanding escrows in the XRP Ledger by the address of their sender or recipient. It also shows how to tell when an escrow is mature or has expired.

M7

Manage a LoanThis guide shows how a loan broker manages a Loan on the XRP Ledger. Managing a loan includes marking it as impaired when a payment is missed, defaulting it after the grace period expires, and ...Manage a Sponsorship PoolThis guide shows a sponsor how to manage a pre-funded sponsorship pool, a budget for fees and reserves that a sponsee draws on. You create a pool, check what it spends, top it up and delete it to ...Manage CredentialsThis tutorial shows how to manage the full lifecycle of a credential on the XRP Ledger: issuing it to a subject account, accepting it as the subject, and deleting it.Manage Permissioned DomainsThis tutorial shows how to create a permissioned domain on the XRP Ledger, how to change its set of accepted credentials, and how to delete it. A permissioned domain can be used to grant access to ...Mint and Burn NFTs Using JavaScriptThis tutorial shows how to mint new NFTs, list the NFTs an account owns and burn an NFT, using a JavaScript sample in your browser. To mint is to create an NFT. To burn is to destroy it for good.Mint and Burn NFTs Using PythonThis tutorial shows how to mint new NFTs, list the NFTs an account owns and burn an NFT, using a Python sample app. To mint is to create an NFT. To burn is to destroy it for good.Monitor Incoming Payments with WebSocketThis tutorial shows how to watch for payments arriving at an XRP Ledger address, live, over a WebSocket connection. All transactions on the XRP Ledger are public, so anyone can watch any address.

O1

Offline Account Setup TutorialThis tutorial shows how to keep an XRP Ledger account's secret keys on a computer that never touches the internet. You sign transactions there, carry only the signed result to an online computer, and ...

P2

Pay Off a LoanThis tutorial shows how to pay off a Loan on the XRP Ledger and delete it. You calculate the final payment due, which includes the loan balance and any additional fees, pay it, and then remove the ...Public ServersThis page lists public servers you can use to submit transactions or read data from the XRP Ledger if you do not run your own xrpld server.

R2

Remove a Regular Key PairThis tutorial shows how to remove a regular key pair from an account. You can do this if you suspect your regular key pair is compromised.Require Destination TagsThe Require Destination Tag setting makes the XRP Ledger reject any payment to your address that does not carry a destination tag. This guide shows how to turn the setting on for your account.

S17

Send a CheckSending a Check is like writing permission for an intended recipient to pull a payment from you. This tutorial shows how to create a Check entry in the ledger, which the recipient can cash later.Send a Conditional EscrowThis tutorial shows how to send an escrow that can be released when a specific crypto-condition is fulfilled. A crypto-condition is like a random password that unlocks the escrow so it can be sent to ...Send a Multi-Account Batch TransactionThis guide shows how to build a Batch transaction that holds transactions from several accounts. Each of those accounts must sign the Batch, and any account can submit it, even one that takes no part ...Send a Multi-Purpose Token (MPT)This tutorial shows how to send a direct Multi-Purpose Token (MPT) payment on the XRP Ledger. You authorize the receiving account, send the payment and verify that it arrived.Send a Multi-Signed TransactionThis tutorial shows how to send a transaction using multi-signing. A list of signers authorizes the transaction with their signatures, which are combined into one transaction and submitted to the ...Send a Single Account Batch TransactionThis tutorial shows how a single account sends a Batch transaction, which groups several transactions and executes them as one operation. The inner transactions either all succeed together or all ...Send a Timed EscrowThis tutorial shows how to send an escrow whose only condition for release is that a specific time has passed. You can use it to set aside money for yourself or others so that it cannot be used until ...Send a Trust Line TokenThis tutorial shows how to send a trust line token from one holder to another on the XRP Ledger. It also shows how to check first that the receiving account can accept the payment.Send Confidential MPT PaymentsThis tutorial shows how to send a confidential Multi-Purpose Token (MPT) payment, where the amount sent is encrypted instead of being publicly visible. In the example, two confidential payments ...Send Fungible Token EscrowsThis tutorial shows how to create and finish escrows that hold fungible tokens on the XRP Ledger. It covers a conditional escrow of Multi-Purpose Tokens (MPTs) and a timed escrow of trust line tokens.Send XRPThis tutorial explains how to send a direct XRP payment using a client library. It steps through the process on the XRP Ledger Testnet, then compares that with the extra requirements for production.Set Up an IOU-IOU BridgeThis tutorial shows how to set up an IOU-IOU bridge, which lets you move tokens between chains. Its code samples bridge a hypothetical token called TST from Devnet to Sidechain-Devnet.Set Up an XRP-XRP BridgeThis tutorial shows how to set up an XRP-XRP bridge, which lets you move XRP between chains. Its code samples show how a bridge was set up between Devnet and Sidechain-Devnet.Set Up Multi-SigningThis tutorial shows how to set up multi-signing on your XRP Ledger account. Multi-signing lets you authorize transactions using signatures from a combination of keys. The example requires 2 of 3 ...Sponsor a Transaction by Co-SigningThis tutorial shows the co-signed sponsorship flow, where a sponsor approves a single transaction by adding a signature to it. In the example, a sponsor creates an account for a new user who holds no ...Sponsor a Transaction with a Pre-funded PoolThis guide shows the pre-funded sponsorship flow: a sponsor sets XRP aside up front, and a sponsee draws on it for fees and reserves. In the example, a sponsor brings in a new user who holds no XRP, ...Submit Cross-chain TransactionsThis tutorial explains how to create a test account on a locking chain, Devnet, and transfer XRP to an issuing chain, Sidechain-Devnet. Witness servers are already set up to monitor the XRP-XRP ...

T10

Test Pre-Release Transaction TypesThis guide shows developers how to try out transaction types that are still in development on the XRP Ledger. It uses JavaScript with xrpl.js or Python with xrpl-py, on a test network such as Devnet.The XRPL Agent Wallet SkillThe XRPL Agent Wallet skill is a set of rules for an AI agent that signs transactions on the XRP Ledger. It creates and loads the wallet, shows a person what is about to be signed, signs it and ...The XRPL Payments SkillThe XRPL Payments skill is a set of instructions that gives the AI assistant Claude accurate knowledge of payments on the XRP Ledger. It builds the right transaction for a payment task and hands it ...The XRPL Trading SkillThe XRPL Trading skill is a set of instructions that gives the AI assistant Claude accurate knowledge of trading on the XRP Ledger's built-in exchange, the DEX. It builds the right transaction for a ...Track and Measure Agent Behavior on the XRP LedgerThis page shows how to label and follow the transactions that an automated agent sends on the XRP Ledger. It uses two transaction fields, SourceTag and Memos, plus live notifications over the ...Trade in the Decentralized ExchangeThis guide shows how to buy and sell tokens in the decentralized exchange (DEX) of the XRP Ledger. Its example buys a token by selling XRP on a test network.Transfer a Reserve SponsorshipThis guide shows how to use the SponsorshipTransfer transaction to create, reassign or end a reserve sponsorship on a ledger entry that already exists. With a reserve sponsorship, a sponsor carries ...Transfer NFTs Using JavaScriptThis tutorial shows how to move an NFT from one account to another with buy and sell offers, using a JavaScript sample in your browser. You create offers, accept them, list the offers for an NFT and ...Transfer NFTs Using PythonThis tutorial shows how to move an NFT from one account to another with buy and sell offers, using a Python sample app. You create offers, accept them, list the offers for an NFT and cancel an offer.TutorialsThis is the index of developer tutorials for the XRP Ledger. It lists 83 tutorials across 9 topics, and each entry says which programming languages it has code for.

U3

Use Payment ChannelsPayment channels are an advanced feature for sending XRP payments that can be divided into very small increments and settled later. This tutorial walks through the entire process of using a payment ...Use the AMM Auction Slot for Lower FeesThis tutorial shows how to use the auction slot of an Automated Market Maker, or AMM, to pay lower fees when you trade against it. An AMM is a pool that swaps two assets, and whoever wins its auction ...Use TicketsTickets let you reserve Sequence numbers in advance, so you can send transactions out of order. This guide creates a batch of Tickets, uses one in a transaction and applies the same pattern to ...

V1

Verify CredentialsThis guide shows how to check that an account holds a valid credential on the XRP Ledger. A credential is valid when it exists in the ledger, the subject has accepted it and it has not expired.

W1

Withdraw from a VaultThis tutorial shows how to withdraw assets from a single asset vault on the XRP Ledger. You state either how many assets you want to receive or how many shares you want to redeem. The vault burns the ...

91 records, read 6 December 2026. Each one states what its source says and links to it. How Zerpedia is made

zerps Trading tokens on the XRP Ledger carries risk, including total loss. zerps is a self-custodial interface; it does not hold funds, give advice, or execute trades on your behalf.