Wallet Methods

Async methods for working with XRPL wallets.

exception xrpl.asyncio.wallet.XRPLFaucetException

Bases: XRPLException

Faucet generation exception.

async xrpl.asyncio.wallet.generate_faucet_wallet(client: Client, wallet: Optional[Wallet] = None, debug: bool = False, faucet_host: Optional[str] = None) Wallet

Generates a random wallet and funds it using the XRPL Testnet Faucet.

  • client – the network client used to make network calls.

  • wallet – the wallet to fund. If omitted or None, a new wallet is created.

  • debug – Whether to print debug information as it creates the wallet.

  • faucet_host – A custom host to use for funding a wallet. In environments other than devnet and testnet, this parameter is required.


A Wallet on the testnet that contains some amount of XRP.