Interface Wallet

All Known Implementing Classes:
ImmutableWallet

@Immutable @Deprecated public interface Wallet
Deprecated.
This class will be removed in a future version. Consider using classes from org.xrpl.xrpl4j.core.wallet instead.
Represents an Account on the XRP Ledger, otherwise known as a Wallet.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Builder immutable wallet .
    Deprecated.
    The XRPL address of this wallet, in the Classic Address form.
    boolean
    Deprecated.
    Whether or not this wallet is on XRPL testnet or mainnet.
    Deprecated.
    This method will be removed in a future version.
    Deprecated.
    The public key of the wallet, encoded in hexadecimal.
    Deprecated.
    The XRPL address of this wallet, in the X-Address form.
  • Method Details

    • builder

      static ImmutableWallet.Builder builder()
      Deprecated.
      Builder immutable wallet . builder.
      Returns:
      the immutable wallet . builder
    • privateKey

      @Deprecated Optional<String> privateKey()
      Deprecated.
      This method will be removed in a future version. Consider storing private keys in an associated instance of TransactionSigner.
      The private key of the wallet, encoded in hexadecimal.
      Returns:
      An optionally present String containing a private key.
    • publicKey

      String publicKey()
      Deprecated.
      The public key of the wallet, encoded in hexadecimal.
      Returns:
      A String containing a public key.
    • classicAddress

      Address classicAddress()
      Deprecated.
      The XRPL address of this wallet, in the Classic Address form.
      Returns:
      The classic Address of this wallet.
    • xAddress

      XAddress xAddress()
      Deprecated.
      The XRPL address of this wallet, in the X-Address form.
      Returns:
      An XAddress containing the X-Address of this wallet.
    • isTest

      boolean isTest()
      Deprecated.
      Whether or not this wallet is on XRPL testnet or mainnet.
      Returns:
      A boolean indicating if this is a testnet or mainnet wallet.