Interface Wallet

  • All Known Implementing Classes:
    KeyWallet

    public interface Wallet
    Wallet class signs the message(a transaction message to send) using own key-pair
    • Method Detail

      • getAddress

        Address getAddress()
        Gets the address corresponding the key of the wallet
        Returns:
        address
      • sign

        byte[] sign​(byte[] data)
        Signs the data to generate a signature
        Parameters:
        data - to sign
        Returns:
        signature