Introducing xrpl.js
xrpl.js version 2.0.0 is a JavaScript and TypeScript library for working with the XRP Ledger. It was formerly called ripple-lib and was announced by RippleX and the XRP Ledger Foundation.
- Published
- 2021
What it does
It serializes, signs and submits transactions, retrieves information from the ledger and offers helpers such as converting between drops and XRP. A drop is the smallest unit of XRP. It works in Node.js and web browsers.
What is new
Version 2.0 adds TypeScript types for all transaction types, a Wallet class for key pairs and a submit that returns the final outcome. It lines up with the JavaScript, Java and Python libraries, and a migration guide is offered for ripple-lib users.
Source: xrpl.org. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made