Install & Compatibility
Where this runs
tested against v5.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 1.742s · 35.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.7s · import 1.588s · 37MB
35MB installed
● package 35MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Wallet
✓ from xrpl.wallet import Wallet
✗ from xrpl import Wallet (causes AttributeError)
Wallet is in the wallet subpackage
XRPClient
✓ from xrpl.clients import XRPClient
✗ from xrpl import XRPClient (causes AttributeError)
Create a testnet client and a new wallet.
import xrpl
from xrpl.clients import XRPClient
from xrpl.wallet import Wallet
client = XRPClient(json_rpc_url='https://s.altnet.rippletest.net:51234')
wallet = Wallet.create()
print(f'Classic address: {wallet.classic_address}')
print(f'Seed: {wallet.seed}')
Errors
Common errors & fixes
AttributeError: module 'xrpl' has no attribute 'Wallet'
Importing Wallet directly from the top-level xrpl package.
fixUse from xrpl.wallet import Wallet
ModuleNotFoundError: No module named 'xrpl'
Library not installed or not activated in current virtual environment.
ValueError: The secret is invalid.
Using an incorrect seed format or trying to recover a wallet from an invalid family seed.
fixEnsure the seed is a valid XRPL family seed (starts with 's') and use Wallet.from_seed(seed)
Upgrade
Version history
5.0.0latest on PyPI · released Jun 3, 2026
Audit
Dependencies
No dependency data recorded yet.