{"repo":"XRPLF/xrpl.js","free":true,"listed":false,"github":"https://github.com/XRPLF/xrpl.js","clone":"git clone https://github.com/XRPLF/xrpl.js.git","description":"A JavaScript/TypeScript API for interacting with the XRP Ledger in Node.js and the browser","language":"TypeScript","stars":1325,"topics":["ripple","xrp-ledger","javascript","api","xrp","blockchain","typescript","rippleapi","xrpl","nodejs"],"license":null,"category":"blockchain-web3","readme_excerpt":"xrpl.js A JavaScript/TypeScript library for interacting with the XRP Ledger This is the recommended library for integrating a JavaScript/TypeScript app with the XRP Ledger, especially if you intend to use advanced functionality such as IOUs, payment paths, the decentralized exchange, account settings, payment channels, escrows, multi-signing, and more. ➡️ Reference Documentation See the full reference documentation for all classes, methods, and utilities. Features 1. Managing keys & creating test credentials ( Wallet && Client.fundWallet() ) 2. Submitting transactions to the XRP Ledger ( Client.submit(...) & transaction types) 3. Sending requests to observe the ledger ( Client.request(...) using public API methods) 4. Subscribing to changes in the ledger (Ex. ledger, transactions, & more...) 5. Parsing ledger data into more convenient formats ( xrpToDrops and rippleTimeToISOTime ) All of which works in Node.js (tested for v20+) & web browsers (tested for Chrome). Quickstart Requirements + Node.js v22 is recommended. We also support v20. Other versions may work but are not frequently tested. Installing xrpl.js In an existing project (with package.json), install xrpl.js with: Or with yarn : Example usage: For a more in-depth example, you can copy/forking this Code Sandbox template! https://codesandbox.io/s/xrpl-intro-pxgdjr?file=/src/App.js It goes through: 1. Creating a new test account 2. Sending a payment transaction 3. And sending requests to see your account balance! Case ","default_branch":null,"files":null,"tree":[],"storefront":"/r/XRPLF","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/XRPLF/xrpl.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}