XRP Ledger news · Upgrades and amendments

Migration Guide: Upgrading to xrpl-py Version 2.0.0

In plain words

In 2023 the XRP Ledger blog published a guide to moving to xrpl-py version 2.0.0, a Python library for the XRP Ledger. The version simplifies sending transactions and reworks the Wallet class, and some existing code needs changes.

Written by zerps in plain words, from the source linked below.
Published
2023
Section
Blog (2023+)

Simpler sending

Sending a transaction used to take three separate functions. A single function, submit_and_wait, now does those steps and replaces send_reliable_submission. Several function names were shortened, and the parameter order is now transaction, client, wallet.

A reworked Wallet

The sequence field was removed from Wallet. You can now create a Wallet from whatever form your keys take, such as secrets, public and private key pairs, entropy or secret numbers. Ed25519 is now the default algorithm because it is faster, and algorithm=secp256k1 still selects the old one.

Other changes

AccountSetFlags was split into two enums, AccountSetAsfFlags and AccountSetFlags. The sign function is now synchronous and works offline. XRP.to_amount() now treats the given amount as XRP and converts it to drops, the smallest unit of XRP.

Source: xrpl.org. Read 6 December 2026.

Zerpedia states what the source says, in plain words, and gives no opinion. 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.